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

Copy RECFM =VB TO FB file with RECL =1060


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sahil41352

New User


Joined: 31 Dec 2014
Posts: 3
Location: India

PostPosted: Wed Dec 28, 2016 11:29 pm
Reply with quote

I am facing the issue in this. Could anyone help please.

CODE :
Code:
//FBOUT DD DSN=LD.D9X.FLAT.TLK.ULOAD.TEST,
// DISP=(NEW,CATLG,DELETE),RECFM=FB,
// LRECL=1060,SPACE=(1060,(20,5),RLSE),
// AVGREC=M
//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=FBOUT,VTOF,OUTREC=(5,1060)
/*
//*

Error:
Code:
RECORD TYPE IS V - DATA STARTS IN POSITION 5
VLSHRT NOT USED FOR SORT, MERGE, INCLUDE, OMIT OR SUM STATEMENT FIELDS
JOBNAME: P9XCOPY , STEPNAME: S9XSORT
BLOCKSET TECHNIQUE IN CONTROL
BLOCKSET COPY TECHNIQUE SELECTED
VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
- CONTROL STATEMENTS FOR 5650-ZOS, Z/OS DFSORT V2R2 - 12:49 ON WED DE
OPTION COPY
OUTFIL FNAMES=FBOUT,VTOF,OUTREC=(5,1060)
END OF FBOUT FIELD BEYOND MAXIMUM RECORD LENGTH
C5-I37057 C6-I35397 C7-I35397 C8-I35397 E9-I35397 E7-I37057


Code'd : Please use code tags while posting code/data
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Dec 28, 2016 11:39 pm
Reply with quote

Code:
END OF FBOUT FIELD BEYOND MAXIMUM RECORD LENGTH

Does this ring any bell?
Back to top
View user's profile Send private message
sahil41352

New User


Joined: 31 Dec 2014
Posts: 3
Location: India

PostPosted: Tue Jan 03, 2017 9:18 pm
Reply with quote

I think error was because of it . Can you please tell me how can i split the VB file in two parts
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Jan 03, 2017 11:13 pm
Reply with quote

You chopped off the message references when pasting your sysout, which is always pointless.

If you look up the ICE027A message (just stick that reference in a search box, and hey presto) you'll see, from elimination, that your input records to the OUTFIL are not the length you have suggested - so DFSORT kindly points that out to you.

Whether you have the wrong input data set, or are trying to do something else (like extend the records) we don't know. What we do know is that your input LRECL is not 1064.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts VB to VB copy - Full length reached SYNCSORT 8
Search our Forums:

Back to Top