The OP asked for batch, and I assumed, perhaps incorrectly, that he wanted to do it with JCL for a vendor product installation.
SYSDA, SYSALLDA, or 3390 - all should work as generic unit types and an optional vol=ser=xxxxxx may be needed if SMS is not active and/or the dasd is not mounted as public. Doing it using REXX, or some other scripting language, would also work. 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 Paul Gilmartin Sent: Monday, June 26, 2023 10:53 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How batch create a PDSE2 with Generations? On Mon, 26 Jun 2023 10:38:03 -0500, Lionel B. Dyck 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 > Also supported by BPXWDYN (yay!): <https://www.ibm.com/docs/en/zos/2.5.0?topic=output-requesting-dynamic-allocation> Is batch ISPF an alternative or do generations depend on graphic terminal? What releases does the OP wish to support? IS SYALLSDA preferable to SYSDA since the latter is nonstandard? -- gil ---------------------------------------------------------------------- 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