View previous topic :: View next topic
|
Author |
Message |
rush2hemant
New User
Joined: 04 Feb 2007 Posts: 2 Location: india
|
|
|
|
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? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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
- etc
- etc
- etc
Furthermore you didn't provide the NDM parameters you ARE using, so we have no clue where the issue could be even. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Do you really mean a gdg version? or did you mean a +1 generation? |
|
Back to top |
|
|
rush2hemant
New User
Joined: 04 Feb 2007 Posts: 2 Location: india
|
|
|
|
Apologies for the confusion.
Problem Statement - I am trying to send a file on IFS folder to a GDG generation on Mainframes as VB.
My Code -
Code: |
CDSND SNODE('Test')
SNODENVIRN(MVS)
FDSN('mylib/data')
TDSN(DATT.NDM.IOS.DATA(+1))
FMSYSOPTS('TYPE(FILE)')
TOSYSOPTS('TYPE(FILE)')
TCB(*N '0' *N PS 000 00000 '3579' *N 'VB')
TDISP(RPL) |
Error Message -
Code: |
######00000008/00000000/SVSJ032I - Record too long for output BSAM RECFM=V or VB file
######00000008/00000000/ACOP014I-Negative response received.
|
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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. |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
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? |
|
Back to top |
|
|
|