Search found 172 matches

by mdbatra
Sat Dec 13, 2008 11:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Control Error
Replies: 11
Views: 3341

Just as an aside, don't use the ABORT statement in job control. Use: Call DSLogFatal("Some meaningful reason for stopping", "Some context") instead. That way the controlling job will stop gracefully, and log a message saying why it stopped. A Call to DSLogFatal never returns. So...
by mdbatra
Thu Dec 11, 2008 11:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Control Error
Replies: 11
Views: 3341

I have names of all the jobs in a file. In a job control, i need to read the name of the job from file, evaluate some information using DS functions & pass them to the parameters defined for the 'Controlled Job' .
& this needs to be repeated for all the jobs.
by mdbatra
Thu Dec 11, 2008 10:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Control Error
Replies: 11
Views: 3341

Try detaching hJob1 when you're done with that job, so that you don't get a job locked situation. Why are you executing the same job 18 times? ... The file i am reading has 18 enteries. While initially learning for reading a file sequentially, i saw that i need to loop it for the number of enteries...
by mdbatra
Thu Dec 11, 2008 7:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Control Error
Replies: 11
Views: 3341

i have searched the forum for ReadSeq & tried umptine times but still problem persists. May i know the syntax for simply reading a single column of a file & file which has just 1 column , sequetially & then passing the column name to the variables. Just want to cross-check what i have gi...
by mdbatra
Thu Dec 11, 2008 6:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Control Error
Replies: 11
Views: 3341

Job Control Error

Hi , I am running a job control as follows(for reading job names from a file & get the corresponding information in variables) OPENSEQ 'C:\Project_Files\JobName.txt' TO OUTPUT ELSE ABORT for i=1 to 18 READSEQ A FROM OUTPUT ELSE ABORT inivar=DSAttachJob(A,DSJ.ERRWARN) midvar=DSGetJobInfo(inivar,D...
by mdbatra
Sat Dec 06, 2008 5:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stage Variable Declare
Replies: 6
Views: 1669

Infact, not just the input ,any column on which you are operating.
by mdbatra
Sat Dec 06, 2008 5:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stage Variable Declare
Replies: 6
Views: 1669

It is obtain a substring of the input column.
Further,the expression you are calculating can be given as a constraint,Stage variable's derivation or an output column derivation.
by mdbatra
Sat Dec 06, 2008 4:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stage Variable Declare
Replies: 6
Views: 1669

U can get to know the functionality if you carefully observe the output of your job by changing the arguments([1,2], [1,4] ...)
by mdbatra
Sat Dec 06, 2008 4:32 am
Forum: General
Topic: Renaming a job in dsx file
Replies: 2
Views: 1683

Yes, it surely does!
by mdbatra
Fri Dec 05, 2008 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CSV column to different columns
Replies: 14
Views: 4489

Thanks Craig, for your valuable assitance!
by mdbatra
Fri Dec 05, 2008 10:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CSV column to different columns
Replies: 14
Views: 4489

I am a bit late in reading your post, Craig :D I just finished up with doing same , then thought of checking for a reply here. Infact, your post reinforced that i did it correctly. Thanks! Now,i am done with getting the Job_Name Job_NO Stage_Name , for a particular Job(hardcoded the job name in Job ...
by mdbatra
Fri Dec 05, 2008 4:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CSV column to different columns
Replies: 14
Views: 4489

Hi Craig, I browsed the forum as guided by you but didnt have the luck. From the link that you sent in your last post, i saw that somebody tried with: Convert(";", @VM, FIELD2) In a transformer and load it into a hash file as a non key column. Can you please explain the @VM functionality, ...
by mdbatra
Thu Dec 04, 2008 3:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CSV column to different columns
Replies: 14
Views: 4489

I did a search for the same(Reading Normalized) but didnt get the desirable.
Can you please tell how to read in a Normalized manner!
by mdbatra
Thu Dec 04, 2008 1:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CSV column to different columns
Replies: 14
Views: 4489

I am able to do it using Field functions but for that i should know before hand that how many stages i have in job.
How i am supposed to leave it for datastage to get the number of stages & then do the same for all stages in a job & further for all the jobs.
by mdbatra
Thu Dec 04, 2008 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: CSV column to different columns
Replies: 14
Views: 4489

Those comma delimited fields are basically the stage names of all the stages in a particular job. So, maximum number is also not fixed..! To be more precise, from DSGetJobInfo(variable,DSJ.STAGELIST) , i get a comma delimited column containing all stage name of a job. But, requirment is to have them...