|
|
| Author |
Message |
sridhar_sasumana
New User
Joined: 22 Jun 2004 Posts: 1 Location: Bangalore
|
|
|
|
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 |
|
 |
References
|
Posted: Wed Jun 23, 2004 12:23 pm Post subject: Re: What is the use of GENERATE MAXFILDS |
 |
|
|
 |
imvs
New User
Joined: 12 May 2004 Posts: 33
|
|
|
|
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 |
|
 |
Moved: Sun Feb 10, 2008 1:38 pm by mcmillan From Mainframe COBOL to JCL |
|
|
|