CPCBK Back to Index page
 
Prolog 
Control Block Contents 
   CPCBK DSECT
Storage Layout 
Cross Reference (Contains links to field and bit definitions)
Programming Interface Information:
This information is NOT intended to be
used as Programming Interfaces of z/VM.


  CPCBK Prolog Top of page
 
 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
 RELOCATION CONSIDERATIONS : None
 
 
  CPCBK Control Block Content Top of page
 

 CPCBK DSECT Top of page
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' CCWDC CHAIN DATA ADDRESS AND COUNT .1.. .... CCWCC X'40' CCWCC COMMAND CHAIN ..1. .... CCWSILI X'20' CCWSILI SUPPRESS INCORRECT LENGTH ...1 .... CCWSKIP X'10' CCWSKIP SUPPRESS INBOUND DATA TRANSFER .... 1... CCWPCIR X'08' CCWPCIR REQUEST PC INTERRUPTION .... .1.. CCWIDA X'04' CCWIDA INDIRECT DATA ADDRESSING .... ..11 CCWINVAL X'03' CCWINVAL I/O UNDEFINED PAIR OF BITS .... ..1. CCWSUSPN X'02' CCWSUSPN I/O SUSPENSION/RESUMPTION The CCWUNDEF definition is left here because some code still uses this field where the CCWMIDA bit is not applicable. .... ...1 CCWUNDEF X'01' CCWUNDEF I/O UNDEFINED BIT .... ...1 CCWMIDA X'01' CCWMIDA Modified-CCW-indirect-data-addres sing 0002 2 Bitstring 1 CPCMODFL BYTE 5 OF FORMAT-0 CCW 0003 3 Bitstring 1 CPCDTFLG DATA TRANSFER CONTROL BYTE 1... .... CPCPSNSP X'80' CPCPSNSP SENSE DATA PENDING AT CCWFETCH .1.. .... CPCDTBWD X'40' CPCDTBWD READ-BACKWARD OPERATION ..1. .... CPCDTRTY X'20' CPCDTRTY COMMAND RETRY IS IN EFFECT ...1 .... CPCDTBEG X'10' CPCDTBEG DATA TRANSFER HAS BEGUN .... 1... CPCVASOP X'08' CPCVASOP Vdisk address space operation .... .1.. CPCDTSTP X'04' CPCDTSTP 'STOP' WAS SIGNALLED .... ..1. CPCDTCER X'02' CPCDTCER CHANNEL END RECEIVED .... ...1 CPCDTEND X'01' CPCDTEND 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' CPCMVDLH Vdisk I/O lock held ..1. .... CPCF2IP2 X'20' CPCF2IP2 Format-2 IDAW data not exhausted Do another move before fetching another IDAW ...1 .... CPCDINIT X'10' CPCDINIT CPCDATAD has a valid data addr .... 1... CPC64BIT X'08' CPC64BIT Address is 64-bit .... .1.. CPCSKIP X'04' CPCSKIP Data skipped in HCPIOVMV .... ..1. CPCFMIDA X'02' CPCFMIDA IOVMV should fetch a MIDAW 0023 35 Bitstring 1 CPCMIDFG MIDAW flag 0024 36 Signed 2 CPCPAGCT Data count for MIDAW CCW 0026 38 Signed 2 * Reserved for future IBM use
 
 
  CPCBK Storage Layout Top of page
 
          
*** CPCBK - CHANNEL PROGRAM CONTROL BLOCK
*
*     +------+------+------+------+---------------------------+
*   0 |:CHCMD|:CCWFL|:MODFL|:DTFLG|         CPCADFLD          |
*     +------+------+------+------+---------------------------+
*   8 |         CPCDATAH          |         CPCDATAD          |
*     +---------------------------+---------------------------+
*  10 |         CPCRYCCW          |         CPCRTNAD          |
*     +---------------------------+-------------+-------------+
*  18 |         CPCTRSAV          |  CPCNTBYT   |  CPCNTPCI   |
*     +-------------+------+------+-------------+-------------+
*  20 |  CPCNTCCW   |:MFLGS|:MIDFG|  CPCPAGCT   |/////////////|
*     +-------------+------+------+-------------+-------------+
*  28
*
*** CPCBK - CHANNEL PROGRAM CONTROL BLOCK
 
 
  CPCBK Cross Reference Top of page
 
 
Symbol         Dspl Value
-------------- ---- -----
CCWCC          0001 40
CCWDC          0001 80
CCWIDA         0001 04
CCWINVAL       0001 03
CCWMIDA        0001 01
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
CPCFMIDA       0022 02
CPCF2IP2       0022 20
CPCMFLGS       0022
CPCMIDFG       0023
CPCMODFL       0002
CPCMVDLH       0022 80
CPCNTBYT       001C
CPCNTCCW       0020
CPCNTPCI       001E
CPCPAGCT       0024
CPCPSNSP       0003 80
CPCRTNAD       0014
CPCRYCCW       0010
CPCSKIP        0022 04
CPCTRSAV       0018
CPCVASOP       0003 08
CPC64BIT       0022 08
 
This information is based on z/VM 7.3.0 Last updated on 22 Jun 2022 at 15:48:19 EDT.
Copyright IBM Corporation, 1990, 2022