Example 2
To load a private copy of a saved segment named MYSEG that does
not survive abend processing, code:
SEGMENT LOAD,NAME=MYSEG,SYSTEM=NO,SHARE=NO
Note that SYSTEM=NO is a default value and can be omitted.
Table 1 describes some of the return codes stored in register 15 when the SEGMENT LOAD macro completes. For a complete list, see the z/VM: CMS Macros and Functions Reference.
Contents | Meaning |
---|---|
0 | The saved segment was loaded successfully; register 1 contains the beginning address of the loaded saved segment and register 0 contains the highest address of the loaded saved segment. |
12 | The saved segment was already loaded. |
41 | The storage required to load the saved segment is already in use. |
44 | The saved segment does not exist. |
256 | An error occurred while processing the contents of a logical saved segment. |
For any nonzero return code other than 12, registers 0 and 1 are set to zero.