The ACF2 LIDPRE exit does not give details of a LID record

Document ID : KB000122426
Last Modified Date : 17/12/2018
Show Technical Document Details
Question:
When attempting to code a LIDPRE exit for the explicit reason to prevent the Delete of a logonid if the logonid has the STC attribute, how can it be determined if a logonid has the STC attribute set?
Answer:
The ACFSVC TYPE=A SVC calls LIDPRE after ACF2 performs initial validation, but before ACF2 reads the login ID record being modified.  Use the LIDPOST exit point and do assembler instruction:

TM LIDMFLG,LIDMSTC 
 
If it is true, set r15 to:
 
  • 8-Fail Login ID database processing; issue a message.