We have a file on mainframe which has comp-3 values. We have to use that file in microfocus cobol program(net express). Can anybody tell me the converison steps that needs to be performed on this file?
Or anybody has any info about Net express -> Tools -> Data tools -> Convert.
Joined: 06 Jun 2008 Posts: 8339 Location: Dubuque, Iowa, USA
You have two routes you can take:
(1) unpack the packed decimal fields into DISPLAY fields, then transfer the file as text, or
(2) transfer the file as binary and use it in Net Express as an EBCDIC file.
#1 can be handled by your sort product or by writing a small program to do the conversion.
#2 assumes that Net Express can handle EBCDIC files -- which I do not know since I've never used the product -- and that your files are fixed length, not variable length (which complicates things).