IBM OS/390 User Manual

Page of 673
11.5 Other Differences
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
243
11.5.1 Performance
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
243
11.5.2 Installation Exits
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
243
11.5.3 Accounting
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
244
11.6 References
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
244
11.6.1 PSF/VSE Publications
 . . . . . . . . . . . . . . . . . . . . . . . . . . .
244
11.6.2 PSF/MVS Publications 
. . . . . . . . . . . . . . . . . . . . . . . . . . .
 244
11.6.3 Redbooks
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
244
11.6.4 Other Sources
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
244
11.6.5 Tools
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
244
11.6.6 Services
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
245
Part 3. Converting VSE Languages to OS/390 Languages
. . . . . . . . . . . . . . . . . .
247
Chapter 12. COBOL
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
249
12.1 Introduction
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
249
12.1.1 General Comments on COBOL for OS/390 and VM
. . . . . . . . .
 249
12.1.2 Comparison of IBM COBOL Compilers 
. . . . . . . . . . . . . . . . .
 250
12.2 VSE to OS/390 Migration Considerations
. . . . . . . . . . . . . . . . . .
 250
12.2.1 Migrating Object Code
. . . . . . . . . . . . . . . . . . . . . . . . . .
 251
12.2.2 Useful Publications
 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
251
12.3 Converting from DOS/VS COBOL
. . . . . . . . . . . . . . . . . . . . . .
 252
12.3.1 DOS/VS COBOL CICS Programs
. . . . . . . . . . . . . . . . . . . .
 252
12.3.2 DOS/VS COBOL Programs Containing REPORT WRITER
Statements
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
253
12.4 DOS/VS COBOL and COBOL for OS/390 and VM Language Differences  253
12.4.1 Common COBOL Coding Problems
. . . . . . . . . . . . . . . . . . .
 253
12.4.2 ENVIRONMENT DIVISION 
 . . . . . . . . . . . . . . . . . . . . . . . . .
255
12.4.3 DATA DIVISION - FILE DESCRIPTION (FD)
. . . . . . . . . . . . . . .
 256
12.4.4 PROCEDURE DIVISION - Input/Output
. . . . . . . . . . . . . . . . .
 256
12.4.5 File Handling Considerations
. . . . . . . . . . . . . . . . . . . . . .
 257
12.5 Converting from VS COBOL II
. . . . . . . . . . . . . . . . . . . . . . . . .
 258
12.5.1 VS COBOL II CICS Programs
. . . . . . . . . . . . . . . . . . . . . .
 259
12.6 Converting from COBOL for VSE/ESA
. . . . . . . . . . . . . . . . . . . .
 259
12.7 Some Conversion Considerations for all VSE COBOL Compilers
. . . .
 259
12.7.1 VSAM
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
259
12.7.2 DISPLAY Statement
 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
259
12.8 Compiler Options
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
260
12.8.1 RES/NORES
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
260
12.9 Reserved Words
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
263
12.9.1 Reserved Word Considerations for DOS/VS COBOL 
. . . . . . . . .
 263
12.9.2 Reserved Word Considerations for VS COBOL II and COBOL for
VSE/ESA
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
265
12.10 Compiling and Running Your Converted COBOL Programs
. . . . . .
 265
Chapter 13. Assembler
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
267
13.1 Assembler Products
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
267
13.2 General Assembler Conversion Comments
. . . . . . . . . . . . . . . .
 267
13.2.1 System Interface and Macros
. . . . . . . . . . . . . . . . . . . . . .
 268
13.2.2 Multitasking Macros
 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
283
13.2.3 Interrupt Handling Routines
. . . . . . . . . . . . . . . . . . . . . . .
 287
13.2.4 Virtual Storage Macros
. . . . . . . . . . . . . . . . . . . . . . . . . .
 289
13.2.5 VSAM Macros
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
290
13.2.6 Data Management Macros
. . . . . . . . . . . . . . . . . . . . . . . .
 292
viii
VSE to OS/390 Migration Workbook