The requirements for the caller are:
Environmental factor | Requirement |
---|---|
Minimum authorization: | When ORIGIN= is specified with no other parameters: PSW key 0-7 |
Otherwise: Problem state | |
Dispatchable unit mode: | Task |
Cross memory mode: | PASN=HASN=SASN |
AMODE: | Any |
ASC mode: | Primary |
Interrupt status: | Enabled for I/O and external interrupts |
Locks: | No locks held |
Control parameters: | Must be in the primary address space |
The QEDIT macro is written as follows:
Syntax | Description |
---|---|
name | name: Symbol. Begin name in column 1. |
␢ | One or more blanks must precede QEDIT. |
QEDIT | |
␢ | One or more blanks must follow QEDIT. |
ORIGIN=CIB addr ptr | CIB addr ptr: RX-type address, or register (0),(2) - (12). |
,BLOCK=CIB addr | CIB addr: RX-type address, or register (1), (2) - (12). |
,CIBCTR=CIB nmbr | CIB nmbr: Decimal digit, with a maximum value of 255 or register (1), (2) - (12). |
The parameters are explained as follows:
When QEDIT macro returns control to your program, GPR 15 contains a hexadecimal return code.
Return Code | Meaning |
---|---|
00 | Meaning: The required function was successfully completed. |
04 | Meaning: The CIB to be deleted was not found on any CIB chain. |
08 | Meaning: The limit for the number of CIBs to be chained was exceeded; an issuer who made a request to free all the CIBs on a chain was not in supervisor state and PSW key zero; or the user provided an invalid address for the pointer to the CIB chain, an invalid address for the CIB address, or an invalid CIB number as input to the macro. |
QEDIT ORIGIN=(8)
QEDIT ORIGIN=(8),BLOCK=(5)