CALL "A$USERINFO" USING opCode parameters |
opCode | Function to be executed. Valid values, defined in iscobol.def, are: | |
Stores custom information for the current client. | ||
Retrieves custom information for the current client or for a specific client. | ||
Clears the custom information for the current client. | ||
parameters | Parameters depend on the opcode. |
*> copy iscobol.def in the working-storage section *> info-to-set is pic x(n) and contains any custom data move "UserType=Operator1,UserLevel=A" to info-to-set call "A$USERINFO" using auserinfo-set, info-to-set ... *> Retrieve the custom info, user-info is pic x(n) call "A$USERINFO" using auserinfo-get, user-info ... *> Clear the current use custom info call "A$USERINFO" using auserinfo-clear, user-info |