IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

NDM file from i5/OS to Z/OS VB


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rush2hemant

New User


Joined: 04 Feb 2007
Posts: 2
Location: india

PostPosted: Sat Jan 09, 2016 9:30 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Jan 09, 2016 11:59 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sun Jan 10, 2016 4:22 pm
Reply with quote

Do you really mean a gdg version? or did you mean a +1 generation?
Back to top
View user's profile Send private message
rush2hemant

New User


Joined: 04 Feb 2007
Posts: 2
Location: india

PostPosted: Sun Jan 10, 2016 7:42 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Jan 10, 2016 8:23 pm
Reply with quote

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
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Tue Jan 12, 2016 5:06 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top