Search found 79 matches
- Sun Mar 03, 2013 10:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequential File rejects
- Replies: 3
- Views: 1894
Thanks Ray. This is not a interview question. I did a search in help and I could not find any details on the reasons of the rejects in a sequentila file stage, so I posted in the forum. I have a requirement to read a sequential file ( csv file ) and load into target file. As per the metadata of the ...
- Sat Mar 02, 2013 10:37 am
- Forum: General
- Topic: Conditional execution of job
- Replies: 19
- Views: 8410
- Sat Mar 02, 2013 12:06 am
- Forum: General
- Topic: Conditional execution of job
- Replies: 19
- Views: 8410
- Fri Mar 01, 2013 11:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequential File rejects
- Replies: 3
- Views: 1894
Sequential File rejects
Can anyone explain me the below question.
What all the possible reasons, a sequential file stage will reject data to a reject link.
Suppose I have 4 columns as below
Col1 varchar Not Null,
Col2 varchar Null,
Col3 varchar Not Null
Col4 varchar Null
What all the possible reasons, a sequential file stage will reject data to a reject link.
Suppose I have 4 columns as below
Col1 varchar Not Null,
Col2 varchar Null,
Col3 varchar Not Null
Col4 varchar Null
- Fri Mar 01, 2013 11:44 am
- Forum: General
- Topic: Conditional execution of job
- Replies: 19
- Views: 8410
- Fri Mar 01, 2013 10:48 am
- Forum: General
- Topic: Conditional execution of job
- Replies: 19
- Views: 8410
- Fri Mar 01, 2013 9:15 am
- Forum: General
- Topic: Conditional execution of job
- Replies: 19
- Views: 8410
Conditional execution of job
I have to execute a job based on a file count.
If the file count =0 then execute the job
Else if file count > 0 then send an email and stop the sequence flow.
how to do this in Sequencer?
If the file count =0 then execute the job
Else if file count > 0 then send an email and stop the sequence flow.
how to do this in Sequencer?
- Thu Feb 21, 2013 1:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data format issue
- Replies: 3
- Views: 1505
- Thu Feb 21, 2013 10:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Mainframe Column S9(9) COMP field to read 0 from Flat file
- Replies: 6
- Views: 2084
- Thu Feb 21, 2013 10:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: date conversion
- Replies: 11
- Views: 4446
date conversion
How to convert a date format mm/dd/yyyy which is coming from csv file to yyyy-mm-dd to be sent in fixed width flat file. Source data changed to target 6/1/2012 to be 2012-06-01 12/1/2012 to be 2012-12-01 6/25/2012 to be 2012-06-25 12/12/2012 to be 2012-12-12 How to do this conversion in datastage?
- Wed Feb 20, 2013 10:11 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Create Fixed Flat file with hexadecimal values
- Replies: 5
- Views: 2106
- Wed Feb 20, 2013 6:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue handling date datatype with APT_STRING_PADCHAR
- Replies: 1
- Views: 929
Issue handling date datatype with APT_STRING_PADCHAR
I am creating a fixed flat file, I have around 10 columns with one date column in it. I have declared all column as CHAR in fixed flat file. I do a date conversion from MM/DD/YYYY to YYYY-MM-DD format using stage variables for this field. I was getting expected results and was working fine. Function...
- Wed Feb 20, 2013 6:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Mainframe Column S9(9) COMP field to read 0 from Flat file
- Replies: 6
- Views: 2084
Frank, For the Mainframe DB2 column say PERSON_ID is s9(9) COMP. My requirement is to populate zeroes in to the fixed flat file for the column. I gave the datatype for the column(PERSON_ID) in Datastage sequential file as CHAR(9). Populated 9 zeros in it in a fixed flat file in ASCII format . The ma...
- Wed Feb 20, 2013 5:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Create Fixed Flat file with hexadecimal values
- Replies: 5
- Views: 2106
Create Fixed Flat file with hexadecimal values
I have requirement to create a fixed flat file with hexadecimal representation only for few of the columns. Is that possible with sequential file stage, if so could you please tell me the properties to set to acheive this ?. If not what stage I should use to acheive this? Please help, if anyone has ...
- Mon Feb 18, 2013 9:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequential file read error
- Replies: 3
- Views: 1733
Thanks Ray. I have added the reject link to a sequential file to capture the rejects. The issue here is records are not getting rejected to the reject file. It gets processed as a good record and is loaded into the target. The below 2 records ( that does not fit the layout)flows into the target alon...