Control register 1 is the STOR which contains the segment table of the.currently running address space. CR1 contains only 18 bits. To find the segment tab;e, DAT appends 6 bits of 0s to form the real address for the segment table.
Sunday, March 31, 2024
Segment Table Origin Tegister
Page Table Entry
Mainframe Storage Evolution
Saturday, March 16, 2024
Domain Linkage
Calling into a domain gate is via a macro for the desired gate. The macro set R1 to point to the TPL, set R0 to contain the row and column numbers of the gate in the Domain Gate Table and then call to the module DFHKEDCL to link to the gate. The RPL contains a fixed length header and a variable length parameter list.
CICS use standard register convention when entering gate. R1 points to the parm list. R4 points to the stack storage of current user (similar to stack frame pointer which point to the base of the current frame). R13 points to top of stack of the current frame. R14 is the return address and R15 is the go to addresss.
CICS Task and Transaction
A task is a how represented by DTA (Dispatcher Task Area) control block in the Dispatcher Domain. A task is created via the ATTACH call to the dispatcher and is registered with the Kernel domain such that an KE task is assigned with associated KSS storage.
A transaction refers to a how originated from AP domain with an associated TCA and EIS control block there. A TQE (task year element) in AP which map to DTA in DS which in turn maps to KE.
System task only have DTA but no TCA
Kernel Anchor Block
KCB contains some fields previously found in CSA. It contains the address of the KE-Task table which map work unit to TCB (QR, CO, RO resource owning etc). It also co gain pointers to the KSS (kernel stack segments) which is 2 stacks (24 and 31 bits) used for save area for each KE task when module calling. KSS is in MVS storage separate form application for better protection.
Domain Gate Table
This table reside in the kernel domain and contains pointer to the domain anchor block and the entry points of the specific and generic domain gates for each domain. The index to the table form the domain token.