BPXYDCOR contains the mapping of dump related information used by dbx when a dump is being formatted. AMODE 64 callers use BPXYDCOR — dbx cordump cache information.
BPXYDCOR ,
*
* ********************************************************************
* * *
* * Level information *
* * *
* ********************************************************************
*
*
DCOR_LEVEL1 EQU 65536 65536='00010000'x.
DCOR_LEVEL2 EQU 131072 131072='00020000'x.
*
* ********************************************************************
* * *
* * Function codes for BPXGMCDE routine *
* * *
* ********************************************************************
*
*
DCOR_OPEN# EQU 1
DCOR_CLOSE# EQU 2
DCOR_STATUS# EQU 3
*
* *****************************************************************
* * *
* * Open return codes *
* * *
* *****************************************************************
*
*
DCOR_CDERC_OK EQU 0 The specified function completed successfully
DCOR_CDERC_PARMERR EQU 4 A parmeter error was detected. See return X
value 1 for more detail
DCOR_CDERC_PROCERR EQU 8 A DCORE processing error occurred. See return X
value 1 for more detail
DCOR_CDERC_IKJTSOEVERR EQU 12 An error was encountered trying to X
establish a TSO environment with the IKJTSOEV X
service. See return values for more X
information
DCOR_CDERC_IKJEFTSRERR EQU 16 An error was encountered trying to run X
the REXX EXEC with the IKJEFTSR service. See X
return values for more information
DCOR_CDERC_ALLOCATEERR EQU 20 An error was encountered trying to X
allocate one of the user specified data sets.
DCOR_CDERC_IRXINITERR EQU 28 An error was encountered trying to X
establish a REXX environment
*
* *****************************************************************
* * *
* * Status return codes *
* * *
* *****************************************************************
*
*
DCOR_CDERC_STATUS_OPENCOMPLETE EQU 0
DCOR_CDERC_STATUS_OPENCONTINUING EQU 1
DCOR_CDERC_STATUS_OPENTERMINATED EQU 2
DCOR_CDERC_STATUS_INVALIDTOKEN EQU 3
*
* *****************************************************************
* * *
* * Status Rc values when Status return code is *
* * Dcor_CDErc_Status_OpenContinuing *
* * *
* *****************************************************************
*
*
DCOR_STATUS_CONT_STARTTSOENV EQU 0 Starting the TSO environment
DCOR_STATUS_CONT_EXECSTARTED EQU 1 BPXTIPCS started
DCOR_STATUS_CONT_EXECCLIST EQU 2 BPXTIPCS allocating CLIST data set
DCOR_STATUS_CONT_DUMPDDIR EQU 3 BPXTIPCS allocating/creating dump X
directory via BLSCDDIR
DCOR_STATUS_CONT_ALLOCDUMPDS EQU 4 BPXTIPCS allocating the dump data X
set
DCOR_STATUS_CONT_INVOKEIPCS EQU 5 BPXTIPCS invoking IPCS
DCOR_STATUS_CONT_INVOKEVERBX EQU 6 BPXTIPC2 invoking VERBX routine
DCOR_STATUS_CONT_ANALYSISSTART EQU 7 Dump analysis started
DCOR_STATUS_CONT_ANALYSISPROCASIDS EQU 8 Analysis processing Asids
DCOR_STATUS_CONT_EXECEXITING EQU 9 BPXTIPCS exiting
DCOR_STATUS_CONT_RECALL EQU 10 BPXTIPCS recalling data set
*
* *****************************************************************
* * *
* * R1 values when return code is Dcor_CDErc_ParmErr *
* * *
* *****************************************************************
*
*
DCOR_R1_PARMERR_DUMPDSNREQ EQU 1 The name of a dump data set is X
required
DCOR_R1_PARMERR_HFSDSNREQ EQU 2 The name of a dump data set in the HFS X
could not be found
*
* ***************************************************************
* * *
* * R1 values when return code is Dcor_CDErc_ProcErr *
* * *
* ***************************************************************
*
*
DCOR_R1_PROCERR_SYSTEMERRATC EQU 1 An unexpected system error has X
occured while trying to establish the IPCS X
environment. The R2 value contains an ABEND X
reason code
*
* ***************************************************************
* * *
* * R1 values when return code is Dcor_CDErc_AllocateErr *
* * *
* ***************************************************************
*
*
DCOR_R1_ALLOCATEERR_LOGDSN EQU 1 Error allocating the log data set. X
The R2 field is the return code from X
allocation and the R3 field is the reason X
code.
DCOR_R1_ALLOCATEERR_EXECDSN EQU 2 Error allocating the EXEC data set. X
The R2 field is the return code from X
allocation and the R3 field is the reason X
code.
*
* ********************************************************************
* * *
* * Function codes for BPXGMPTR Ptrace Dump Access Routine *
* * *
* ********************************************************************
*
*
DCOR_ASID_LIST# EQU 1
DCOR_SET_ASID# EQU 2
DCOR_PID_LIST# EQU 3
DCOR_SET_PID# EQU 4
DCOR_LDINFO# EQU 5
DCOR_THREAD_LIST# EQU 6
DCOR_THREAD_CURRENT# EQU 7
DCOR_SET_THREAD# EQU 8
DCOR_PSW# EQU 9
DCOR_GPR_LIST# EQU 10
DCOR_THREAD_STATUS# EQU 11
DCOR_READ_D# EQU 12
DCOR_ERROR_PSW# EQU 13
DCOR_CAPTURE# EQU 14
DCOR_ERROR_GPR_LIST# EQU 15
DCOR_FLT_LIST# EQU 16
DCOR_ERROR_FLT_LIST# EQU 17
DCOR_CONDINFO# EQU 18
DCOR_IPCSCMD# EQU 19
DCOR_PTRRC_OKVALUE EQU 0 The specified function completed successfully
DCOR_PTRRC_ASIDNOTFOUND EQU 1 The requested asid(s) not in dump
DCOR_PTRRC_ASIDNOTSET EQU 2 An ASID or PID has not been established X
for this session
DCOR_PTRRC_REQTYPENOTDEFINED EQU 3 The function type provided on this X
request is not supported by BPXGMPT2
DCOR_PTRRC_REQINVALIDTOKEN EQU 4 The open token provided on this X
request is not not valid
DCOR_PTRRC_REQDCORTERMINATED EQU 5 Dcor dump access services are not X
available
DCOR_PTRRC_THREADNOTFOUND EQU 6 The request thread(s) were not in the X
dump
DCOR_PTRRC_THREADNOTSET EQU 7 The current thread has not been X
established
DCOR_PTRRC_PIDNOTSET EQU 9 The request PID(s) were not in the dump
DCOR_PTRRC_PIDNOTFOUND EQU 10 The current process has not been X
established
DCOR_PTRRC_STORAGENOTINDUMP EQU 11 The requested storage was not X
dumped
DCOR_PTRRC_NASTANDALONEDUMP EQU 12 Not supported in a standalone dump
DCOR_PTRRC_ABENDOCCURRED EQU 13 Not supported in a standalone dump
DCOR_PTRRC_STORAGELENGTHBAD EQU 14 The requested storage length was X
zero
DCOR_PTRRC_SOMESTORAGEINDUMP EQU 15 The number of bytes of storage X
successfully retrieved is returned in the X
reason code field
RSNOKVALUE EQU 0
RSNDCORERROR EQU 1 See Dcor return codes
RSNMVSERROR EQU 2 Ususally an out of storage condition or an X
abend
RSNIPCSERROR EQU 3 When An IPCS error occurs use the DCOR log to X
view the messages generated by IPCS (normally X
suppress)
RSNCSVERROR EQU 4
RSNCSVMODI12ERR EQU 1
RSNCSVMODI3ERR EQU 2
RSNCSVTOOMANYEXTENTS EQU 3
*
* ********************************************************************
* * parameter definitions for BPXGMPTR Ptrace Dump Access Routine *
* * 1. Parm 1 function code *
* * 2. Parms 2 Token returned from DCOR_OPEN# *
* * 3. Parms 3-5 Function parameters *
* * 3. Parms 6-8 retvalue, retcode, rsncode *
* ********************************************************************
*
*
PARMS DSECT
PARMS_FUNCTYPEPTR DS 1AL4
PARMS_DCOMTOKENPTR DS 1AL4
PARMS_INTERFACE DS 0CL0012
ORG PARMS_INTERFACE
PARMS_CAPTURE DS 0CL0012
PARMS_CAPTURE_PSTORADR DS 1AL4
PARMS_CAPTURE_PSTORLEN DS 1AL4
PARMS_CAPTURE_PDATAADR DS 1AL4 Address output buffer
ORG PARMS_INTERFACE
PARMS_READD DS 0CL0012
PARMS_READD_PSTORADR DS 1AL4
PARMS_READD_PSTORLEN DS 1AL4
PARMS_READD_PDATAADR DS 1AL4 user provided buffer
ORG PARMS_INTERFACE
PARMS_LDINFO DS 0CL0004
PARMS_LDINFO_OUTBUFPTR DS 1AL4
ORG PARMS_INTERFACE
PARMS_THREADLIST DS 0CL0008
PARMS_THREADLIST_OUTBUFPTR DS 1AL4
PARMS_THREADLIST_OUTBUFCNT DS 1AL4
ORG PARMS_INTERFACE
PARMS_PIDLIST DS 0CL0008
PARMS_PIDLIST_OUTBUFPTR DS 1AL4
PARMS_PIDLIST_OUTBUFCNT DS 1AL4
ORG PARMS_INTERFACE
PARMS_ASIDLIST DS 0CL0008
PARMS_ASIDLIST_OUTBUFPTR DS 1AL4
PARMS_ASIDLIST_OUTBUFCNT DS 1AL4
ORG PARMS_INTERFACE
PARMS_THREADCURRENT DS 0CL0004
PARMS_THREADCURRENT_OUTBUFPTR DS 1AL4
ORG PARMS_INTERFACE
PARMS_SETASID DS 0CL0004
PARMS_SETASID_INBUFPTR DS 1AL4
ORG PARMS_INTERFACE
PARMS_SETPID DS 0CL0004
PARMS_SETPID_INBUFPTR DS 1AL4
ORG PARMS_INTERFACE
PARMS_SETTHREAD DS 0CL0004
PARMS_SETTHREAD_INBUFPTR DS 1AL4
ORG PARMS_INTERFACE
PARMS_PSW DS 0CL0004
PARMS_PSW_OUTBUFPTR DS 1AL4
ORG PARMS_INTERFACE
PARMS_ERROR_PSW DS 0CL0004
PARMS_ERROR_PSW_OUTBUFPTR DS 1AL4
ORG PARMS_INTERFACE
PARMS_THREADSTATUS DS 0CL0008
PARMS_THREADSTATUS_OUTBUFPTR DS 1AL4
PARMS_THREADSTATUS_OUTBUFLEN DS 1AL4
ORG PARMS_INTERFACE
PARMS_GPRLIST DS 0CL0008
PARMS_GPRLIST_OUTBUFPTR DS 1AL4
PARMS_GPRLIST_OUTBUFLEN DS 1AL4
ORG PARMS_INTERFACE
PARMS_ERROR_GPRLIST DS 0CL0008
PARMS_ERROR_GPRLIST_OUTBUFPTR DS 1AL4
PARMS_ERROR_GPRLIST_OUTBUFLEN DS 1AL4
ORG PARMS_INTERFACE
PARMS_FLTLIST DS 0CL0008
PARMS_FLTLIST_OUTBUFPTR DS 1AL4
PARMS_FLTLIST_OUTBUFLEN DS 1AL4
ORG PARMS_INTERFACE
PARMS_ERROR_FLTLIST DS 0CL0008
PARMS_ERROR_FLTLIST_OUTBUFPTR DS 1AL4
PARMS_ERROR_FLTLIST_OUTBUFLEN DS 1AL4
ORG PARMS_INTERFACE
PARMS_CONDITIONINFO DS 0CL0008
PARMS_CONDITIONINFO_OUTBUFPTR DS 1AL4
PARMS_CONDITIONINFO_OUTBUFLEN DS 1AL4
ORG PARMS_INTERFACE
PARMS_IPCSCMD DS 0CL0012
PARMS_IPCSCMDTEXT_INBUFPTR DS 1AL4
PARMS_IPCSCMDTEXT_INBUFLEN DS 1AL4
PARMS_IPCSCMDPRNT_LRECL DS 1AL4
PARMS_XRVPTR DS 1AL4 Return Value
PARMS_XRCPTR DS 1AL4 Return Code
PARMS_XRSNPTR DS 1AL4 Reason Code
PARMS_LEN EQU *-PARMS
PARMSG DSECT
PARMS_FUNCTYPEPTRG DS 1AD
PARMS_DCOMTOKENPTRG DS 1AD
PARMS_INTERFACEG DS 0CL0024
ORG PARMS_INTERFACEG
PARMS_CAPTUREG DS 0CL0024
PARMS_CAPTURE_PSTORADRG DS 1AD
PARMS_CAPTURE_PSTORLENG DS 1AD
PARMS_CAPTURE_PDATAADRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_READDG DS 0CL0024
PARMS_READD_PSTORADRG DS 1AD
PARMS_READD_PSTORLENG DS 1AD
PARMS_READD_PDATAADRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_LDINFOG DS 0CL0008
PARMS_LDINFO_OUTBUFPTRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_THREADLISTG DS 0CL0016
PARMS_THREADLIST_OUTBUFPTRG DS 1AD
PARMS_THREADLIST_OUTBUFCNTG DS 1AD
ORG PARMS_INTERFACEG
PARMS_PIDLISTG DS 0CL0016
PARMS_PIDLIST_OUTBUFPTRG DS 1AD
PARMS_PIDLIST_OUTBUFCNTG DS 1AD
ORG PARMS_INTERFACEG
PARMS_ASIDLISTG DS 0CL0016
PARMS_ASIDLIST_OUTBUFPTRG DS 1AD
PARMS_ASIDLIST_OUTBUFCNTG DS 1AD
ORG PARMS_INTERFACEG
PARMS_THREADCURRENTG DS 0CL0008
PARMS_THREADCURRENT_OUTBUFPTRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_SETASIDG DS 0CL0008
PARMS_SETASID_INBUFPTRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_SETPIDG DS 0CL0008
PARMS_SETPID_INBUFPTRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_SETTHREADG DS 0CL0008
PARMS_SETTHREAD_INBUFPTRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_PSWG DS 0CL0008
PARMS_PSW_OUTBUFPTRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_ERROR_PSWG DS 0CL0008
PARMS_ERROR_PSW_OUTBUFPTRG DS 1AD
ORG PARMS_INTERFACEG
PARMS_THREADSTATUSG DS 0CL0016
PARMS_THREADSTATUS_OUTBUFPTRG DS 1AD
PARMS_THREADSTATUS_OUTBUFLENG DS 1AD
ORG PARMS_INTERFACEG
PARMS_GPRLISTG DS 0CL0016
PARMS_GPRLIST_OUTBUFPTRG DS 1AD
PARMS_GPRLIST_OUTBUFLENG DS 1AD
ORG PARMS_INTERFACEG
PARMS_ERROR_GPRLISTG DS 0CL0016
PARMS_ERROR_GPRLIST_OUTBUFPTRG DS 1AD
PARMS_ERROR_GPRLIST_OUTBUFLENG DS 1AD
ORG PARMS_INTERFACEG
PARMS_FLTLISTG DS 0CL0016
PARMS_FLTLIST_OUTBUFPTRG DS 1AD
PARMS_FLTLIST_OUTBUFLENG DS 1AD
ORG PARMS_INTERFACEG
PARMS_ERROR_FLTLISTG DS 0CL0016
PARMS_ERROR_FLTLIST_OUTBUFPTRG DS 1AD
PARMS_ERROR_FLTLIST_OUTBUFLENG DS 1AD
ORG PARMS_INTERFACEG
PARMS_CONDITIONINFOG DS 0CL0016
PARMS_CONDITIONINFO_OUTBUFPTRG DS 1AD
PARMS_CONDITIONINFO_OUTBUFLENG DS 1AD
ORG PARMS_INTERFACEG
PARMS_IPCSCMDG DS 0CL0024
PARMS_IPCSCMDTEXT_INBUFPTRG DS 1AD
PARMS_IPCSCMDTEXT_INBUFLENG DS 1AD
PARMS_IPCSCMDPRNT_LRECLG DS 1AD
PARMS_XRVPTRG DS 1AD
PARMS_XRCPTRG DS 1AD
PARMS_XRSNPTRG DS 1AD
PARMSG_LEN EQU *-PARMSG
ASIDLIST_MAP DSECT
ASID_NEXTOFF DS 1FL4 Offset to the next ASID in DcomAsidList
ASID_NUM DS 1FL2
ASID_CPU DS 1FL1 CPUID
ASID_FLAGS DS 0BL1 Status flags
ASID_HOME EQU X'80' Current HOMEAsid
ASID_PRIM EQU X'40' Current PRIMARY ASID
ASID_SEC EQU X'20' Current SECONDARY ASID
ORG ASID_FLAGS+X'00000001'
ASID_JOBNAME DS 1CL0009
DS 1CL0003 Reserved
ASID_PIDCNT DS 1FL4 Number of Pids in this Asid
ASID_ASCB DS 1AL4 Pointer to ASCB
DS 1CL0004 Reserved
ASID_PIDLISTPTR DS 1AL4 Pointer to the pidlist for This Asid
DS 1CL0004 Reserved
ASID_MAPEND DS 0C end of block
ASIDLIST_MAP_LEN EQU *-ASIDLIST_MAP
PIDLIST_MAP DSECT
PID_NEXTOFF DS 1FL4 Offset to the next Pid in DcomPidList
PID_ DS 1FL4 Process id
PID_ASID DS 1FL2 Asid of this Pid
PID_THIDCNT DS 1FL2 Count of thids in this pid
PID_FOCUSTHREAD DS 1CL0008 Ptrace focus thread
PID_ERRORTHREAD DS 1CL0008 Ptrace error thread
PID_LOGINNAME DS 1CL0009 Tso logon
DS 1CL0003 Reserved
PID_THIDLISTPTR DS 1AL4 list info for each THID
DS 1CL0004 Reserved
PID_PENDINGSIGMASK DS 1BL8 Signals pending at the process that could X
not be delivered to any thread
PID_BLOCKEDSIGMASK DS 1BL8 Signals blocked on all thread
PID_MAPEND DS 0C end of block
PIDLIST_MAP_LEN EQU *-PIDLIST_MAP
CONDINFO_MAP DSECT
COND_CURABENDINFO DS 0CL0016 If current task abended
COND_CURINTCODE DS 1FL2 Interrupt code
COND_CURSIGNUMBER DS 1FL2 Signal number raised
COND_CURABENDCODE DS 0BL4 Abend code
COND_CURABENDFLAGS DS 1BL1 System or user
COND_CURABENDCC DS 1BL3 Abend Number
COND_CURABENDREASON DS 1BL4 Abend Reason
COND_CURILC DS 1FL2 Instruction length
DS 1CL0002 Reserved
CONDINFO_MAPEND DS 0C end of block
CONDINFO_MAP_LEN EQU *-CONDINFO_MAP