Guardian Programming Reference Summary for pTAL and TAL

Interprocess Messages
Guardian Programming Reference Summary for pTAL and TAL522631-001
14-3
-3 PARAM
The field “parameters” in the above message format is composed of “numparams”
records of the following form (offsets are given in bytes):
-20 WAKEUP
-21 DISPLAY
-50 LOGON
STRUCT ci^param;
BEGIN
INT msg^code; ! [0] -3
INT numparams; ! [1] number of parameters
STRING parameters [0:1023] ! [2] parameters
END;
param[0] = length n, in bytes, of parameter-name
param[1] for n = parameter-name
param[n+1] = length v, in bytes, of parameter-value
param[n+2] for v = parameter-value
STRUCT wakeup^msg;
BEGIN
INT msgcode; ! -20
END;
STRUCT display^msg;
BEGIN
INT msgcode; ! -21
STRING text [0:n-1]; ! n <= 132.
END;
STRUCT logon^msg;
BEGIN
INT msgcode; ! [0] -50
INT userid; ! [1] user’s logon ID
INT cipri; ! [2] TACL execution priority
INT ciinfile [0:11]; ! [3] TACL input file
INT cioutfile [0:11]; ! [15] TACL output file
END;