Search found 981 matches

by gateleys
Thu Mar 09, 2006 10:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mass parameterization via XML export
Replies: 16
Views: 9789

Hi Arnd, I exported as .dsx a simple job and looked at the underlying code. Now, if I were to parameterized just the database, user and password, I would be looking at the following section of the code- BEGIN DSRECORD Identifier "V0S42" OLEType "CCustomStage" Readonly "0&quo...
by gateleys
Thu Mar 09, 2006 10:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mass parameterization via XML export
Replies: 16
Views: 9789

Mass parameterization via XML export

We have tons of old jobs where variables such as database, user, password, etc were hard-coded. We now need a mechanism to automate the process of parameterizing each of these jobs. One of the ways would be export all these jobs as XML and parse the files for the variable and replace them with the d...
by gateleys
Thu Mar 09, 2006 7:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing parameters to Hashed file
Replies: 12
Views: 3132

Re: Writing parameters to Hashed file

Anyone!! to help me with the above error??
by gateleys
Wed Mar 08, 2006 11:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing parameters to Hashed file
Replies: 12
Views: 3132

you should use "DSJ.PARAMLIST", as the documentation specifies. Hi Arnd, I did just that and I could test the function successfully. However, when I use the routine as RoutineActivity stage in a job sequence, and specify a jobname as one of the argument to the function, then it aborts wit...
by gateleys
Wed Mar 08, 2006 8:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing parameters to Hashed file
Replies: 12
Views: 3132

Ray, I have supplied both the arguments to the DSGetJobInfo function- ParamNameList = DSGetJobInfo(JobHandle, DSJ.ParamNameList) and also- JobStatus = DSGetJobInfo(JobHandle, DSJ.JOBSTATUS) Is there a problem in DSJ.ParamNameList? Further, if you have a look at my code, it only has about 50 lines, s...
by gateleys
Wed Mar 08, 2006 8:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing parameters to Hashed file
Replies: 12
Views: 3132

I think you need to add DSPrepareJob. Regarding including DSPrepareJob, it is part of the code you supplied. If you look at the code above, there is a line included- DsErrCode = DSPrepareJob(JobHandle) Now, when I test the this function, I get the following message: Program "DSGetJobInfo"...
by gateleys
Tue Mar 07, 2006 7:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing parameters to Hashed file
Replies: 12
Views: 3132

You could replace every job activity with this as a routine activity. Hi Kim, I will try that. I dont have access to DS right now. While we are at this, I want to put another question across. Like I mentioned above, that the parameters in the sequential file were of the format- paramName=paramValue...
by gateleys
Tue Mar 07, 2006 5:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing parameters to Hashed file
Replies: 12
Views: 3132

Writing parameters to Hashed file

I have my parameters in a hashed file. The key is the paramName. In plaintext, it was in the format below- paramName1=paramValue1 paramName2=paramValue2 and so on.... I have tried to use Kim's routine to assign parameters to my job. Following is the code: * ------------------------------------------...
by gateleys
Tue Mar 07, 2006 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CRC32 function
Replies: 3
Views: 1722

Thanks Chulett.
For some strange reason, it was not there in my client. However, I looked it up in another client and it was available. Will use that, else may have to reinstall my client.

gateleys
by gateleys
Tue Mar 07, 2006 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CRC32 function
Replies: 3
Views: 1722

CRC32 function

Can anyone provide me the UV code for the CRC32 function? We have DS7.0, and it doesn't seem to have the function. I would appreciate the help.
Thanks.
gateleys
by gateleys
Wed Mar 01, 2006 4:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Select First Record only
Replies: 12
Views: 5332

Hi ! I think my example has misled you a little. I want to be able to select the First Rows only for a given Site.. Irrespective of the Date. ie., If the file is Site Date Qty ------------------------------------ A 2006-02-17 1300 A 2006-02-16 1500 A 2006-02-18 1200 Then the output should be Site D...
by gateleys
Wed Mar 01, 2006 4:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cleanse/Confirm Question ?
Replies: 25
Views: 8076

Naveen- Here you go... Source Record (File) -------------------- Source ID Gender State Cntry_Code ----------------------------------------------------------- SRC1 Male Nebraska United States RuleTable(DataBase) -------------------- Source ID Source Value Cleansed Value ----------------------------...
by gateleys
Wed Mar 01, 2006 4:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subsequence Failure propagation
Replies: 2
Views: 857

Subsequence Failure propagation

I have designed my job sequences as suggested 'somewhere' in this forum. In short, the failure of any job is handled by 'Otherwise' links to a Sequencer stage (set to ANY). Further, the failure is notified, and the RoutineActivity is called to force fail the sequence, with the name of the sequence p...
by gateleys
Tue Feb 28, 2006 4:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Constraint as a Stage Variable
Replies: 2
Views: 701

Thanks Arnd.
by gateleys
Tue Feb 28, 2006 4:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Constraint as a Stage Variable
Replies: 2
Views: 701

Constraint as a Stage Variable

I have the same constraint for outlink1 and outlink2. Now, I have 2 simple ways of enforcing the constraint- 1. Specify the same in the constraint field of outlink1 and also in outlink2. 2. Or, I could declare a stage variable, svMyConstraint, whose derivation field contains the constraint. And, the...