This macro stores the name of the client’s principal in a specified memory area when the dialog is initiated via Kerberos.
This information is identical to the content of the system job variable $SYSJV.PRINCIPAL.
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 |
SRMKPR | MF=C / D / L / E ,PREFIX = p / S ,DATA = structure(2): (1) data_addr: *NONE / <var: pointer> ,PARAM =<name 1..27> |
For a description of the MF, PREFIX, MACID, PARAM parameters see the “Executive Macros” manual [16].
DATA
Memory area in which the principal of the client is stored.
data_addr:
Address of the memory area
data_len:
Length of the memory area
Return codes
The following return codes may occur in addition to the standard return codes:
SC1 | Maincode | Meaning |
00 | 0000 | Normal execution |
40 | 0001 | Warning: Output truncatede |
40 | 0002 | Task has no principal |
40 | 0003 | Task not found |
01 | 000A | Invalid parameters |
20 | 000B | Internal error occurred |