Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Example: DSA memory map

The following example shows LIST output for the dynamic save area (DSA). The DSA contains information about the contents of the storage acquired when a separately compiled procedure is entered.

DATA VALIDATION AND UPDATE PROGRAM   IGYTCARA Date 12/30/2007 Time 10:48:16
           *** DSA MEMORY MAP ***
           (1)     (2)
           DSALOC

           000000  REGISTER SAVE AREA
           00004C  STACK NAB (NEXT AVAILABLE BYTE)
           000058  ADDRESS OF INLINE-CODE PRIMARY DSA
           00005C  ADDRESS OF TGT
           000060  ADDRESS OF CAA
           000084  SWITCHES
           000088  CURRENT INT. PROGRAM OR METHOD NUMBER
           00008C  ADDRESS OF CALL STATEMENT PROGRAM NAME
           000090  CALC ROUTINE REGISTER SAVE AREA
           0000C4  ADDRESS OF FILE MUTEX USE COUNT CELLS
           0000C8  PROCEDURE DIVISION RETURNING VALUE
           
           *** VARIABLE PORTION OF DSA ***

           0000D0  BACKSTORE CELLS FOR SYMBOLIC REGISTERS
           000158  BASE LOCATORS FOR ALPHANUMERIC TEMPS
           00015C  VARIABLE-LENGTH CELLS
           000170  ODO SAVE CELLS
           00017C  VARIABLE NAME (VN) CELLS FOR PERFORM
           0001EC  PERFORM SAVE CELLS
           000320  TEMPORARY STORAGE-1
           000330  TEMPORARY STORAGE-2
           000500  ALL PARAMETER BLOCK
           000564  ALPHANUMERIC TEMPORARY STORAGE
(1)
Hexadecimal offset of the DSA field from the start of the DSA
(2)
Explanation of the contents of the DSA field

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)