GDSX Manual
User Exit Descriptions
Extended General Device Support (GDSX) Manual–134303
9-7
USER^ATTRIBUTES
USER^ATTRIBUTES
This integer function provides a way you to validate or modify TSCODE-supported
attributes for SCF ADD SU and ALTER SU commands before TSCODE processes the
commands.
USER^ATTRIBUTES is called by TSCODE whenever it receives a message from SCF
indicating that an ADD SU or ALTER SU command was issued with a specification for
one of the following attributes:
This procedure can examine the STRUCT whose address is given by the token-
value parameter and validate or modify attribute values. Some or all of these
attributes can be set or reset from USER^ATTRIBUTES instead of from SCF. Only
after USER^ATTRIBUTES processing is complete does TSCODE carry out its
processing for the ADD or ALTER command.
EXTSUSIZE is a configuration parameter that is only modifiable by means of a TACL
PARAM command or an assignment within the user exit
USER^INIT^CONFIG^PARAMS. After USER^INIT^CONFIG^PARAMS is called,
TSCODE allocates memory for the device control blocks, based on the value of
EXTSUSIZE. EXTSUSIZE is then fixed for the life of the process. Modification
within USER^ATTRIBUTES is impossible, because at that point memory for the DCBs
has already been allocated. Also, because SCF messages are picked up only after this
allocation is complete, changing EXTSUSIZE by means of SCF is impossible.
See the SCF Reference Manual for GDSX for more information on these attributes.
status returned value
INT:value
ACCESSNAME NOWAITDEPTH
ASSOCIATIVE PHYSRECLEN
AUTOSTOP SUTYPE
DEVICESUBTYPE USERDATA
DEVICETYPE
status := USER^ATTRIBUTES ( scf-command !
i
,su-object-type !
i
,request-object-name !
i
,token-code !
i
,token-value ); !
i