IBM OS/390 User Manual

Page of 673
12.9.2 Reserved Word Considerations for VS COBOL II and COBOL for
VSE/ESA
There are two reserved words in COBOL for OS/390 and VM that are not
reserved in VS COBOL II. These are shown in Figure 25. They are reserved in
COBOL for VSE/ESA.
FUNCTION
PROCEDURE-POINTER
Figure 25. Reserved Words i n COBOL for OS/390 and VM and not i n VS COBOL II
The following words are reserved in COBOL for OS/390 and VM for the
object-oriented COBOL extensions. They are not reserved in VS COBOL II or
COBOL for VSE/ESA. Use the compiler option WORD(NOOO) if you are
recompiling VS COBOL II or COBOL for VSE/ESA programs under COBOL for
OS/390 and VM that use any of these words.
CLASS-ID
LOCAL-STORAGE
OBJECT
RETURNING
END-INVOKE
METACLASS
OVERRIDE
SELF
INHERITS
METHOD RECURSIVE SUPER
INVOKE
METHOD-ID
REPOSITORY
Figure 26. Reserved Words i n COBOL for OS/390 and VM for Object-Oriented COBOL
Extensions
12.10 Compiling and Running Your Converted COBOL Programs
Typically, job control procedures are used to compile, linkedit and run COBOL
for OS/390 and VM programs under OS/390. Eight procedures are supplied with
COBOL for OS/390 and VM to do this.
IGYWC
Compile only.
IGYWCG
Compile, load, and run. This is equivalent to the process of
compile, link and go
 in VSE.
IGYWCL
Compile and linkedit.
IGYWCLG
Compile, linkedit, and run.
IGYWCPL
Compile, prelink, and linkedit.
IGYWCPLG
Compile, prelink, linkedit and run.
IGYWPL
Prelink and linkedit.
IGYWCPG
Compile, prelink, load, and run.
The use of these procedures is described fully in the
 COBOL for OS/390 and VM
Programming Guide.
Chapter 12. COBOL
265