Substituting for RHDCSNON
All processing performed by RHDCSNON, including user profile processing, is also performed by #SECSGON, except:
Copying the Security Request Block
To issue the #SECSGON macro, you must copy the Security Request Block. This block is mapped by the #SECRB DSECT.
Note: For more information, see the documentation of #SECRB.
#SECSGON Return Codes
The return code for a signon request is stored in register 15 and the SRBXR15 field of the SRB. The following table lists the possible return codes provided by the security system in response to a #SECSGON macro:
|
00 |
Request was successful; access allowed |
|
04 |
User identifier not found |
|
08 |
User not authorized; access denied |
|
12 |
Interface/parameter list error |
|
16 |
Password missing or invalid |
|
20 |
Password has expired (this condition can result only if signon is externally secured) |
Note: If MULTIPLE signon is enabled, and a user attempts to change the password while that user is signed on to another terminal, SRBXR15 will return a value of 8 (ACCESS DENIED) but signon will complete successfully. SRB field SRBXR0 contains reason code SRBXNNPW (password cannot be changed).
|
Copyright © 2014 CA.
All rights reserved.
|
|