Search found 42189 matches

by chulett
Tue Feb 24, 2009 11:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate config file
Replies: 3
Views: 1350

That would be a conversation to have with your DBA or someone else in your organization whom may already have something you could leverage.
by chulett
Tue Feb 24, 2009 10:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Document or tutorial
Replies: 6
Views: 2564

Re: Document or tutorial

rupesh_datastage wrote:hi my is is rupesh_datastage@yahoo.com.... i want a tutorial to satrt with datastage..
Comes with the product.
by chulett
Tue Feb 24, 2009 4:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in script
Replies: 6
Views: 1922

Well... as best as I can tell, your file check will need to be inside the loop. So, perhaps: * Start Loop (1 thru 5 step 1) * JobActivity C * WFF stage (0 wait) * File not found trigger -- Routine sleep 5 -- End Loop (continue) * File found trigger -- Branch out of loop -- Main sequence job -- succe...
by chulett
Tue Feb 24, 2009 2:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Numeric status of a job
Replies: 3
Views: 1342

From dsjob with the -run option you're not going to get "words" only the numeric status code. However, if after the job completes you interrogate the status with the -jobinfo option you'll get more text. Same applies if you check while it is running. Grep out the Job Status information: ds...
by chulett
Tue Feb 24, 2009 2:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Numeric status of a job
Replies: 3
Views: 1342

Yes, it does, but it is not a good practice to check for a "1" you should check for DSJS_RUNOK instead. All of those defined constants are in the same file that I posted as the answer to your other question:

$DSHOME/include/dsapi.h
by chulett
Tue Feb 24, 2009 2:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Status
Replies: 2
Views: 2057

$DSHOME/include/dsapi.h
by chulett
Tue Feb 24, 2009 2:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in script
Replies: 6
Views: 1922

Why not just do the whole thing in a Sequence job? That script just complicates understanding and maintenance. Sure seems like you could do the whole thing between the Start/End Loop stages with a routine (or a WFF stage) to check for the existence of your file.
by chulett
Tue Feb 24, 2009 1:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in script
Replies: 6
Views: 1922

Why would you be executing this from a Command Activity stage? Wouldn't you just run it from the command line yourself? Biggest thing that jumps out at me: the lack of a -wait or -jobstatus option being used, so the job is started but then immediately moves on to the next line of the script. Oh, and...
by chulett
Tue Feb 24, 2009 1:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set Project to Compile before execute
Replies: 37
Views: 9234

Something like this or this exactly? You need a comma between the job name and DSJ.ERRFATAL, not a dot. And you've got "JJob1" in the DSRunJob call rather than "hJob1". Details are important, you know.
by chulett
Tue Feb 24, 2009 11:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any command to get the list of activities from Sequ
Replies: 9
Views: 3192

Any chance you can link us to the post you found? That search returns 14 matches and it may save the next poor sap from searching all of them.
by chulett
Tue Feb 24, 2009 9:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updateuserstatus is not returning path name
Replies: 5
Views: 2725

How about an alternate solution? Drop the filename to a flat file then use a Routine Activity to echo it and pass that to the Job Activity parameter.
by chulett
Tue Feb 24, 2009 8:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a Basic Routine With in Job Control
Replies: 16
Views: 4429

:cry: You recall incorrectly. Upper-case cataloging only applies to the routines supplied with DataStage, such as the SDK routines. User-written routines have case-sensitive Catalog names, with "DSU." as their prefix. Cut me some slack... recalled somewhat correctly and it was before 6AM l...
by chulett
Tue Feb 24, 2009 8:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any command to get the list of activities from Sequ
Replies: 9
Views: 3192

You would use dssearch for this, from what I recall.
by chulett
Tue Feb 24, 2009 6:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling a Basic Routine With in Job Control
Replies: 16
Views: 4429

'Not able to' why? From what I recall they are catalogued in upper-case, see if DSU.REP works in the DEFFUN statement.
by chulett
Tue Feb 24, 2009 6:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Facing some problem with XML O/P Stage to meet requirement
Replies: 4
Views: 1489

Then just split it before the XML Output stage, using a function like Field() perhaps.