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

What is the use of GENERATE MAXFILDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sridhar_sasumana

New User


Joined: 22 Jun 2004
Posts: 1
Location: Bangalore

PostPosted: Wed Jun 23, 2004 12:23 pm
Reply with quote

wht is the use of GENERATE MAXFILDS

and RECORD FIELD


CODE:

//SYSSIN DD DATA
//GENERATE MAXFILDS=1
RECORD FIELD = (60,1,1)
/*
Back to top
View user's profile Send private message
imvs

New User


Joined: 12 May 2004
Posts: 33

PostPosted: Wed Jun 23, 2004 1:31 pm
Reply with quote

sridhar_sasumana,

GENERATE MAXFILDS
tells that the output dataset contains edited for of input data .

Quote:
//GENERATE MAXFILDS=1

it says that one FIELD parameter to appear in subsequent RECORD
stmt
Quote:
RECORD FIELD = (60,1,1)
The syntax for above record stmt is wrong , it should be
FIELD=(length,input location , conversion , output location)
all params for field are positional
RECORD FIELD = (60,1,,1)

RECORD FIELD = (60,1,,1)
1 to 60 bytes of input data set are to be copied into output dataset
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts JSON Generate COBOL Programming 2
No new posts XML-GENERATE to render edited numeric COBOL Programming 0
No new posts recursive SQL to generate list DB2 5
No new posts Generate SQL query dynamically using ... DB2 7
Search our Forums:

Back to Top