Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual522629-013
12-268
PROGRAMFILENAME Procedure
(Superseded by PROCESS_GETINFOLIST_
PROGRAMFILENAME Procedure
(Superseded by PROCESS_GETINFOLIST_
Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Example
Summary
The PROGRAMFILENAME procedure is used to obtain the name of the calling
process’s program file.
The main use of this procedure is to allow a primary process to create its backup
process without having to hard code the program file name into the source program.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
previous software.
Syntax for TAL Programmers
Parameters
program-file output
INT:ref:12
is an array where PROGRAMFILENAME returns the internal-format file name of
the process’s program file.
Example
CALL PROGRAMFILENAME ( MYPROG );
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.
CALL PROGRAMFILENAME ( program-file ); ! o