Programming Interface Information:
This information is NOT intended to be used as Programming Interfaces of z/VM. |
CPCBK
Control Block Contents
CPCBK DSECT
Cross Reference (Contains links to field and bit definitions)
CPCBK Prolog
NAME : HCPCPCBK DESCRIPTION: CHANNEL PROGRAM CONTROL BLOCK DSECT : CPCBK FUNCTION : DESCRIBE THE STATUS OF THE SIMULATION OF A CHANNEL PROGRAM BY THE VIRTUAL CHANNEL SIMULATOR LOCATED BY : N/A. THE CPCBK IS INTERNAL TO THE VIRTUAL CHANNEL SIMULATOR. IT MAPS THE WORK AREA PORTION OF THE SAVBK ADDRESSED BY IORSAVE. IT IS SHARED BY HCPTRV, WHICH TRACES THE OPERATION OF THE VIRTUAL CHANNEL. REFER TO CURRENT LISTINGS OF HCPIOV AND HCPTRV FOR USAGE INFORMATION. CREATED BY : N/A DELETED BY : N/A
CPCBK Control Block Content
CPCBK DSECT
Hex Dec Type/Val Lng Label (dup) Comments ---- ---- --------- ---- -------------- -------- 0000 0 Structure CPCBK CHANNEL PROGRAM CONTROL BLOCK 0000 0 Bitstring 1 CPCCHCMD DEVICE COMMAND BEING SIMULATED 0001 1 Bitstring 1 CPCCCWFL CCW CHANNEL CONTROL FLAGS 1... .... CCWDC X'80' CHAIN DATA ADDRESS AND COUNT .1.. .... CCWCC X'40' COMMAND CHAIN ..1. .... CCWSILI X'20' SUPPRESS INCORRECT LENGTH ...1 .... CCWSKIP X'10' SUPPRESS INBOUND DATA TRANSFER .... 1... CCWPCIR X'08' REQUEST PC INTERRUPTION .... .1.. CCWIDA X'04' INDIRECT DATA ADDRESSING .... ..11 CCWINVAL X'03' I/O UNDEFINED PAIR OF BITS .... ..1. CCWSUSPN X'02' I/O SUSPENSION/RESUMPTION .... ...1 CCWUNDEF X'01' I/O UNDEFINED BIT 0002 2 Bitstring 1 CPCMODFL BYTE 5 OF FORMAT-0 CCW 0003 3 Bitstring 1 CPCDTFLG DATA TRANSFER CONTROL BYTE 1... .... CPCPSNSP X'80' SENSE DATA PENDING AT CCWFETCH .1.. .... CPCDTBWD X'40' READ-BACKWARD OPERATION ..1. .... CPCDTRTY X'20' COMMAND RETRY IS IN EFFECT ...1 .... CPCDTBEG X'10' DATA TRANSFER HAS BEGUN .... 1... CPCVASOP X'08' Vdisk address space operation .... .1.. CPCDTSTP X'04' 'STOP' WAS SIGNALLED .... ..1. CPCDTCER X'02' CHANNEL END RECEIVED .... ...1 CPCDTEND X'01' RECEIVED FINAL STS FOR CMD 0004 4 Signed 4 CPCADFLD ADDRESS FIELD FROM CURRENT CCW 0008 8 Dbl-Word 8 CPCDAT64 (0) 64 bit address for FMT-2 IDAW 0008 8 Signed 4 CPCDATAH High order 32 bits 000C 12 Signed 4 CPCDATAD CURRENT USER DATA ADDRESS 0010 16 Signed 4 CPCRYCCW CCW ADDRESS FOR INST RETRY 0014 20 Signed 4 CPCRTNAD ADDRESS OF SIMULATION ROUTINE 0018 24 Signed 4 CPCTRSAV A(SAVEAREA) FOR I/O TRACING 001C 28 Signed 2 CPCNTBYT FETCH/STORE BYTE COUNT 001E 30 Signed 2 CPCNTPCI PCI STATUS PRESENTATIONS 0020 32 Signed 2 CPCNTCCW COUNT CCWS FETCHED W/O DATA XFER 0022 34 Bitstring 1 CPCMFLGS Miscellaneous Flags Byte 1... .... CPCMVDLH X'80' Vdisk I/O lock held .1.. .... CPCMVITR X'40' Invalid HCPTRANS error exit taken on Vdisk address space operation ..1. .... CPCF2IP2 X'20' Format-2 IDAW data not exhausted Do another move before fetching another IDAW ...1 .... CPCDINIT X'10' CPCDATAD has a valid data addr 0023 35 Bitstring 1 * Reserved for future IBM use
CPCBK Storage Layout
*** CPCBK - CHANNEL PROGRAM CONTROL BLOCK * * +------+------+------+------+---------------------------+ * 0 |:CHCMD|:CCWFL|:MODFL|:DTFLG| CPCADFLD | * +------+------+------+------+---------------------------+ * 8 | CPCDATAH | CPCDATAD | * +---------------------------+---------------------------+ * 10 | CPCRYCCW | CPCRTNAD | * +---------------------------+-------------+-------------+ * 18 | CPCTRSAV | CPCNTBYT | CPCNTPCI | * +-------------+------+------+-------------+-------------+ * 20 | CPCNTCCW |:MFLGS|//////| 24 * +-------------+------+------+ * *** CPCBK - CHANNEL PROGRAM CONTROL BLOCK
CPCBK Cross Reference
Symbol Dspl Value -------------- ---- ----- CCWCC 0001 40 CCWDC 0001 80 CCWIDA 0001 04 CCWINVAL 0001 03 CCWPCIR 0001 08 CCWSILI 0001 20 CCWSKIP 0001 10 CCWSUSPN 0001 02 CCWUNDEF 0001 01 CPCADFLD 0004 CPCCCWFL 0001 CPCCHCMD 0000 CPCDATAD 000C CPCDATAH 0008 CPCDAT64 0008 CPCDINIT 0022 10 CPCDTBEG 0003 10 CPCDTBWD 0003 40 CPCDTCER 0003 02 CPCDTEND 0003 01 CPCDTFLG 0003 CPCDTRTY 0003 20 CPCDTSTP 0003 04 CPCF2IP2 0022 20 CPCMFLGS 0022 CPCMODFL 0002 CPCMVDLH 0022 80 CPCMVITR 0022 40 CPCNTBYT 001C CPCNTCCW 0020 CPCNTPCI 001E CPCPSNSP 0003 80 CPCRTNAD 0014 CPCRYCCW 0010 CPCTRSAV 0018 CPCVASOP 0003 08
Copyright IBM Corporation, 1990, 2001