Search found 42189 matches

by chulett
Sun Feb 14, 2010 8:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to pick all files from DS load directory to job .
Replies: 5
Views: 1419

Normal answer would be the Folder stage, but first tell us how you propose to process multiple files with different metadata in a single job. That answer will help drive the proper solution.
by chulett
Sun Feb 14, 2010 8:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel execution of same Unix script with diff params.
Replies: 4
Views: 2080

What part didn't work wasn't clear, hence the replies. Use a loop with your background execution:

Code: Select all

num=0
while [ $num -lt 3 ]
do
  num=$(( $num + 1 ))
  Script.sh Parm${num} &
done
Might need to be tweaked slightly depending on your shell of choice.
by chulett
Sat Feb 13, 2010 11:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieve dynamic parameter values of a job
Replies: 8
Views: 2953

OK, then it looks like you'll need to read the logs for that. How long did you wait before you decided it was 'hanging'? Why not use the -type STARTED option rather grepping through everything for them?
by chulett
Sat Feb 13, 2010 3:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieve dynamic parameter values of a job
Replies: 8
Views: 2953

You can get this information using the DSGetParamInfo() function, are you sure you need to do this from a script rather than from job control?
by chulett
Sat Feb 13, 2010 3:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ds Export
Replies: 5
Views: 1649

When you get to 8.1.1 or later, you will be able to use istool (Information Server Manager) for this functionality. It is available server and client side.... :wink:
by chulett
Sat Feb 13, 2010 2:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retrieve dynamic parameter values of a job
Replies: 8
Views: 2953

Have you looked into "dsjob -jobinfo"? I think it will have that for the most recent job run, if that's what you are after. Or perhaps "-lparams" or a variant thereof.
by chulett
Sat Feb 13, 2010 2:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: running shell script from after job subroutine
Replies: 10
Views: 3745

You should create a job to load your 'job statistics', much easier to do and maintain. You'd have to let us know what 'not getting executed' means - log the Output as well as the ReturnCode to help see what's going on.
by chulett
Sat Feb 13, 2010 2:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parallel execution of same Unix script with diff params.
Replies: 4
Views: 2080

You'll probably need to fully path the script, that or 'cd' to where it lives first.
by chulett
Sat Feb 13, 2010 8:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: : dsjob command issue
Replies: 5
Views: 2884

Please make sure you understand why it is working, it will stand you in good stead for the future. And please mark your post as Resolved using the button at the top of the page.
by chulett
Sat Feb 13, 2010 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: running shell script from after job subroutine
Replies: 10
Views: 3745

It's a good practice to use full pathnames, your first suggestion won't actually change the issue and is functionally equivalent to what they are already doing. :wink: I too would assume their 'trigger' files should be someplace specific and I doubt that $DSHOME would (or should) ever be that place....
by chulett
Sat Feb 13, 2010 8:35 am
Forum: General
Topic: XML Related Error
Replies: 3
Views: 1550

Hmmm... will probably need Ernie to step in on this one. The 6.x release is (I assume) the first XML (PACK 1) release and was deprecated in subsequent releases of the product. There is no 'XMLFolder' stage now and I'm not sure there every was, are you sure you didn't mean a normal Folder stage? It w...
by chulett
Sat Feb 13, 2010 8:30 am
Forum: General
Topic: Run another job before finishing the AfterJobSubroutine proc
Replies: 9
Views: 2507

So... help us out here. Where are you with this? Do you still need help or have questions? If you do, please clarify your 'batch job' comment - is this the old 'pre-Sequence' Batch:: job or some other form of hand-coded job control that you have running your jobs? Not sure it really matters here but...
by chulett
Sat Feb 13, 2010 12:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: running shell script from after job subroutine
Replies: 10
Views: 3745

In the job's project directory. As noted. Typically:

Code: Select all

cd $DSEngine/../Projects/<project name>
by chulett
Fri Feb 12, 2010 6:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Records getting rejected in Column Import Stage
Replies: 6
Views: 3293

Do an exact search for "did not consume entire input" and see if the 20 other posts on the subject help at all.