You have many methods.
You can use filter command and read Head -1 and the file name.
And you can specify /dev/null in the File name option.
Or you can perform the same in Before job subroutine.
Head -1 filename > Filename2.txt
And read the Filename2.txt
Or simply use Head Stage.
Search found 5168 matches
- Fri Feb 24, 2006 12:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading only the 1st rec from a secqential file in ver 7.0
- Replies: 2
- Views: 918
- Fri Feb 24, 2006 12:36 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DataStage Training
- Replies: 2
- Views: 549
- Fri Feb 24, 2006 10:48 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: automatic reset of an aborted job
- Replies: 7
- Views: 1145
Hi Search for Check Point restart. You can also find it documented. The check option available in job property. If this ain't enabled, whenever you rerun the sequence, you would end up run all the job from the scratch. Also Include 'Reset if required and Rerun' so that you can restart from the point...
- Fri Feb 24, 2006 10:41 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Control General Question
- Replies: 30
- Views: 9255
naveen, it is obvious that Job Controls are more flexible than Job Sequences! You can't dynamically set parameters to a job activity, maintenance is harder when you have to add a parameter to all the jobs, etc... Still parameter values can be passed dynamically from shell scripts using dsjob -param...
- Fri Feb 24, 2006 10:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Error Code Dictionary
- Replies: 11
- Views: 12089
You can find a FAQ regarding SQL error code for failed upsert.
- Fri Feb 24, 2006 10:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Error Code Dictionary
- Replies: 11
- Views: 12089
You can also use
from TCL. You can find most of the error codes but not all.
This uses six-digit keys, so to find 81002 your query would need to add a leading zero, and use a character string.
Code: Select all
SELECT * FROM SYS.MESSAGE WHERE @ID = 'error Code'from TCL. You can find most of the error codes but not all.
This uses six-digit keys, so to find 81002 your query would need to add a leading zero, and use a character string.
- Fri Feb 24, 2006 10:00 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: conversion from date to timestamp
- Replies: 8
- Views: 2071
- Fri Feb 24, 2006 9:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Error Code Dictionary
- Replies: 11
- Views: 12089
Error codes may not be always the same acorss versions. But you can search for it Like the list of current Job Control Error codes. Equ DSJS.RUNNING To 0 ;* This is the only status that means the job is actually running Equ DSJS.RUNOK To 1 ;* Job finished a normal run with no warnings Equ DSJS.RUNWA...
- Fri Feb 24, 2006 9:39 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Control General Question
- Replies: 30
- Views: 9255
- Fri Feb 24, 2006 9:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: conversion from date to timestamp
- Replies: 8
- Views: 2071
- Fri Feb 24, 2006 9:29 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: $PROJDEF vs $ENV
- Replies: 2
- Views: 2380
- Fri Feb 24, 2006 9:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Configuring userids on Datastage server
- Replies: 11
- Views: 7021
- Fri Feb 24, 2006 9:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: joining rows
- Replies: 17
- Views: 4645
- Fri Feb 24, 2006 8:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to avoid about sort requirement related warning
- Replies: 6
- Views: 2202