Search found 67 matches

by martin
Mon Mar 20, 2006 8:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduling
Replies: 7
Views: 3467

Hi Ray,

My userid is configured for cron.allow. I would really appreciate if can help me.

Thakns
Martin
by martin
Mon Mar 20, 2006 4:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to deal with multiple header in a same file
Replies: 6
Views: 3605

Hi,

Read data as single column
Write to 2 output links
Output link1 on constraint do substring Col[1,5] = '06TGT'
Output link2 on constraint do substring Col[1,7] = '0625TGT'
with this you can create 2 seperate files.

Goodluck
Martin
by martin
Mon Mar 20, 2006 4:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduling
Replies: 7
Views: 3467

Scheduling

Hi,

Would some one help me with script to schedule single DataStage job on UNIX box to run evry day at 6pm.

Thanks
Martin
by martin
Sun Feb 26, 2006 8:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: joining different sources in server jobs
Replies: 2
Views: 1991

Hi scorpion, If you want to join 2 or more source file to one file, You need make sure Metadata is common or You need to map source file columns to common Metadata and link to Link Collector. 1). Make sure 2 source file / Database Table have common Metadata. Or 2). Use Transform Stage to Map to Comm...
by martin
Wed Dec 21, 2005 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Change Hashfile name
Replies: 13
Views: 5479

Thanks......Kim Its working :)
by martin
Tue Dec 20, 2005 10:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Change Hashfile name
Replies: 13
Views: 5479

At OS level I used mv <old hashfile name> <new hashfile name>
then i set Q pointer to external directory in DS Admin and ran query but it returnded error

Code: Select all

unable to open "/ascential/datastage/DEV/Test" file
Any Idea where i went worng.

Martin
by martin
Tue Dec 20, 2005 9:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Change Hashfile name
Replies: 13
Views: 5479

Chulett / ArndW

Hashfile we have created are not upto standard naming conventions, and we want replace old names with new meaningful names, Instead of runing DSjobs and creating new hashfile.
All our hashfile are created outside project area into external directory.

Thanks
Martin
by martin
Tue Dec 20, 2005 8:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Change Hashfile name
Replies: 13
Views: 5479

Change Hashfile name

Hi Guys,

Can i change Hashfile name instead of deleting old and creating with new name, the way we can do in database sql.

Thanks
Martin
by martin
Sat Dec 17, 2005 9:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get Max Key From Hashfile
Replies: 7
Views: 3915

As per Kcbalnd I am writing to Seq File and capturing Max Key value using Transformation Routine......Its working the way it has to work. I also tried Ray method and bit confused using . TRANS ( [DICT] filename, record.ID, field#, control.code) 1. I defined SETFILE <Full Path> in before-Job Subrouti...
by martin
Wed Dec 14, 2005 8:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get Max Key From Hashfile
Replies: 7
Views: 3915

Hi Ray, I tried your code TRANS("/Ascential/Datastage/DEV/Ha_RequestDim', "REQ_ID", 1, "X") I got error DataStage Job 85 Phantom 31381 Program "JOB.1638071665.DT.1386332505.TRANS1": Line 51, Unable to open "/Ascential/Datastage/DEV/Ha_RequestDim" file. Da...
by martin
Wed Dec 14, 2005 6:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get Max Key From Hashfile
Replies: 7
Views: 3915

Hi Ray,

Thanks for the reply,I will try and let you know.

Rg
Martin
by martin
Tue Dec 13, 2005 9:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Get Max Key From Hashfile
Replies: 7
Views: 3915

Get Max Key From Hashfile

Hi Guys, I have a design, which pulls Max SUK from Hashfile, and passes to Transformation stage to generate Next Key. Now I want to get rid of these extra stages and processing time, and replace with ROUTINE which can read Max SUK from Hashfile created out Project Area. If any can help me with Routi...
by martin
Tue Nov 15, 2005 2:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashfile Error
Replies: 2
Views: 2215

Thanks........Chulett, you are correct, I was under ipmression we dont have NULL values.

Now its fine with Not(IsNull(lkSmpDescs.smpid))

Martin
by martin
Tue Nov 15, 2005 2:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashfile Error
Replies: 2
Views: 2215

Hashfile Error

Hi,

I have a simple job creating Lookup file. I was able to create and run sucessfully but for some reason its giving error

LdSampleDimPTLnPML..Ha_SampleDim.lk_SampleDim: ds_uvput() - Write failed for record id '<Missing or NULL>'

Any Clue what does this means.

Thanks
Martin
by martin
Thu Nov 10, 2005 7:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to pass job parameters from a file
Replies: 5
Views: 2758

Hi Mahi, 1. Open New Job > Save > Job Properties > Parameters > Define Parameter for Parameter file name and Location > goto Job Control 2. Define DefFun as first line DefFun GetParm(arg1, arg2) calling "DSU.GetParm" 3. AddJob into job control 4.Define Parameter parmParameter = GetParm(par...