Search found 284 matches
- Fri Nov 09, 2018 4:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
Hi Frank, I checked with the mainframe guy, I have to append 00 for those fields I removed PP. Regarding your response on starting position of the 01 Record - actually the copybook I received has 0 in the second position. Hence I changed the start position and could read it. Is it ok or do I need to...
- Fri Nov 09, 2018 1:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
- Fri Nov 09, 2018 11:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
I know there will be multiple issues with the files. Another problem is I get the metadata file in .docx and I saved it as plain text with .txt file. While importing the file into DataStage, it says it does not find any 01 level. Here is the snapshot of the first few line from the copybook: 01 CHD-B...
- Fri Nov 09, 2018 10:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
Hi, I received the cobol copy book created by cleint architect. I was asked to reveiw the copybook. There are 2 issues I found as below: 1) The source file has an optional header record which contains few dates and we need those dates in the output file if header is present. The copyook does not inc...
- Wed Nov 07, 2018 9:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
Thanks Frank. I just had a talk to mainframe guy and asked him to push the file to datastage server so that CFF stage can directly read from there. He said he will try as the file is huge in size. If that does not work then the only step is to use FTP stage to read as you have mentioned here. In the...
- Wed Nov 07, 2018 8:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
The source binary file resides on AS400 server . In order to use CFF stage to read the file, first step is to bring the file on Datastage server in binary mode and then read it . Can I use FTP stage to connect to AS400 to land the file? In FTP stage, how to define the metadata? To read the data in o...
- Fri Nov 02, 2018 6:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Duplicate records to Error
- Replies: 4
- Views: 3764
In a similar kind of requirement, I used Sort stage. Sort your data based on Person Identifier, the Item Identifier and load date(descending). Use Create key change column, this will assign 1 for the first record in the group and for remaining 0. Use transformer stage to output 2 links one for Recor...
- Tue Oct 30, 2018 2:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
- Tue Oct 30, 2018 11:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
Frank, Craig Let me describe the Cobol source file here: 1) The file is a fixed width file with 5636 lenghth of each type of record. 2) Four type of records are there. 3)For each type of record,first 82 bytes of record length is same,field length and positioning is changing from 83 rd position. For ...
- Tue Oct 30, 2018 11:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
- Tue Oct 30, 2018 10:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
Thanks Frank for your help. For the cobolcopybook what I did , I saved the docx file in plain text.Should I rename it to .cfd extension? I changed level 1 to 01 and 5 to 05 ..While converting to plain text,it asks for CRLF but I guess in cobol an trailing . is the record delimeter in the copybook fi...
- Tue Oct 30, 2018 7:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
- Mon Oct 29, 2018 9:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
- Mon Oct 29, 2018 8:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276
Hi Craig, I received the first cut of the copy book today. What was done there, the source file has 5 segments, out of that only 4 is of our interest. He created one copy book for each segment. I am not going into more detail on that. The first qs arises that can we have 4 different copy book to rea...
- Sat Oct 27, 2018 7:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: COBOL file without copybook
- Replies: 98
- Views: 44276