When i am trying to ftp COBOL generated data sets which contain comp values to AIX in ASCII mode. the comp values are getting corrupted. If i ftp the data set in binary mode it is working properly, but for this i have to change some compiler options in the COBOL. Also if i want to use the data set outside a COBOL program for any calculations i am unable to use it as it is in binary.
Hi,
I have attached a cobol program that does what I described. Also sample JCL. The cobol program was originally written for use on VSE, but now works under MVS. You might also check out the forums at:MVSFORUMS.com :: Index . They probably could come up with a better solution as this was written with an older version of cobol.