Search found 12 matches
- Sat Jun 01, 2013 12:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load first 100 records in first execution
- Replies: 8
- Views: 4680
I used a sequence job to count the lines in output file. Then added 100 to the count each time. This added value is passed to the HEAD-STAGE in parallel job as parameter. The sequence job as: EXEC_COMMAND --> JOB_ACTIVITY The parallel job as: SEQ_FILE --> HEAD-STAGE --> TAIL_STAGE --->SEQ_FILE HEAD-...
- Sat Jun 01, 2013 12:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Header Record Validation in a fixed width file
- Replies: 11
- Views: 6464
- Mon May 27, 2013 11:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Header Record Validation in a fixed width file
- Replies: 11
- Views: 6464
Header Record Validation in a fixed width file
Hi I have a fixed width file with header record and detail record. Header record layout is different from that of detail record. For example, I have the data: 00Employee_Details2013-05-242 -------------->HeaderRecord 012012-01-01Ram29842013-05-24 23:23:45 --------------->Detail Records 012012-02-02S...
- Sat May 25, 2013 10:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML
- Replies: 4
- Views: 2318
- Sat May 25, 2013 10:51 pm
- Forum: General
- Topic: Pass Invocation Id value to Job Parameter
- Replies: 1
- Views: 1473
Pass Invocation Id value to Job Parameter
I tried to pass the Invocation Id value as Job Parameter. In the "Default Value" of the Parameters , i gave the macro "DsJobInvocation Id".But the Job Aborted. Any ideas for the same?
- Sat May 25, 2013 10:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: output file name with the data from input file for each rec
- Replies: 4
- Views: 2444
- Sat May 25, 2013 10:31 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load first 100 records in first execution
- Replies: 8
- Views: 4680
- Sat May 25, 2013 1:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML
- Replies: 4
- Views: 2318
XML
To generate output xml file i/p ip_finename.txt dob_year,dob_month,dob_date,name,emp_no 1985,10,05,Kannan,1000 1985,10,05,ram,1001 1985,10,05,a,1002 1985,10,05,b,1003 . . . 10 records o/p file generation condition: the o/p xml shold contain only 4 employee details per xml, so here 10 i/p records wil...
- Sat May 25, 2013 1:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: output file name with the data from input file for each rec
- Replies: 4
- Views: 2444
output file name with the data from input file for each rec
To Create a job to generate the output file name with the data from input file for each record.
Ex: Input File
dob_year,dob_month,dob_date,name
1985,10,05,Kannan
1986,11,05,Kumar
Output file name should be:
Employee_Kannan_1985-10-05.txt
Ex: Input File
dob_year,dob_month,dob_date,name
1985,10,05,Kannan
1986,11,05,Kumar
Output file name should be:
Employee_Kannan_1985-10-05.txt
- Fri May 24, 2013 8:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load first 100 records in first execution
- Replies: 8
- Views: 4680
- Fri May 24, 2013 8:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load first 100 records in first execution
- Replies: 8
- Views: 4680
Load first 100 records in first execution
I am having 1000 records in a file but i need to load 100 records per execution.After the first execution,need to process second 100 records.etc...Upto 1000
- Wed Apr 17, 2013 5:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Conversion of any delimited row to Pipe delimited
- Replies: 2
- Views: 1407
Conversion of any delimited row to Pipe delimited
Hi
I have a row with data as follows
abc|xyz|a,b,c,d|123
I need the demiter comma to be replaced by Pipe as follows
abc|xyz|a|b|c|d|123 :D
I have a row with data as follows
abc|xyz|a,b,c,d|123
I need the demiter comma to be replaced by Pipe as follows
abc|xyz|a|b|c|d|123 :D