Guardian Procedure Errors and Messages Manual
END;
STRING param [0:n-1]; ! [33] parameter string of the RUN
! command (if any) that was
! entered by the operator.
! This is in either of the
! following forms:
!
! parameter-string null [null]
! or
! null null
! n = ( count-read - 66 )
END;
If you want your program to receive any existing ASSIGN and PARAM messages, specify file-system
error code 70 in a call to REPLY or specify error code 0 but with a reply of 1 to 4 bytes, where
bit 0 of the first byte is set to 1 for ASSIGN messages and bit 1 is set to 1 for PARAM messages.
-2 ASSIGN
Cause A new process receives one ASSIGN message for each assignment in effect at the time the
new process was created.
The ASSIGN messages immediately follow the startup message if the new process does one of the
following:
• Replies to the startup message with an error return value of 70. The TACL process then sends
both ASSIGN and PARAM messages.
• Replies to the startup message with an error return value of 0 but with a reply of from 1 through
4 bytes, where bit 0 of the first byte of the reply is set to 1. If bit 1 of the first byte of the reply
is set to 1, the TACL process also sends a PARAM message.
Format The format of the ASSIGN message follows. The message length is 108 bytes.
STRUCT ci^assign; ! ASSIGN message
BEGIN !
INT msg^code; ! [0] -2
!
STRUCT logicalunit; ! PARAMETERS TO ASSIGN COMMAND
BEGIN !
STRING prognamelen; ! [1] length in bytes of name
STRING progname[0:30]; ! {0:31} {program-unit][*} ! (blank filled on right)
STRING filenamelen; ! [17] length in bytes of name
STRING filename[0:30]; ! {0:31} logical-file-name ! (blank filled on right)
END; !
INT(32) fieldmask; ! [33] bit mask to indicate
! which of the following
! fields were supplied
! (1=supplied):
!
! .<0>=physical-filename
! .<1>=pri-extent-size .
! .<2>=sec-extent-size
! .<3>=file-code
! .<4>=exclusion-spec !
! .<5>=access-spec
! .<6>=record-size .
! .<7>=block-size
STRUCT physicalfilename; ! [35] physical-filename
BEGIN !
INT volume [0:3]; !
INT subvol [0:3]; !
INT dfile [0:3]; !
END; !
!
INT primaryextent; ! [47] pri-extent-size
INT secondaryextent; ! [48] sec-extent-size INT filecode;! [49] file-code
INT exclusionspec; ! [50] %00 if SHARED } ! %20 if EXCLUSIVE } flag ! %60 if PROTECTED } param
INT accessspec ![51] %0000 if I/O } of ! %2000 if INPUT } OPEN ! %4000 if OUTPUT }
Message Descriptions 237