Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CCW and CCW0 instructions HLASM Language Reference SC26-4940-06 |
||||||||||||||||||||||
The CCW and CCW0 instructions define and generate an 8 byte, format-0
channel command word for input/output operations. A format-0 channel
command word allows a 24 bit data address. The CCW and CCW0 instructions
have identical functions. If a control section has not been established,
CCW and CCW0 initiate an unnamed (private) control section.
>>-+--------+--+-CCW--+-----------------------------------------> '-symbol-' '-CCW0-' >--command_code,data_address,flags,data_count------------------><
The generated channel command word is aligned at a doubleword boundary. Any skipped bytes are set to zero. The internal machine format of a channel command word is shown in Table 1.
If symbol is an ordinary symbol or a variable symbol that has been assigned an ordinary symbol, the ordinary symbol is assigned the value of the address of the first byte of the generated channel command word. The length attribute value of the symbol is 8. Here is an example of a channel program:
Specifying RMODE: Use RMODE 24 with CCW or CCW0 if you wish to ensure that valid data addresses are generated. If you use RMODE ANY with CCW or CCW0, an invalid data address in the channel command word can result at execution time. If your program has an RMODE value other than 24, you might choose to code 0 or an absolute expression for the data addresses. When your program runs, it can copy the channel program to 24-bit storage for execution and set or relocate the address fields. |
Copyright IBM Corporation 1990, 2014
|