News
Abstract
Enterprise COBOL V6.3 Enablement.
Content
1) Enterprise COBOL 6.3 Enablement
From compile unit <prog-name> at entry point <prog-name> at compile unit offset +xxxxxxxx at entry offset +yyyyyyyy at address wwwwwwww.
B. Updates in the LE Vendor Interface Guide.
> Chapter 1. Common interfaces and conventions
>> Prolog information blocks
>>> common runtime environment
=============================================================================
- ’Member identifier’ in PPA2 is 4 (Bits 0 - 17 in PPA2 offset X'00' is 4) .
- ’PPA4 program flags’ indicates ‘PPA4 version’ is 1 (Bits 16-23 in PPA4 offset X’04’ is 1) note.1
- ‘PPA4 program flags’ indicates 31-bit compile (Bit 13 in PPA4 offset X’04’ is 0) note.1
Offset |
Length |
Description |
X'00' |
4 |
Reserved |
X'04' |
4 |
Signed offset from PPA3 to base locator table. Zero if not available. |
X'08' |
4 |
Signed offset from PPA3 to special register table. Zero if not available. |
X'0C' |
4 |
Signed offset from code CSECT(starting address of Compile Unit Entry) to USER-ENTRY(User COBOL Program Entry). |
1. The same PPA3 layout applies to COBOL 64-bit programs with the following:
- ’PPA4 program flags’ indicates ‘PPA4 version’ is 5 (Bits 16-23 in PPA4 offset X’04’ is 5);
- ‘PPA4 program flags’ indicate 64-bit compile (Bit 13 in PPA4 offset X’04’ is 1)
II. Part.2 Language Environment vendor interfaces for AMODE 64 applications.
> Chapter 20. Common interfaces and conventions for AMODE 64 applications
>> Prolog information blocks
>>> common runtime environment
III. Part.1 Language Environment vendor interfaces for AMODE 31/AMODE 24 applications.
> Chapter 1. Common interfaces and conventions
>> common runtime environment
>>> Prolog information blocks
The new PPA4 format referred to as ‘with minor version’(Bit 6 in PPA4 offset X’00’ is ON) stores the csect name near the end of PPA4, therefore keeping all of the PPA4 fields at a fixed location and providing better usability.
Common interfaces and conventions for AMODE 64 applications
> Chapter 20. Common interfaces and conventions for AMODE 64 applications
>> common runtime environment
>>> Prolog information blocks
- ‘Member identifier’ in PPA2 is 4 (Bits 0 - 17 in PPA2 offset X'00' is 4)
- ‘PPA4 program flags’ indicates ‘PPA4 version’ is 5 (Bits 16-23 in PPA4 offset X’04’ is 5)
- ‘PPA4 program flags’ indicates 64-bit compile (Bit 13 in PPA4 offset X’04’ is 1)
Table 1. COBOL 64-bit PPA4 layout
Offset |
Length |
Description |
X'00' |
4 |
PPA4 debug flags for PPA4 version 5 (same byte/bit position as 31bit PPA4) |
X'04' |
4 |
PPA4 program flags (same byte/bit position and same as 31bit PPA4) |
X’08’ |
4 |
PPA4 debug flags 2 (reserved, set to zero) |
X’0C’ |
4 |
PPA4 program flags 2 (reserved, set to zero) |
X’10’ |
6 |
Reserved (set to zero) |
X’16’ |
2 |
minor-version (unsigned integer), 0. (the version of current layout is 5.0) |
X'18' |
8 |
Address of NORENT static |
X’20’ |
8 |
Length of NORENT static (in bytes) |
X'28' |
8 |
Signed offset from PPA4 to code csect |
X'30' |
8 |
Length of code csect (in bytes) |
X'38' |
8 |
Signed offset from PPA4 to code csect name (prefixed with 2 bytes string length). |
X'40' |
8 |
Offset 64bit UsrWrkStrg (Offset from Above The Bar Heap (64bit) to first user data item in WORKING-STORAGE section.) |
X'48' |
8 |
Length 64bit UsrWrkStrg (in bytes) |
X’50’ |
4 |
Offset 31bit UsrWrkStrg (Offset from Below The Bar Heap (31bit) to first 31bit user data item.) |
X’54’ |
4 |
Length 31bit UsrWrkStg (in bytes) |
X’58’ |
4 |
Offset 24bit UsrWrkStrg (Offset from Below The Line Heap (24bit) to first 24bit user data item.) |
X’5C’ |
4 |
Length 24bit UsrWrkStg (in bytes) |
X’60’ |
1 |
Has externals |
X’61’ |
3 |
Reserved (set to zero) |
X'64' |
8 |
Signed offset from PPA4 to SYSDEBUG dataset name (prefixed with 2 bytes string length). |
X’6C’ |
8 |
Size of Above The Bar Heap (COBOL’s 64bit storage area) |
X’74’ |
4 |
Size of Below The Bar Heap (COBOL’s 31bit storage area) |
X’78’ |
4 |
Size of Below The Line Heap (COBOL’s 24bit storage area) |
X’7C’ |
8 |
Signed offset from Environment to Heap Storage Address Table |
2) New Run-Time Messages.
Related Information
Was this topic helpful?
Document Information
Modified date:
06 September 2019
UID
ibm11071882