COBOL Manual for TNS and TNS/R Programs

HP COBOL Manual for TNS and TNS/R Programs522555-006
46-1
46
COBOLLIB, CLULIB, and ZCRESRL
Routine Calls
SMU Routines
Non-SMU Routines
SMU Routines
Programs compiled with the COBOL85 compiler can call all of the SMU routines listed
in Table 46-1. Programs compiled with the NMCOBOL compiler can call only the new
routines. For more information about the new SMU routines, see the CRE
Programmers Guide.
Note. If you omit an optional parameter when you call a COBOLLIB routine, you must put the
keyword OMITTED in its position if you specify subsequent parameters. Trailing OMITTEDs
are not required. (The syntax diagrams do not reflect this, because it would make them much
harder to read.)
Table 46-1. Saved Message Utility (SMU) Routines (page1of2)
Original Routine
1
New Routine
2
ALTERPARAMTEXT None
CHECKLOGICALNAME SMU_Assign_CheckName_
CHECKMESSAGE SMU_Message_CheckNumber_
DELETEASSIGN SMU_Assign_Delete_
DELETEPARAM SMU_Param_Delete_
DELETESTARTUP SMU_Startup_Delete_
GETASSIGNTEXT SMU_Assign_GetText_
GETASSIGNVALUE SMU_Assign_GetValue_
GETBACKUPCPU None
GETPARAMTEXT SMU_Param_GetText_
3
GETSTARTUPTEXT SMU_Startup_GetText_
PUTASSIGNTEXT SMU_Assign_PutText_
1. In the COBOLLIB file. Extension to the HP COBOL and FORTRAN 77 products, except as noted.
2. In the CLULIB file for the COBOL85 compiler and the ZCRESRL file for the NMCOBOL compiler.
3. In the OSS environment, you can also use the HP C
getenv function. SMU_Param_GetText_ returns only
PARAM equivalents, but the HP C
getenv function returns other environment variables as well.
4. Not an extension to the HP COBOL and FORTRAN 77 products.