SEGMENT ASSIGN
Purpose
Use the SEGMENT ASSIGN command to change the physical saved segment from which a logical saved segment will be used.
Operands
- lsegname
- is the 1-8 character name of the logical saved segment.
- psegname
- is the 1-8 character name of the physical saved segment.
Examples
You have two logical saved segments with the same name, EXECS, residing in two physical saved
segments, PSEG1 and PSEG2. If you want to use the EXECS saved segment in PSEG2, you would issue the
command,
segment assign execs pseg2
Then, whenever you issue another one of the SEGMENT commands or macro, such as SEGMENT LOAD, the EXECS saved segment in PSEG2 is used.
Messages and Return Codes
- DMS109S Virtual storage capacity exceeded, return code rc from storage management [RC=104]
- DMS283E The segname could not be loaded|reserved|released|purged; return code rc from SEGMENT. [RC=rc]
- DMS1274E Logical segment lsegname does not exist in physical segment psegname. [RC=28]
- DMS1275E Logical segment segname is currently active and cannot be assigned. [RC=36]
- DMS1277E Logical segment segname does not exist. [RC=28]
Additional system messages may be issued by this command. The reasons for these messages and their location are:
Reason | Location |
---|---|
Errors in command syntax | Command Syntax Error Messages |
Note: For message DMS283E, the return code rc is that of DIAGNOSE
X'64'. For more information, see z/VM: CP Programming Services.