COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
The SMU consists of these routines. For complete descriptions of these routines, see the CRE
Programmer’s Guide.
DescriptionRoutine
Checks whether a saved ASSIGN message with a given logical file name existsSMU_Assign_CheckName_
Checks whether a specific saved message existsSMU_Message_CheckNumber_
Deletes either a portion or all of a saved ASSIGN messageSMU_Assign_Delete_
Deletes either a portion or all of the saved PARAM messageSMU_Param_Delete_
Deletes the entire saved startup messageSMU_Startup_Delete_
Retrieves a portion of a saved ASSIGN message as text and assigns it to a
string variable
SMU_Assign_GetText_
Retrieves a portion of a saved ASSIGN message as an integer and assigns it
to an integer variable
SMU_Assign_GetValue_
Retrieves a portion of the saved PARAM message as text and assigns it to a
string variable
SMU_Param_GetText_
Retrieves a portion of the saved startup message as text and assigns it to a
string variable
SMU_Startup_GetText_
Creates or replaces a portion of a saved ASSIGN message with text from a
string variable
SMU_Assign_PutText_
Creates or replaces a portion of a saved ASSIGN message with a value from
an integer variable
SMU_Assign_PutValue_
Creates or replaces a portion of the saved PARAM message with text from a
string variable
SMU_Param_PutText_
Creates or replaces a portion of the saved startup message with text from a
string variable
SMU_Startup_PutText_
These routines operate upon copies of the process-creation messages that establish the execution
environment of the program. Copies of these messages are not saved automatically and must be
requested by a SAVE directive in the main program. For information on the SAVE directive, see
SAVE (page 563).
The SMU routines operate on the ASSIGN, PARAM, and startup messages, which have standard
sets of defined portions.
Table 93 Portions of the ASSIGN Message
Portion TypeWhat It IdentifiesPortion
Text message portionLogical unit nameLOGICALNAME
Text message portionFile-system file nameTANDEMNAME
Integer message portionPrimary extent sizePRIEXT
Integer message portionSecondary extent sizeSECEXT
Integer message portionFile codeFILECODE
Integer message portionExclusion modeEXCLUSION
Integer message portionAccess modeACCESS
Integer message portionRecord sizeRECSIZE
Integer message portionBlock sizeBLKSIZE
Saved Message Utility (SMU) Overview 613










