Hi,
I want to fetch the max value from a table and use (max+1) as the satart value field in a surrogate key generator stage.
I thought of writing a script which retrieves the max value.
But how can i pass this value from script to the job?
Thanks,
Savis
Search found 26 matches
- Fri Apr 25, 2008 1:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to pass before job subroutine's return value to a job
- Replies: 2
- Views: 1406
- Fri Apr 25, 2008 12:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Generate columns dynamically
- Replies: 4
- Views: 1219
Generate columns dynamically
Hi, Is there a way to generate columns dynamically? If suppose, i have input files like: file 1: col1,col2,col3,col4 file 2: col1,col2,col3,col4,col5 file 3: col1,col2,col3,col4,col5,col6. If the datatypes of all files are same, then can i use a single job for handling all the three input files? ple...
- Wed Apr 23, 2008 1:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Exporting from command line
- Replies: 1
- Views: 714
Exporting from command line
Hi,
I use the follloing command to export all the jobs in my project..
dscmdexport /H=%DSSERVER% /U=%DSUSER% /P=%DSPWD% %DSREP1% %BACKUPDIR%\%DSREP1%".dsx"
Is there a way to export jobs in only one category(not the entire project)?
Thanks in advance,
savis
I use the follloing command to export all the jobs in my project..
dscmdexport /H=%DSSERVER% /U=%DSUSER% /P=%DSPWD% %DSREP1% %BACKUPDIR%\%DSREP1%".dsx"
Is there a way to export jobs in only one category(not the entire project)?
Thanks in advance,
savis
- Wed Apr 23, 2008 12:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to detect the presence of '^Z' character
- Replies: 6
- Views: 1826
- Wed Apr 23, 2008 11:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to detect the presence of '^Z' character
- Replies: 6
- Views: 1826
- Wed Apr 23, 2008 11:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to detect the presence of '^Z' character
- Replies: 6
- Views: 1826
How to detect the presence of '^Z' character
Hi,
Is there a way to detect the presence of '^Z' character in a field.
I tried using count() function.
But it is not detecting.
Thanks in advance
Savis
Is there a way to detect the presence of '^Z' character in a field.
I tried using count() function.
But it is not detecting.
Thanks in advance
Savis
- Tue Apr 22, 2008 3:23 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Fatal error
- Replies: 4
- Views: 1700
- Mon Apr 21, 2008 4:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal values Getting rounded
- Replies: 10
- Views: 6593
Can you try this way? Multiply the field by 10000 (say x) or some other value and try to store in some datatype. when you reterive, divide the field by the same number (x) . I do agree that this will have negative impact on your performance? If you find any other better solution, do post it.. Thanks...
- Mon Apr 21, 2008 1:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to abort a job when there is fatal error in log?
- Replies: 8
- Views: 2554
Hi, hope this helps... A terminator stage can be placed in a job sequence to ensure that a job is stopped cleanly if ther are fatal errors. 1) use a job activity stage and select the expression type as failed 2) use a terminator stage and stop all the other subordinate jobs if required.. Thanks, Savis
- Mon Apr 21, 2008 1:10 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Substraction of month from the date
- Replies: 8
- Views: 4256
- Sun Apr 20, 2008 1:49 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: row merger
- Replies: 9
- Views: 4252
Hi, I used the following design: seq file ---- transformer-----seq file My input was like 1|2|3 4|5|6 7|8|9 11|12|13 14|15|16 17|18|19 In the first seq file, I didn't not specify any end delimiter or field delimiter. In Transformer, I used two stage variables for doing this task. Ist stage variable:...