ENABLE Reference Manual

ENABLE ATTRIBUTES
SCOBOLOBJECT Attribute
SCOBOLOBJECT Attribute
The SCOBOLOBJECT attribute identifies the object file to which
the SCREEN COBOL compiler directs the compiled SCREEN COBOL
program. The syntax of the SCOBOLOBJECT attribute is:
-----------------------------------------------------------------
| |
| SCOBOLOBJECT [ <file-name> ] |
| |
| NOTE: APPL must be the object type in effect when you |
| supply a value for this application attribute. |
| |
| <file-name> |
| |
| identifies a name that the SCREEN COBOL compiler uses for |
| the files containing the SCREEN COBOL object code and the |
| directory for this object code. <file-name> must conform |
| to the SCREEN COBOL compiler requirements and must not |
| exceed five characters. |
| |
| If you omit <file-name> with the SCOBOLOBJECT attribute, |
| ENABLE suppresses compilation of the SCREEN COBOL |
| program. |
| |
| The starting value of the SCOBOLOBJECT attribute is POBJ on |
| the default volume and subvolume. |
| |
-----------------------------------------------------------------
The SCREEN COBOL compiler writes the object code and directory
information on two disc files. The compiler appends the
characters COD to <file-name> to determine the name of the file
that is to contain the object code. The compiler appends the
characters DIR to <file-name> to determine the name of the file
that is to contain the directory for the object code.
If files with these names exist, the SCREEN COBOL compiler
appends the new object code to these files.
If the files already exist and contain object code for an
application with the same program-unit name, the SCREEN COBOL
compiler adds the new version of the object code to the object
files. The old version of the code remains in the object files;
however, PATHWAY uses the newest version of this code. To remove
unwanted old versions of object code, use the SCREEN COBOL
Utility Program (SCUP).
Refer to the ENABLE User's Guide for a discussion of removing old
versions of object code.
4-51