How to resolve error loading NCOALink data on z/OS in Verimove

Operating System: z/OS

 
The DVD header files are in UNIX format and the downloads from the USPS are in DOS format.
 
The difference in size is 1 byte per line: UNIX text files end in Line Feed only and DOS ends in a Carriage Return\Line Feed. These signal the programs where the lines end.
 
Our Sample Upload Manifest files (located for MVS in the SAMPMANI library of the Verimove install) expect the two files:
 
dvdhdr01.dat
dvdhdr02.dat

to be in Unix format, like the DVD’s.

 
There are several ways to fix the issue.  The best long term solution is to modify the Sample Manifest to upload the NCOA file to the MVS machine.
 
For those not familiar with the manifest files, they are xml style instructions, telling which files to get, how to transfer them (any conversions etc), and the name they will be on the MVS machine once transferred. We have several example files that come with the install.
 
The manifest file is actually passed to the windows Upload server program from MVS and tells the windows side what you are looking to transfer.
 
For example to use the manifest – USPSFZ to transfer files, this is at the beginning of the file:
  <UploadSpecification>
    <NewLine>LF</NewLine>                                                                             
    <RetainNewLine>Y</RetainNewLine>
    <Translation>ASCII-EBCDIC</Translation>
    <FileType>SEQ</FileType>
    <FileList>
      <File> <Source>contents.lst</Source> <Target>CONTENT</Target> </File>
      <File> <Source>dvdhdr01.dat</Source> <Target>DVDHDR1</Target> </File>
      <File> <Source>dvdhdr02.dat</Source> <Target>DVDHDR2</Target> </File>
    </FileList>
  </UploadSpecification>

There are several “UploadSpecification” sections in a manifest typically, describing each of the files you want to transfer and what you want done to it.
 
So to fix the issue the recommendation is to edit the Manifest file and split the above specfication into two pieces like this:
  <UploadSpecification> 
    <NewLine>LF</NewLine>                                                                               
    <RetainNewLine>Y</RetainNewLine> 
    <Translation>ASCII-EBCDIC</Translation> 
    <FileType>SEQ</FileType> 
    <FileList> 
      <File> <Source>contents.lst</Source> <Target>CONTENT</Target> </File> 
    </FileList> 
  </UploadSpecification> 
  
  <UploadSpecification> 
   <NewLine>CRLF</NewLine>Change the DVDHeader files to expect them to be dos style file endings
    <RetainNewLine>Y</RetainNewLine> 
    <Translation>ASCII-EBCDIC</Translation> 
    <FileType>SEQ</FileType> 
    <FileList> 
      <File> <Source>dvdhdr01.dat</Source> <Target>DVDHDR1</Target> </File> 
      <File> <Source>dvdhdr02.dat</Source> <Target>DVDHDR2</Target> </File> 
    </FileList> 
  </UploadSpecification>

The Upload JCL Log should have something that looks similar to this, when these two files successfully transfer over:

MFUpload1    Starting upload of T:\cgonz\MVSTST\dvdhdr01.dat

MFUpload1        to QUALITY.@.VERIMOVE.USPS.SEQ.CGTST.DVDHDR1
MFUpload1        Source file contains 738 bytes.
MFUpload1        Received 738 bytes
MFUpload1        Target record size 82, 9 records written.  Upload time: 0:00:00
MFUpload1    Starting upload of T:\cgonz\MVSTST\dvdhdr02.dat
MFUpload1        to QUALITY.@.VERIMOVE.USPS.SEQ.CGTST.DVDHDR2
MFUpload1        Source file contains 6232 bytes.
MFUpload1        Received 6232 bytes
MFUpload1        Target record size 82, 76 records written.  Upload time: 0:00:00

 
 
UPDATED:  November 21, 2019