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

Usage of Maxlits parameter in IEBGENER


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

New User


Joined: 07 Aug 2008
Posts: 2
Location: India

PostPosted: Sat Aug 09, 2008 10:33 am
Reply with quote

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. icon_question.gif
Back to top
View user's profile Send private message
Arun Raj

Moderator


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

PostPosted: Sat Aug 09, 2008 10:37 am
Reply with quote

spaul,

What is that you are trying to achieve through IEBGENER?

Thanks,
Arun
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Sat Aug 09, 2008 10:50 am
Reply with quote

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/dgt1u104/6.8.2.1?SHELF=&DT=19990113105507&CASE=
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Aug 10, 2008 3:58 am
Reply with quote

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
View user's profile Send private message
spaul

New User


Joined: 07 Aug 2008
Posts: 2
Location: India

PostPosted: Sun Aug 10, 2008 8:14 pm
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Sun Aug 10, 2008 9:14 pm
Reply with quote

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
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 Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts STEM usage in REXX CLIST & REXX 14
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
Search our Forums:

Back to Top