CRE Programmer's Guide

Using the Common Language Utility (CLU) Library
Common Run-Time Environment (CRE) Programmer’s Guide528146-004
5-5
Services Provided by the Saved Message Utility
To save these messages for manipulation with SMU functions:
COBOL and FORTRAN programs use the SAVE compiler directive
TAL programs call TAL_CRE_INITIALIZER_ and pass the OPTIONS parameter to
it, as described in the
TAL Programmer’s Guide.
If a process (a “parent” process) initiates other processes, it can use SMU functions to
customize the startup, ASSIGN, and PARAM messages it received when it started, and
pass the customized messages to the processes it initiates.
If a process initiates other processes, the parent process can save the messages that
describe its startup environment, and then use SMU functions to customize the startup
environment for the new processes. Figure 5-1
on page 5-5 illustrates how descendent
processes can inherit customized messages from the parent process.
Figure 5-1. Messages Manipulated by the SMU
501VST .VSD
Startup message (IN file, OUT file, default volume and subvolume)
ASSIGN messages (logical file name and Compaq file name)
PARAM message (name and associated value)
Saved
Messages
Parent process
Saves messages
Modifies messages (optional)
Launches new process and passes
modified messages to it
Descendent
Process