Regarding MAXGENS in the JCL - be sure it is less than, or equal to the 
IGDSMSxx MAXGENS_LIMIT specification.

And you may want to check these (copied from my system):

MAXGENS_LIMIT(256)       
PDSE_RESTARTABLE_AS(YES) 
PDSE_VERSION(2)          
PDSESHARING(EXTENDED)    
PS_EXT_VERSION(2)        


Lionel B. Dyck <><
Website: https://www.lbdsoftware.com
Github: https://github.com/lbdyck

“Worry more about your character than your reputation. Character is what you 
are, reputation merely what others think you are.”   - - - John Wooden

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Charles Mills
Sent: Monday, June 26, 2023 11:20 AM
To: [email protected]
Subject: Re: How batch create a PDSE2 with Generations?

Thanks! You're right of course. When I looked and asked about this a couple of 
weeks ago no one disagreed with the assertion that it could not be done with 
JCL. This is perfect. Sorry for the dumb question. Not sure what I was 
searching for that I did not see MAXGENS in the JCL Reference.

Charles

On Mon, 26 Jun 2023 10:38:03 -0500, Lionel B. Dyck <[email protected]> wrote:

>Try this - just tested and it does work. Hope it helps
>
>//PDSEALC  EXEC PGM=IEFBR14                            
>//PDSE     DD  DISP=(NEW,CATLG),DSN=MYHLQ.NEW.PDSE,    
>//             UNIT=SYSDA,SPACE=(15,15),DSORG=PO,      
>//             DCB=(RECFM=FB,LRECL=80,BLKSIZE=0),      
>//             DSNTYPE=(LIBRARY,2),MAXGENS=15          

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to