CRE Programmer's Guide
Common Language Utility (CLU) Library Functions
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
9-20
SMU_Assign_Delete_
message_number
is an integer expression that identifies an ASSIGN message. message_number 
must be a value greater than 0.
portion
is the identifier of an ASSIGN message integer part to delete. portion is one of: 
portion_bytes
is the size of portion, in bytes, and must be a value greater than 0. For TAL, you 
must supply this value; for COBOL and FORTRAN, the compiler implicitly 
computes and transmits this value to the function. If 
portion_bytes exceeds the 
number of characters in 
portion, the first unused character of portion must be 
a space character. 
Return Value
SMU_Assign_Delete_ returns one of the following values: 
ACCESS Access mode—0 for read-write, 1 for read-only, 2 for write-
only, and 3 for extend
BLKSIZE Block mode size
EXCLUSION Exclusion mode—0 for shared, 1 for protected, and 3 for 
exclusive
FILECODE File code
PRIEXT Primary extent size
RECSIZE Record size
SECEXT Secondary extent size
TANDEMNAME Guardian file name
*ALL* The entire ASSIGN message 
Return
Value Meaning
 0 The operation is successful.
-1 The operation failed because of a logic error, such as:
•
message_number or portion_bytes has an invalid value.
•
The specified ASSIGN message does not exist. 
•
portion does not identify a defined deletable part of an ASSIGN message.
-2 The operation failed because making changes would invalidate the backup 
process.










