Skip to content

Instantly share code, notes, and snippets.

@lnlyssg
Created June 14, 2017 19:21
Show Gist options
  • Save lnlyssg/d9ffb758750914e3095455ad50d1c1f6 to your computer and use it in GitHub Desktop.
Save lnlyssg/d9ffb758750914e3095455ad50d1c1f6 to your computer and use it in GitHub Desktop.
/*REXX*/
numeric digits 20
/* Get info from storage, most of this section is a straight lift */
/* from IPLINFO! */
CVT = C2d(Storage(10,4)) /* point to CVT */
CVTVERID = Storage(D2x(CVT - 24),16) /* "user" software vers.*/
PRODNAME = Storage(D2x(CVT - 40),7) /* point to mvs version */
CVTRAC = C2d(Storage(D2x(CVT + 992),4)) /* point to RACF CVT */
RCVT = CVTRAC /* use RCVT name */
RCVx = C2D(STORAGE(D2X(CVT+X2D('3E0')),4)) /* ugly mess for bits */
RCVTID = Storage(D2x(RCVT),4) /* point to RCVTID */
RCVTRIX = c2d(Storage(D2x(RCVT + 24),4)) /* ICHRIX? */
If RCVTRIX <> 0 Then
say "There IS a VERIFY post-processing exit (ICHRIX01) installed."
else
say "There is NOT a VERIFY post-processing exit (ICHRIX01) installed."
RCVTRCX = c2d(Storage(D2x(RCVT + 28),4)) /* ICHRCX? */
If RCVTRCX <> 0 Then
say "There IS a post-processing exit (ICHRCX01) installed."
else
say "There is NOT a post-processing exit (ICHRCX01) installed."
RCVTRDX = c2d(Storage(D2x(RCVT + 32),4)) /* ICHRDX? */
If RCVTRDX <> 0 Then
say "There IS a post-processing exit (ICHRDX02) installed."
else
say "There is NOT a postprocessing Verify exit (ICHRDX02) installed."
RCVTNCX = c2d(Storage(D2x(RCVT + 180),4)) /* ICHNCX? */
If RCVTNCX ¬= 0 Then
say "There IS a naming convention exit (ICHNCV00) installed."
else
say "There is NOT a naming convention exit (ICHNCV00) installed."
RCVTDESX = c2d(Storage(D2x(RCVT + 416),4)) /* ICHDEX? */
If RCVTDESX ¬= 0 Then
say "There IS a pw encryption exit (ICHDEX01) installed."
else
say "There is NOT a pw encryption exit (ICHDEX01) installed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment