Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Usage of Maxlits parameter in IEBGENER

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Usage of Maxlits parameter in IEBGENER
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: 2238
Location: @my desk

PostPosted: Sat Aug 09, 2008 10:37 am    Post subject:
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    Post subject:
Reply with quote

http://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

Site Director


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

PostPosted: Sun Aug 10, 2008 3:58 am    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us