ENABLE Reference Manual

ENABLE ATTRIBUTES
SCOBOLSOURCE Attribute
SCOBOLSOURCE Attribute
The SCOBOLSOURCE attribute identifies a file to which ENABLE
writes the SCREEN COBOL source code. The syntax for the
SCOBOLSOURCE attribute is:
-----------------------------------------------------------------
| |
| SCOBOLSOURCE <file-name> [!] |
| |
| NOTE: APPL must be the object type in effect when you |
| supply a value for this application attribute. |
| |
| <file-name> |
| |
| identifies the file to which ENABLE is to write the |
| SCREEN COBOL source code. ENABLE writes this file in |
| edit-type file format. |
| |
| ! |
| |
| indicates that ENABLE is to overwrite an existing file. |
| If an edit-type file named <file-name> exists and you |
| specify !, ENABLE writes over the existing file when you |
| generate an application with this SCOBOLSOURCE setting. |
| If <file-name> already exists and ! is not specified or |
| if <file-name> is not an edit-type file, an error occurs. |
| |
| |
| If you do not set a value for the SCOBOLSOURCE attribute, |
| ENABLE writes the source code to a temporary file with a |
| name of the form ZZENSnnn. If no errors occur during |
| compilation, ENABLE purges this file. |
| |
-----------------------------------------------------------------
Considerations
This command is useful if you want to modify an application
generated by ENABLE. You can use the SCREEN COBOL source code
produced by ENABLE, make your modifications, and compile the
SCREEN COBOL source program.
4-55