This macro determines the client’s personal user ID if the dialog was initiated via a personal logon.
This information is identical to the content of the system job variable $SYSJV.PERS-ID.
Application: user macro, group administrator macro, system administrator macro
Macro type: type S (standard form / E form / L form / C form / D form)
Macro | Operanden |
SRMPID | MF=C / D / L / E ,PREFIX =p / S ,TID=*OWN / <integer 0..2147483647> / <var: int:4> ,PARAM =<name 1..27> |
TID
Task ID of the task whose personal user ID is to be determined.
=*OWN
The personal user ID of the user’s own task is determined.
For a description of the MF, PREFIX, MACID, PARAM parameters see the “Executive Macros” manual [16].
Return codes
The following return codes may occur in addition to the standard return codes:
SC1 | Maincode | Meaning |
00 | 0000 | Normal execution |
40 | 0001 | Task has no personal user ID |
01 | 000A | Invalid parameters |
20 | 000B | Internal error occurred |