I am trying to NDM file from IFS Folder on i5/OS to Z/OS GDG Version. The file on Z/OS has to be VB. Currently I was sending file using FTP, however this needs to be converted to NDM. SYSOPT=FILE did not help. Can somebody help with this?
Nobody is going to be able to help you much since you did NOT tell you what problem(s) you are experiencing. We don't know if:
- the NDM is working but the z/OS file is not VB
- the NDM is working and the z/OS file is VB but the data is wrong
- the NDM is failing with an error code
Furthermore you didn't provide the NDM parameters you ARE using, so we have no clue where the issue could be even.
The record too long message tells you (or should tell you) that one (or more) records in the input file are longer than the defined length for the VB data set (which is 4 bytes less than the LRECL). So now you need to find out what is the maximum length record in the input file and change your LRECL to match that length (+4 of course). If the maximum record length in the input file is more than 32760 bytes then you need to find another way to achieve your goal since z/OS sequential data sets are limited to 32760 bytes for the LRECL and hence it is not possible to transfer a file containing longer records to z/OS.
And any confusion was solely on your part. We responders knew that you didn't provide enough information to help you, so we weren't confused at all.
I have seen cases before when the line feed character gets lost in the transfer from one platform to another. Hence several "short" records on the source system become one "long" record on z/OS and the maximum allowable record length is then exceeded. Could that be the problem here?