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          


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 <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Charles Mills
Sent: Monday, June 26, 2023 10:25 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: How batch create a PDSE2 with Generations?

Is there any way to create a PDSE V2 with member generations in batch? I know I 
can do it interactively with ISPF 3.1, and I know I can't do it in batch with 
IEFBR14 and a DD, the way you would create most any other dataset.

It needs to be batch, and it would need to be "pure basic z/OS," because it 
would be part of an ISV product install. (I can't say "you need to download CBT 
whatever first" or "if you have this other ISV product already ...")

Thanks,
Charles

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to