Search found 154 matches

by DS_MJ
Wed Jul 12, 2006 2:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Filter Stage Query
Replies: 7
Views: 9750

Filter Stage Query

Hello: Am trying to get the following query in the filter stage. (COL_NAME <> 'J' AND COL_NAME <> 'E') AND ( (COL_NAME IN ('Y', 'BRZ', 'KC', 'T', 'TK')) AND (SUBSTRING(ID,1,1) BETWEEN '0' AND '9') AND (SUBSTRING(ID,2,1) BETWEEN 'A' AND 'Z') AND (SUBSTRING(ID,12,6) NOT IN ('ZZZZZ', 'WWWWW', 'YYYYY'))...
by DS_MJ
Mon May 15, 2006 1:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output values of one job used as Parameter values in another
Replies: 20
Views: 7118

Job5 is not able to pickup the parameters because it is not in the format that it requires. It should be pipe delimited. Gateleys provided you with the correct format. Notice that you must create and string to define all your parameter as : " Paremeter = value | parameter2 = value | paramenter...
by DS_MJ
Mon May 15, 2006 10:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output values of one job used as Parameter values in another
Replies: 20
Views: 7118

Hello chulett Seems to be more about the fact that the 'parameter value pairs' must be pipe delimited as gateleys showed in his post... and DS_MJ is not doing that. ... The params UtilityRunJob ('JOB_5', "Par_1=" : COL_A : "Par_2=" : COL_B, 0,0) is working fine without the "...
by DS_MJ
Fri May 12, 2006 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output values of one job used as Parameter values in another
Replies: 20
Views: 7118

Notice that you must create and string to define all your parameter as : " Paremeter = value | parameter2 = value | paramenter3 = value | ...| ParamenterN = ValueN" My job is failing because I am not doing the above correctly....!!! :( This is what I have done. Job 1 (Runs Fine) Db2 Table...
by DS_MJ
Fri May 12, 2006 1:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output values of one job used as Parameter values in another
Replies: 20
Views: 7118

gateleys wrote:
DS_MJ wrote: How do I set the parameters par1 and par2...?
With your values of Col_A and Col_B. Aren't they supposed to be the param values? :idea:

gateleys
yes values of Col_A and Col_B in Job 1 are suppose to be the param values for Job5 parameters. Let me check my job ......!!!
by DS_MJ
Fri May 12, 2006 12:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output values of one job used as Parameter values in another
Replies: 20
Views: 7118

Thanks gateleys and DSguru2B really appreciate your prompt replies. Sorry Gateleys I thought I should try it first and then reply back. But maybe I should have responded earlier .... :? I did what you said. 1. Develop a job - Job1- that read the SQL Server table and create a sequential file with two...
by DS_MJ
Fri May 12, 2006 8:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output values of one job used as Parameter values in another
Replies: 20
Views: 7118

Output values of one job used as Parameter values in another

Hello: Would like to use the output values of one job as my parameters input values in the second job. Systems environment Ascential Datastage(7.5.1A) running on Linux R/3 PACK (5.2 unicode) running on Linux SAP R/3 4.7 unicode running on AIX (64bit) Squadron server DB2 IW running on either AIX or M...
by DS_MJ
Thu Mar 30, 2006 1:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Output file having complex flat structure
Replies: 3
Views: 938

Hi Roy:

CFF stage is used as a source stage. I want to output this to a file. CFF has no input.
by DS_MJ
Wed Mar 29, 2006 11:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Output file having complex flat structure
Replies: 3
Views: 938

Output file having complex flat structure

Hello: Our requirement is to extract the data from SAP R/3 and create an output file having complex flat structure with Header and detial records. Would like to know what file accepts as input complex flat structure with Header and detail records? Header Record Format Description | Format| Size | Fi...
by DS_MJ
Fri Feb 17, 2006 11:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write a constraint to Load rows based on last row #
Replies: 13
Views: 4884

Hello:

I am glad to say that my job is working. :)

Thanks to all.
by DS_MJ
Thu Feb 09, 2006 10:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write a constraint to Load rows based on last row #
Replies: 13
Views: 4884

Yes, but did you fix your problem? Hi chulett: I apologize for replying so late.....but u must have figured out that I am facing some challanges yet. :( Plus had to finish other stuff first which I am happy to say was not a problem. My target is DB2 8.1 DataStage : 7.5.2A DS Server on : Linux I wor...
by DS_MJ
Thu Jan 19, 2006 2:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write a constraint to Load rows based on last row #
Replies: 13
Views: 4884

"By the way, it's hashed file, not hash file.
A hash file is a tool for reducing the size of a block of hash." - Ray Wurlod
I stand corrected, its 'Hashed file'. :oops:
by DS_MJ
Thu Jan 19, 2006 1:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write a constraint to Load rows based on last row #
Replies: 13
Views: 4884

Hello: I have been able to break the job into 2 jobs. in the first job i do the aggregating of the Col_X then save the max into a hash file. In the second job I lookup the hash file for the last max value. In the constraint have put if source column is > then the hash file column then go ahead and i...
by DS_MJ
Sun Jan 08, 2006 8:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write a constraint to Load rows based on last row #
Replies: 13
Views: 4884

Hi jzparad: Well what u say is also one of the things that I am trying out. But as kcbland pointed out (which also is one of my concerns) by doing a select max prior to running the job, as that will reliable work and one does't have to worry of synchronizing the stored max with the actual in case of...
by DS_MJ
Fri Jan 06, 2006 11:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write a constraint to Load rows based on last row #
Replies: 13
Views: 4884

Thank you kcbland and ray.wurlod for the suggestions.

I am still trying out your suggestions and if need further guidance will definitely touch base.

Once again thank you.

MJ