Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

NDM file from i5/OS to Z/OS VB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: NDM file from i5/OS to Z/OS VB
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: 7908
Location: Bellevue, IA

PostPosted: Sat Jan 09, 2016 11:59 pm    Post subject:
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: 1713
Location: UK

PostPosted: Sun Jan 10, 2016 4:22 pm    Post subject:
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    Post subject: Reply to: NDM file from i5/OS to Z/OS VB
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: 7908
Location: Bellevue, IA

PostPosted: Sun Jan 10, 2016 8:23 pm    Post subject:
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: 175
Location: UK

PostPosted: Tue Jan 12, 2016 5:06 pm    Post subject: Reply to: NDM file from i5/OS to Z/OS VB
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us