Page 1 of 1
Processing Cobol file in datastage
Posted: Wed Sep 14, 2011 8:19 am
by olopade8425
I want to load Cobol file with Copy book and datafile. The file contains packed decimal fields, COMP-3 and COMP. I was able to load the Table definition from the copy book and the structure looks okay. When I tried to veiw the data I got an error "cannot execute binary file".
Posted: Wed Sep 14, 2011 9:11 am
by chulett
You are trying to view the data where/how exactly? Also, you should be using the Complex Flat File stage for this, are you?
Re: Processing Cobol file in datastage
Posted: Wed Sep 14, 2011 10:09 am
by olopade8425
I am using complex flat file stage. I imported the copybook to Table definitions -> COBOL FD, I was able to see the columns after loading the structure. I pointed to the file in the complex flat file stage and got error while trying to view the data in the output tab of the complex flat file stage.