Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8199
Location: East Dubuque, Illinois, USA

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: 1932
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: 8199
Location: East Dubuque, Illinois, USA

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: 182
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us