The Micro Focus compiler options are listed here alphabetically, you may browse them, click on the link to go directly to the error code or you may use the search feature of your browser to search for the information.
Properties:
Default: QUAL
Phase: Syntax check
Environment: All
$SET: Any
Remarks: If you have no qualified data-names or procedure-names in your source code, you can specify NOQUAL. This improves compilation speed.
See also:
QUALPROC Compiler directive
Properties:
Default: QUALPROC
Phase: Syntax check
Environment: All
$SET: Any
Remarks: If you have no qualified procedure-names in your source code, you can specify NOQUALPROC. This improves compilation speed. If you have qualified data-names but no qualified procedure-names, you should specify QUAL and NOQUALPROC.
See also:
QUAL Compiler directive
Properties:
Default: QUERY (DOS, Windows and OS/2)
NOQUERY (UNIX)
Phase: Syntax check
Environment: All
$SET: Any
Remarks: With QUERY, if the Compiler cannot find a copyfile it asks you whether to terminate the compilation, try the search again, produce an error message and continue, or try again with an alternative path specified by you.
With NOQUERY, the Compiler simply produces an error message and continues.Properties:
Default: QUOTE
Phase: Syntax check
Environment: All
$SET: Any
Remarks: The opposite of this directive is the directive APOST which causes the single-quote character to be used.
Properties:
Default: NORAWLIST
Phase: Syntax check
Environment: All
$SET: Any
Remarks: Specifying this directive does not affect whether a listing is produced or the name of the listing file.
See also:
LIST Compiler directive
Properties:
Default: NORDEFPTR
Phase: Syntax check
Environment: All
$SET: Any
Remarks: The RDEFPTR directive is Early User Syntax support. You must set the EARLY-RELEASE directive to enable this feature. This directive might change or be removed in a later revision of this system.
IBM VS COBOL II and COBOL/370 let you use the REDEFINES clause on a POINTER data item to redefine it as a PIC 9(9) COMP data item. You can then perform arithmetic operations on this item, giving the program the ability to shift the address referred to by a pointer up or down. If RDEFPTR is specified, COMP redefinitions of POINTER data items are held in machine-specific format; that is, they are treated as COMP-5 data items. This means that arithmetic carried out on the redefinition should have the expected effect on the pointer, though, on 16-bit systems, unexpected behavior might occur if the arithmetic causes the pointer to cross the boundary of a data segment.See also:
EARLY-RELEASE Compiler directive
Properties:
Default: NORDW
Phase: Syntax check
Environment: All
$SET: Any
Remarks: If you specify the RDW directive, a four-byte record-length field is allocated immediately before the record area for the file. After a READ, the length (in binary) of the record just read is put in the first two bytes of this record area. The length returned includes the record-length field itself, so is four bytes longer than the actual record length.
You can access this field by defining the record area as a table, and using negative or zero subscripting. The RDW directive is intended only for mainframe compatibility; for new programs you should use the RECORD IS VARYING DEPENDING ON phrase of the FD statement. Example:See also:
FD statement
Properties:
Default: REALOVL
Phase: Generate
Environment: 16-bit
$SET: Initial
Remarks: This directive affects only .obj files.
This directive affects only programs that use COBOL segmentation. It affects only the generated .lnk file. REALOVL makes the overlays real by putting them in brackets in the file. NOREALOVL makes overlays pseudo. If you are compiling a segmented program for use on OS/2, you should specify NOREALOVL.Parameters:
format F, V, or OSVS.
Properties:
Default: RECMODE"F"
Phase: Syntax check
Environment: All
$SET: Initial
Remarks:
The possible values of
This setting is compatible with OS/VS COBOL and DOS/VS COBOL. When
compiled with their CMPR2 directive, both VS COBOL II COBOL/370 are also
compatible with RECMODE"OSVS". For compatibility with VS COBOL II and
COBOL/370 when compiled with NOCMPR2, you must specify RECMODE"F".
Properties:
Default: NOREF
Phase: Both
Environment: All (syntax check), 16-bit (generate)
$SET: Any
Dependencies:
REF sets LISTWIDTH"90" immediately unless LISTWIDTH already has a value
greater than 90.
Set to NOREF at end by NOASMLIST, NOLIST or LISTWIDTH with a value less than
90.
Remarks: The address is four digits long and appears on the right-hand side.
Using both source and object code listings together, you can identify the code generated for each line of source code. This directive can also be useful in determining the locations reported in run-time error messages. If the 01SHUFFLE directive is set, the addresses shown in the listing for data items are likely to be different to those in the compiled code.See also:
01SHUFFLE Compiler directive
LISTWIDTH Compiler directive
Properties:
Default: NOREFNO
Phase: Syntax check
Environment: All
$SET: No
Parameters:
when-used IN or OUT.
Properties:
Default: NOREGPARM
Phase: Generate
Environment: 16-bit
$SET: Initial
Dependencies:
If ASSUME is set, REGPARM"IN" sets NOFASTLINK at end.
If ASSUME is set, REGPARM"OUT" sets LITLINK at end.
Remarks: This directive affects only .obj files.
(when-used) shows when the alternative mechanism is to be used. Its possible values are:Parameters:
rsv-word A reserved word.
Properties:
Default: No reserved words are removed.
Phase: Syntax check
Environment: All
$SET: Initial
Remarks: This directive does not appear in the list created with the SETTING directive.
Parameters:
integer The maximum length, in characters.
Properties:
Default: REPORT-LINE"256"
Phase: Syntax check
Environment: All
$SET: Initial
Properties:
Default: RESEQ
Phase: Syntax check
Environment: All
$SET: Initial
Dependencies:
Set to RESEQ immediately by XREF.
Set to NORESEQ immediately by SEQCHK.
Set to NORESEQ at end by SOURCEFORMAT"FREE".
Remarks: These are COBOL line sequence numbers, starting at 1 and increasing in increments of 1.
Parameters:
ANSI See Remarks.
Properties:
Default: NORM
Phase: Syntax check
Environment: All
$SET: Initial
Dependencies:
RM sets SEQUENTIAL"LINE", NOTRUNC, OLDINDEX, NOOPTIONAL-FILE, RETRYLOCK and
ALIGN"2" immediately.
RM"ANSI" sets SEQUENTIAL"RECORD", NOTRUNC, OLDINDEX, NOOPTIONAL-FILE,
RETRYLOCK and ALIGN"2" immediately.
NORM sets SEQUENTIAL"RECORD", TRUNC"ANSI", NOOLDINDEX, OPTIONAL-FILE,
NORETRYLOCK and ALIGN"8" immediately.
Remarks: With the ANSI parameter these features behave as they do when a program is compiled in that system with the ANSI switch set. See your Language Reference.
Properties:
Default: NORNIM
Phase: Syntax check
Environment: All
$SET: No
Dependencies:
RNIM sets NOLIST, NOANIM and NOXREF immediately.
Set to NORNIM at end by GANIM.
Remarks: The effect is as if you had invoked Animator in the normal way.
You must have already compiled the program using the ANIM directive to prepare it for animation. You can use Animator directives with RNIM. With RNIM, no object file is produced by default.See also:
Animator Directives
Parameters:
integer 2 or 4.
Properties:
Default: RTNCODE-SIZE"2"
Phase: Syntax check
Environment: All
$SET: Initial
Dependencies: Set to RTNCODE-SIZE"4" immediately by XOPEN.
Remarks: The possible values of (integer) are:
If you experience a problem with this page, please send a message to JTate@JaTomes.Com including a description of the problem.
Last modified: Thursday Aug-06-1998.