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:[email protected]] On
> Behalf Of Dyck, Lionel B. (TRA)
> Sent: Tuesday, July 26, 2016 7:06 AM
> To: [email protected]
> 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 [email protected] with the message: INFO IBM-MAIN

Reply via email to