COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
17 HP Extensions to ISO COBOL.................................................................705
Source Program Organization and Format...............................................................................705
Language Elements...............................................................................................................705
Data Fundamentals...............................................................................................................706
Environment Division.............................................................................................................706
Data Division.......................................................................................................................706
Procedure Division Verbs.......................................................................................................707
18 HP COBOL CRE Support.......................................................................709
Introducing the CRE..............................................................................................................709
Shared File Operations..........................................................................................................709
Arithmetic Overflow Processing..............................................................................................709
19 Using HP COBOL in the OSS Environment...............................................711
Running the ECOBOL Compiler..............................................................................................711
Running HP COBOL Programs................................................................................................712
Calling OSS Functions From HP COBOL Programs....................................................................712
Mixed-Language Programs.....................................................................................................712
Changing Default Pathnames and Disk Volume.........................................................................713
Files in the OSS Environment..................................................................................................713
OSS Pathnames...............................................................................................................713
OSS Pathnames in HP COBOL Source Programs..................................................................715
OSS Files in HP COBOL Source Programs...........................................................................716
#IN and #OUT................................................................................................................716
Line Sequential Files..............................................................................................................716
File-Control Entries...........................................................................................................716
File Description Entries......................................................................................................718
I-O-CONTROL Paragraph.................................................................................................719
OPEN Statement .............................................................................................................720
READ Statement...............................................................................................................721
WRITE Statement.............................................................................................................722
Features Unavailable in the OSS Environment...........................................................................723
ASSIGN Commands........................................................................................................723
PARAM Commands..........................................................................................................723
Compiler Directives..........................................................................................................724
Process Pairs...................................................................................................................724
Features That Operate Differently in the OSS Environment..........................................................724
ACCEPT and DISPLAY Statements.......................................................................................724
Utility Routines.................................................................................................................724
20 HP COBOL Limits.................................................................................726
Size....................................................................................................................................726
Number..............................................................................................................................727
Callability............................................................................................................................729
External Names....................................................................................................................729
Ranges of Values..................................................................................................................729
Ignored Elements..................................................................................................................730
21 Reserved Words...................................................................................731
All Reserved Words..............................................................................................................731
A...................................................................................................................................731
B...................................................................................................................................732
C...................................................................................................................................732
D...................................................................................................................................733
E...................................................................................................................................734
F...................................................................................................................................735
G..................................................................................................................................736
12 Contents










