Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

binary files ".name.DDMEA" in COBOL Set for AIX

Status
Not open for further replies.

josep11477

Programmer
Mar 18, 2004
7
AD
Hello, I am triying to migrate seq files from mainframe(MVS) to AIX. When using Record Seq. files in COBOL, a hidden file with some fixed file attributes is generated. My problem is that SORT steps in my scripts do not generate this hidden file ".namefile.DDMEA". When I try to OPEN the file in a COBOL program I get an error. Do I have to code a script to create this .name.DDMEA file before the COBOL program is process? Is there any way (other than COBOL program) to create this record files with its hidden file? Does anybody have a master for this .namefile.DDMEA?

thanks to all

josep11477
 
Eh.. Don't understand your problem I'm afraid. To process MVS files on an AiX (with IBM cobol) I'd just FTP (mode ascii) the QSAM file to the RS/6000 and process those as line sequential files. This might help
Your QSAM file should not contain binary-data (COMP-2/3/4/5). The ascii mode used during FTP can do the ebsedic/ASCII conversion for you.

I would not advice you to make it more complex by ensisting on binary fields to be converted.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top