View previous topic :: View next topic
|
Author |
Message |
spaul
New User
Joined: 07 Aug 2008 Posts: 2 Location: India
|
|
|
|
Hi All,
Could any one tell me how can we use the MAXLITS parameter in IEBGENER. I have gone thru the IBM manual for JCL but could not make much out of it. explanation with examples would be greatly appreciated. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
spaul,
What is that you are trying to achieve through IEBGENER?
Thanks,
Arun |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello SPaul and welcome to the forums,
If you explain what you want to do, someone will be able to help.
You have not posted any requirement, making it rather difficult to assist.
You have posted a question about something that may or may not be needed for a particular IEBGENER solution. |
|
Back to top |
|
|
spaul
New User
Joined: 07 Aug 2008 Posts: 2 Location: India
|
|
|
|
Hi Arun,
i need to analyze a code snippet and comment on the requirements further to enhance the system actually. so if I would have got the clear vision of the MAXLITS parameter [as used in the JCL code] I would have commented better.
please find below the code snippet::
//SX001 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSNAME=ACMSXXP.CUSTMAST,DISP=SHR
//SYSUT2 DD DSNAME= ACMSXXP.Header.TEST,DISP=(NEW,CATLG), …..
//SYSIN DD *
GENERATE MAXFLDS=5,MAXLITS=4
RECORD FIELD=(5,1,,1),FIELD=(20,21,,6),FIELD=(9,61,ZP,26), X
FIELD=(9,70,ZP,31),FIELD=(4,'TEST',,36)
/*
arcvns wrote: |
spaul,
What is that you are trying to achieve through IEBGENER?
Thanks,
Arun |
|
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
There are a total of 4 characters (TEST) contained in the FIELD literals of the RECORD statement, therefore MAXLITS must be greater than or equal to 4 (according to the manual in the link I posted). |
|
Back to top |
|
|
|