Search found 53 matches

by sumeet
Thu Nov 02, 2006 5:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine compile error
Replies: 5
Views: 1501

Ray, I went through the forum this ..solution posted by Kenneth. I tried out that. But Cmd = "cat /clocal/ivp/dvlp/tmp/Param.txt":"|cut -c2-5" Call DSExecute("UNIX", Cmd, Output, SystemReturnCode) Ans = Output * Setup Test7Job, run it, wait for it to finish, and test fo...
by sumeet
Thu Nov 02, 2006 3:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine compile error
Replies: 5
Views: 1501

Ray,

Then how do I accomplish this :

I have a sequencer. It loads a Seq file. I use the data in the file as Parameter in next Job in sequencer.

I thought before Job Sub routine should be good :( .

Thanks
Sumeet
by sumeet
Thu Nov 02, 2006 3:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: routine compile error
Replies: 5
Views: 1501

routine compile error

Hi, I have routine where I open a seq file..read the content and pass it as a parameter to the job. So basically this is the Before Job Sub Routine. I have couple of questions : 1> it gives an error during compilation-- 0046 ^ End of File unexpected, Was expecting: Array Name, Variable name, New var...
by sumeet
Thu Nov 02, 2006 2:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trying to Pass parameter through job control
Replies: 5
Views: 1187

Thanks Ray for letting me know.

I had the same idea but the manual misguided me a bit.

Code: Select all

JobHandle is the handle for the job as derived from DSAttachJob, or it
may be DSJ.ME to refer to the current job.
So I am going for Before Job Subroutine.

Thanks
Sumeet
by sumeet
Thu Nov 02, 2006 1:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trying to Pass parameter through job control
Replies: 5
Views: 1187

Ray,

I thought so but , still its not picking the param, even when I remove the space.

SHould I try doing it from a Before sub routine.

Thanks
Sumeet
by sumeet
Thu Nov 02, 2006 1:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trying to Pass parameter through job control
Replies: 5
Views: 1187

Trying to Pass parameter through job control

Hi, I am trying to pass a parameter to the job through Job control. But its not taking the parameter. ErrorCode = 0 ParamName = 'PHID' * ParamValue = PH02 JobHandle = DSJ.ME JobName = DSGetJobInfo(JobHandle,DSJ.JOBNAME) ErrCode = DSSetParam (JobHandle,ParamName, PH02) Call DSLogInfo('SetParam ErrCod...
by sumeet
Mon Oct 30, 2006 2:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Range look up with UV stage
Replies: 7
Views: 2421

hi gateleys , There is a problem with this design. I had done the same thing but if we dont make date1, date2 as keys then the hash file will give out just one record. Infact when we are populating the hash file , only one record gets populated with just the DUMMY field as key. This is a common thin...
by sumeet
Mon Oct 30, 2006 12:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Range look up with UV stage
Replies: 7
Views: 2421

Hi , I went ahead with mentioned in previous post. I tried both the ways ..with UV stage and with regular hash file. But the YR_MONTH which I am getting is same for all the records. I know why this is happening. I have created a dummy key in hash file using @outrownum/KeyMgtGetNextValue(). But I am ...
by sumeet
Fri Oct 27, 2006 2:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Range look up with UV stage
Replies: 7
Views: 2421

Range look up with UV stage

Hi , I had to do a range lookup ,so I followed what has been mentioned in other posts i.e. use UV stage and I ran into the following problem. Source has column : Src_Date Hash File--> UV stage has : date1 , date2, Yr_Month My objective is: if Src_date is between date1 and date2 pull the Yr_month . N...
by sumeet
Fri Oct 27, 2006 1:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Metadata Mismatch-Hash File when Opened in UV stage
Replies: 5
Views: 1096

gateleys , I tried it just now, and it worked . What I did was I made col1,col2,col3,col4 as key in the Hash file, where its getting populated. then when I viewed the data in UV stage with none of the col marked key , the data seemed to be perfect. I tried with keys in UV stage and they worked fine ...
by sumeet
Fri Oct 27, 2006 11:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Metadata Mismatch-Hash File when Opened in UV stage
Replies: 5
Views: 1096

Hi gateleys, I load the hash File from Seq File. And that is what I did..I saved the metadata in Hash file and loaded it in UV stage. Still it was giving the metadata mismatch. ANd that is where the problem comes the positions of columns ,when vied from UV stage, seems to have changed. Thanks Sumeet
by sumeet
Fri Oct 27, 2006 11:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Metadata Mismatch-Hash File when Opened in UV stage
Replies: 5
Views: 1096

Metadata Mismatch-Hash File when Opened in UV stage

HI , I populated a hash file in job1. I tried to open that hash file through UV stage but when I try to view the data it gives MetaData mismatch. And some columns are missing and some columns have shifted. Data veiwed from Hash File col1 col2 col3 col4 col5 M 198905 1989-05-01 1985-05-31 26 M 198910...
by sumeet
Fri Oct 27, 2006 11:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Metadata Mismatch-Hash File when Opened in UV stage
Replies: 1
Views: 695

Metadata Mismatch-Hash File when Opened in UV stage

HI , I populated a hash file in job1. I tried to open that hash file through UV stage but when I try to view the data it gives MetaData mismatch. And some columns are missing and some columns have shifted. Data veiwed from Hash File col1 col2 col3 col4 col5 M 198905 1989-05-01 1985-05-31 26 M 198910...
by sumeet
Mon Oct 09, 2006 10:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pick the environment variable file dynamically
Replies: 2
Views: 1288

Pick the environment variable file dynamically

Hi, We have jobs which has environment variable file -- "dsenv". Now we want to run the same set of jobs with different environment variable file -- "dsenv1". The jobs are called from parent sequencers which are in turn kicked off by a shell script(command line). Is there any way...
by sumeet
Fri Sep 08, 2006 12:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Clear hash Option
Replies: 4
Views: 1052

Hash File Clear hash Option

Hi ,

In Server Jobs if we dont clear Hash file. what happens to it during the next run to the file.

Is the Data in Hash file from previous run purged or it keeps on appending the data to previous file.

Thanks
Sumeet