Specifies the name and format of the object code file and generated code file.
Note: This directive is supported for native COBOL only.
Syntax:
>>-.---.-.-----OBJ-.-------------..--------><
+-/-+ | +-"filename"--+|
+-NO--OBJ----------------+
Parameters:
filename
|
A full file specification.
|
Properties:
Default:
|
OBJ"source-name.obj"
|
Phase:
|
Generate
|
$SET:
|
Any
|
Comments:
This directive creates a file in the format specified, with the name specified. For example, if you specify OBJ"myprog.obj", then a file myprog.obj is produced that contains object code.
With NOOBJ, no object code file is produced. If this directive is not specified, the name of the object code file is the basename of the source code file with an extension of .obj.