Guardian Programmer's Guide

Table Of Contents
Communicating With a TACL Process
Guardian Programmer’s Guide 421922-014
8 - 8
Using ASSIGNs and PARAMs
START^IT);
END;
Using ASSIGNs and PARAMs
To use the values provided with ASSIGN or PARAM commands, a program must
specifically request to receive the Assign and Param messages. You can use the
INITIALIZER procedure to request this information.
If your program requests ASSIGN and PARAM information, then the TACL process
sends one Assign message for each assignment currently in effect and one Param
message containing all parameter assignments currently in effect.
Note that having received the Assign and Param messages, it is still up to the receiving
process to interpret the information.
The Assign message identifies the logical file referred to in the program and the actual
file that will be equated to the logical file. Optionally, file characteristics are also
provided. Refer to Section 2, Using the File System, Section 3, Coordinating
Concurrent File Access, and Section 5, Communicating With Disk Files, for information
about the file characteristics.
File names in Assign messages are of C-series internal format. Therefore, you must
convert each file name to a valid D-series file name before passing it to a D-series
procedure call. If the C-series file name is fully qualified, then you can use the
OLDFILENAME_TO_FILENAME_ procedure. If the file name is not fully qualified, you
should use the FNAMECOLLAPSE procedure.