Liz - that works for a user with console command authority which does not apply to 99% of most users. Same for viewing sys1.parmlib. I've opened a RFE to IBM for a sysvar or mvsvar variable :-)
-------------------------------------------------------------------------- Lionel B. Dyck (TRA Contractor) Mainframe Systems Programmer Enterprise Infrastructure Support (Station 200) (005OP6.3.10) VA OI&T Service Delivery & Engineering -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Lizette Koehler Sent: Tuesday, July 26, 2016 9:58 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: PDSE V2 MaxGen Limit Query The D SMS,OPTIONS command will contain the maxgen limit in the display. So either an ISFEXEC for the MVS Command or going into OPER in REXX could work. Not sure if there is a control block you could parse through to get that info. CA_RECLAIM = {NONE | DATACLAS} PS_EXT_VERSION ={1|2} HONOR_DSNTYPE_PDSE = NO PDSE_VERSION = 1 SUPPRESS_SMSMSG = IGD17054I(NO ) IGD17227I(NO ) IGD17395I(NO ) MAXGENS_LIMIT = maxgenlimit USER_ACSVAR = (value1,value2,value3) PDSE_PENDING_DELETE_INTERVAL = Of course this would be dependent on the level of z/OS Running. This display is from z/OS V2.2 Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] > On Behalf Of Dyck, Lionel B. (TRA) > Sent: Tuesday, July 26, 2016 7:06 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: PDSE V2 MaxGen Limit Query > > Is there a way to query the current MAXGENS_LIMIT from the SMS > configuration in either REXX or ISPF? > > I'm looking for a way to prevent a user from specifying a larger > maxgen than is allowed in a dialog I'm working on. > > Thanks > > ---------------------------------------------------------------------- > ---- > Lionel B. Dyck (TRA Contractor) > Mainframe Systems Programmer > Enterprise Infrastructure Support (Station 200) (005OP6.3.10) VA OI&T > Service Delivery & Engineering ---------------------------------------------------------------------- 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