Loading VSAM data from EBCDIC environment to ASCII environment

Tue, 11/15/2011 – 06:11

#1

Loading VSAM data from EBCDIC environment to ASCII environment

I have to load some VSAM files from EBCDIC environment to ASCII environment. I am using the following approach

  • 1) Unload the VSAM files from EBCDIC environment (using IDCAMS repro) to FLAT files of VB record format with LRECL= record length of VSAM file + 4.
  • 2) Convert the flat file unloaded in step 1 to ASCII mode using a EBCDIC to ASCII convertor ( COBOL module).
  • 3) Load the above file using IDCAMS REPRO to VSAM cluster in the ASCII environment. I am getting abend in the last step, which says that the records are not in sequence. Can any expert advice if I am missing anything important here?

“; ; ; ;

Click the +1 button  below to share it with your friends and colleagues

Share this if you liked it!

Disclaimer