Guardian Programming Reference Summary for pTAL and TAL
Interprocess Messages
Guardian Programming Reference Summary for pTAL and TAL—522631-001
14-2
-2 ASSIGN
STRUCT ci^assign;
BEGIN ! word
INT msg^code; ! [0] -2
STRUCT logicalunit; ! target program name
BEGIN ! target file specifier
STRING prognamelen; ! [1] program name byte length
STRING progname[0:30]; ! program name blank filled
STRING filenamelen; ! [17] file name byte length
STRING filename[0:30]; ! file name blank filled
END;
INT(32) fieldmask; ! [33] parameter bit mask
! if <bit> = 1 then
! parameter was entered
! <0> = file-name
! <1> = pri-extent-size
! <2> = sec-extent-size
! <3> = file-code
! <4> = exclusion-spec
! <5> = access-spec
! <6> = record-size
! <7> = block-size
STRUCT physicalunit; ! file name assigned
BEGIN ! to target file name
INT volume [0:3]; ! [35] volume name
INT subvol [0:3]; ! [39] subvolume name
END;
INT primaryextent; ! [47] pri-extent-size
INT secondaryextent; ! [48] sec-extent-size
INT filecode; ! [49] file-code
INT exclusionspec; ! [50] %0000 = SHARED }
! %0020 = EXCLUSIVE } flag
! %0060 = PROTECTED } param
INT accessspec; ! [51] %0000 = I/O } of
! %2000 = INPUT } OPEN
! %4000 = OUTPUT }
INT recordsize; ! [52] record-size
INT blocksize; ! [53] block-size
END;