Micro Focus Compiler Options C

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.

  • 01SHUFFLE - No segment boundary crossing
  • 64KPARA - Segment breaking
  • 64KSECT - Segment breaking
  • ACCEPTREFRESH - Update associated data on ACCEPT
  • ADDRSV - Add reserved word
  • ADDSYN - Add synonym
  • ADV - Adds control characters to print files
  • ALIAS - Subscripts
  • ALIGN - Data alignment
  • ALPHASTART - Numbering in ALPHABET
  • ALTER - Allow ALTER
  • ANALYZE - * For Analyze
  • ANIM - For Animator
  • ANS85 - ANSI'85
  • APOST - QUOTE = '
  • AREACHECK - AREA A tokens, treat as section/paragraph
  • ARITHMETIC - Arithmetic expressions
  • ASM - Produce object code listing
  • ASMLIST - File for assembly listing
  • ASSIGN - EXTERNAL or DYNAMI C
  • ASSIGN-PRINTER - Printer output
  • ASSUME - Modify behavior of some directives
  • AUTOLOCK - Default locking
  • BADSIGNS - Allow illegal sign nibbles
  • BELL - Bleep when stop
  • BOUND - Bound-check
  • BOUNDOPT - Optimize tables
  • BRIEF - No message texts
  • BROWSE - Create .SBR file
  • BWZSTAR - BLANK WHEN ZERO and PIC *
  • BYTE-MODE-MOVE - Control overlapping moves
  • CALLADIS - * External ACCEPT/DISPLAY handler
  • CALLFH - * External file handler
  • CALLMAP - Reserved for internal use
  • CALLMCS - Reserved for internal use
  • CALLSORT - External file handler
  • CANCELLBR - * Close COPY .LBR file
  • CASE - Case of program-name
  • CHANGE-MESSAGE - Change message severity
  • CHARSET - * ASCII or EBCDIC
  • CHECKDIV - Allow divide by zero
  • CHECKNUM - Check numeric fields
  • CHECKSTACK - Check for stack corruption
  • CHIP - Chip architecture
  • CICS - * Allow CICS
  • CICS-CPY - * Insert COPY "CICS-CPY"
  • CICSOPT - * Optimize BLL cells
  • CMPR2 - Mainframe compatible
  • COBFSTATCONV - * Convert EXTFH file status codes
  • COBIDY - Path for Animator file
  • COBOL370 - IBM COBOL 370
  • COBOLDIR - Use or ignore cobol.dir
  • COMP - Computational subset
  • COMP-5 - COMP-5 behavior
  • COMP-6 - COMP-6 behavior
  • COMS85 - ANSI'85 Comms
  • CONFIRM - Display directives
  • CONSTANT - Define constant
  • CONVERTPTR - Allow redefiniton of pointers
  • CONVERTRET - RETURNING item type
  • CONVSPACE - Convert db spaces in source code to sb
  • COPYEXT - Copyfile extensions
  • COPYLBR - * COPY-library = .LBR file
  • COPYLIST - List COPY files
  • CSI - * Create .CSI information file
  • CURRENCY-SIGN - PIC currency sign
  • CURRENT-DATE - DDMMYY or YY MMDD
  • DATACOMPRESS - Data compression
  • DATALIT - Literals in data seg.
  • DATE - Date for listings
  • DBCHECK - Check Double-Byte Chars.
  • DBCS - Double-Byte Chars.
  • DBCSSOSI - Shift-in, -out
  • DBSPACE - DBCS space
  • DE-EDIT - Num-edited behavior
  • DEFAULTBYTE - Initialize W-Storage
  • DEFAULTCALLS - CALL convention
  • DEFFILE - Produce .DEF file
  • DEFFILETYPE - Specify target for .DEF file
  • DETECT-LOCK - Detect record locks
  • DG - Data General
  • DIRECTIVES - File of directives
  • DIRECTIVES-IN-COMMENTS - Enable directives in comment lines
  • DLL - DLL or EXE
  • DOSVS - IBM DOS/VS COBOL
  • DYNAM - Ignore CANCEL
  • EANIM - For CodeView
  • EARLY-RELEASE - Enable Early User Syntax support
  • ECHO - Display errors
  • ECHOALL - Display full listing
  • EDITOR - Create error file for Editor
  • ENSUITE - * Internal use
  • ERRLIST - Print messages only
  • ERRQ - Pause on error
  • EXPANDDATA - Program compression
  • EXTINDEX - Reserved for internal use. Indexes EXTERNAL
  • FASTLINK - Restrict parameters
  • FASTSORT - Internal use
  • FCDREG - Registers for files
  • FDCLEAR - Clear record buffer after write
  • FILECASE - Internal use
  • FILESHARE - Default locking
  • FILETYPE - Data file format
  • FIXING - Optimizing jumps
  • FLAG - Flag outside the dialect
  • FLAGAS - Show flags as errors etc.
  • FLAGCD - Conflicting directives
  • FLAGMIG - Flag OSVS and VSC2 differences
  • FLAGQ - Pause on flag
  • FLAGINEDIT - Include flags in error file
  • FLAGSTD - Flag ANSI'85 level
  • FLAG-CHIP - Flag chip problems
  • FOLDCALLNAME - Fold call name
  • FOLDCOPYNAME - Fold COPY file names
  • FORM - Page length
  • FP-ROUNDING - Floating point items
  • GANIM - * For Xilerator
  • GNT - * File for object code
  • GNTANLZ - Use with add-on products
  • HIDE-MESSAGE - Set message to hide
  • HOST-NUMCOMPARE - Numeric comparisons
  • HOST-NUMMOVE - Disable RTS error 163 for MOVEs
  • IBM-MS - IBM / Microsoft V1.0
  • IBMCOMP - Word-storage mode
  • IDXFORMAT - Indexed file structure
  • INCLUDE-FILLER - Store FILLER information in .IDY
  • INDD - Transform ACCEPTs to READs
  • INFORETURN - Info msg return value
  • INITCALL - Execute a module
  • INT - * File for int code
  • INTLEVEL - * Portability level
  • IOCONV - READ-INTO/WRITE-FROM behavior
  • JAPANESE - Enable Double-Byte Language Extensions
  • KEEP-INT - Keep .int files
  • KEYCOMPRESS - Key compression
  • LIBRARIAN - Allow -INC
  • LINKCHECK - Check LS items
  • LINKCOUNT - Number of linked items
  • LINKLIB - Link-libraries
  • LIST - File for source listing
  • LISTPATH - Specify the path for list file
  • LISTWIDTH - Page width
  • LITLINK - Literals public
  • LITVAL-SIZE - BY VALUE size
  • LNKALIGN - Assume linkage items are aligned
  • LOCALCOUNT - Internal use
  • LOCKTYPE - Read locked records
  • LOGICOPT - Optimize CBL_ logical calls
  • MAKESYN - Make synonymous
  • MAPNAME - IBM prog-names
  • MASM - For Microsoft MASM
  • MAX-ERROR - Limit number of Compiler errors
  • MFCOMMENT - Alternate-format comments
  • MF - Level of MF
  • MF00 - Object Orientation syntax
  • MFSCCS - Look for source files in a SCCS system
  • MODEL - Model type
  • MS - Microsoft COBOL V1 or V2
  • NATIVE - Collating sequence
  • NCHAR - Enable Double-Byte Language Extensions
  • NESTCALL - Allow nested progs
  • NETLOCALSTORAGE - Internal use
  • NLS - Enable National Language Support
  • OBJ - File for object code
  • OBJLITE - Assembler-like code
  • ODOOSVS - Evaluate ODO like OS/VS COBOL does
  • ODOSLIDE - Variable length table
  • OLDBLANKLINE - Change behavior of BLANK LINE
  • OLDCOPY - ANSI'68 COPY
  • OLDFILEIO - Reserved
  • OLDINDEX - Indexes = subscripts
  • OLDNEXTSENTENCE - Change behavior of NEXT SENTENCE
  • OLDREADINTO - Change behavior of READ ... INTO statements
  • OLDSTRMIX - Allow PIC X and PIC N in statements
  • OLDSTRSUB - Change evaluation of subscripts
  • OMF - OBJ or GNT
  • OPT - Optimization level
  • OPTIONAL-FILE - All files optional
  • OPTSIZE - Optimize for size
  • OPTSPEED - Optimize for speed
  • OSEXT - Source file-name ext
  • OSVS - IBM OS/VS COBOL
  • OUTDD - Transform DISPLAYs to WRITEs
  • OVERRIDE - Change
  • PANVALET - Allow ++INCLUDE
  • PARAMCOUNTCHECK - Omit parameters
  • PARAS - Create list of paragraphs and sections
  • PC1 - IBM / Microsoft V1.0
  • PERFORMOPT - Optimize PERFORM of empty paragraph
  • PERFORM-TYPE - Returns from PERFORM
  • PREPLIST - Show original and preprocessed source
  • PREPROCESS - * Source from preprocessor
  • PRINT - File for source listing
  • PRINT-EXT - Specify print-file extension
  • PROFILE - Generate code for Profiler
  • PROGID-COMMENT - Comment in PROG-ID
  • PROTMODE - Produce protect mode only code
  • PROTECT-LINKAGE - Protects linkage items
  • PUBLICENTRY - Declare .OBJ entry points as public
  • QUAL - Allow qualification
  • QUALPROC - Allow qualification
  • QUERY - Pause if copyfile missing
  • QUOTE - QUOTE = "
  • RAWLIST - list with no variable information
  • RDEFPTR - COMP redefinitions of POINTER
  • RDW - Read length of variable-length record
  • REALOVL - Overlaying from disk
  • RECMODE - Fixed or var length
  • REF - Addresses in listings
  • REFNO - Compiler version-number in listings
  • REGPARM - Parameter passing
  • REMOVE - De-reserve
  • REPORT-LINE - Length of report writer lines
  • RESEQ - Generate line numbers
  • RETRYLOCK - Re-try locked record
  • REWRITE-LS - REWRITE on LINE SEQUENTIAL files
  • RM - Ryan-McFarland
  • RNIM - Animate, don't compile
  • RTNCODE-SIZE - RETURN-CODE size
  • SAA - Systems Application Architecture
  • SEG - Segmentation
  • SEGCROSS - Params on segments
  • SEGSIZE - Automatic segmentation
  • SEQCHK - Check line numbers
  • SEQUENTIAL - Variants of SEQUENTIAL organization
  • SETTING - Print directives
  • SHOW-DIR - Print directives files
  • SHOWSHUFFLE - Show 01SHUFFLE results
  • SIGN - Included signs
  • SIGNCOMPARE - EBCDIC numeric comparisons
  • SMALLDD - Params in segments
  • SOURCE-EXT - Source ext for CodeView
  • SOURCEASM - Source in assembly listing
  • SOURCEFORMAT - Allow free format code
  • SPZERO - Space = zero in nums
  • SQL - Allow EXEC SQL
  • SQLACCESS - Name of access plan
  • SQLBIND - Name of bind file
  • SQLBLOCK - Record blocking
  • SQLCOMMIT - Placement of generated commits
  • SQLCTRACE - List calls to precompiler services
  • SQLDB - Name of database
  • SQLDB2 - Mainframe compatibility
  • SQLECSPP - * Host compatibility
  • SQLFORMAT - Define date format
  • SQLINIT - Initialize &log on
  • SQLISOLATION - Isolation level
  • SQLNOT - Specify NOT character (ª)
  • SQLPASS - Give password
  • SQLPRE - Animate SQL programs
  • SQLPROT - Protect database
  • SQLRP - Compile on client workstation
  • SQLSTDLVL - Standards level of database manager
  • STDERR - Write messages to STDERR
  • STICKY-LINKAGE - Keep params linked
  • STICKY-PERFORM - Behavior of PERFORM
  • STRUCT - * For Structure Animator
  • SUPFF - No page-headings
  • SYMBSTART - Numbering in SYMBOLIC
  • SYSIN - Map I-O to SYSIN and SYSOUT
  • TABLESEGCROSS - Check for crossing of seg boundaries
  • TARGET - Chip-specific instrs.
  • TERMPAGE - Pad final page of report
  • TIME - Put time on listings
  • TRACE - Turn on READY TRACE
  • TRICKLE - Restrict PERFORM
  • TRICKLECHECK - Flag trickling
  • TRUNC - Truncation of binary
  • TRUNCCOPY - Truncate copyfile names
  • USE - File of directives
  • VERBOSE - Display Compiler messages
  • VSC2 - IBM VS COBOL II
  • WARNING - Level of message to output
  • WB - * Interface to other products
  • WB2 - * Internal use
  • WB3 - * Internal use
  • WRITELOCK - Default locking
  • WRITETHROUGH - * Unbuffered writes
  • XNIM - Compile and animate
  • XOPEN - X/Open
  • XREF - Produce cross-ref listing
  • ZEROLENGTHFALSE - Zero-length tests
  • ZEROSEQ - Zeros in line numbers
  • ZWB - Numeric comparisons

  • DATACOMPRESS

    Specifies the type of data compression to be done on sequential and indexed files.

    > >-|---|-|-----DATACOMPRESS--"integer"-|--- > < |-/-| |-NO--DATACOMPRESS------------|

    Parameters:

    Properties:
    Default: NODATACOMPRESS
    Phase: Syntax check
    Environment: All
    $SET: Any

    Remarks: The only value that can be specified for data compression supported by this system is 1. Values in the range 128 through 255 indicate user-defined compression routines.

    You need to specify data compression only when creating the file. Subsequently, the data compression is detected when the file is opened.

    To get data compression on an individual file, use $SET statements in your source so that this directive is in effect only for the part of the source containing the file's SELECT statement.

    Data compression is supported only by the Callable File Handler, ExtFH. All indexed files are processed by ExtFH. However, if you want to use data compression with sequential files, every program referencing those files must be compiled with the directive CALLFH"EXTFH".

    See also:
    CALLFH Compiler directive


    DATALIT

    Makes the Compiler put literals in the DATA segment of the program rather than the CODE segment.

    > >-|---|-|----|--DATALIT------------------- > < |-/-| |-NO-|

    Properties:
    Default: DATALIT
    Phase: Generate
    Environment: 16-bit
    $SET: Initial

    Dependencies: Set to NODATALIT at end by OPT"0".

    Remarks: For segmented programs, specifying NODATALIT gives the advantage of being able to have literals in the CODE segment so that they can then be swapped out with the code that references them. There is generally no advantage in specifying NODATALIT for a nonsegmented program. However, if you are running generated code (.gnt files) under DOS, specifying NODATALIT lets you discard any unreferenced code segment.


    DATE

    Puts the date in the DATE-COMPILED paragraph and at the top of each page of the listing.

    > >-|---|-|-------DATE--"string"-|---------- > < |-/-| ||----|-DATE-----------| |-NO-|

    Parameters:
    string An alphanumeric literal.

    Properties:
    Default: DATE
    Phase: Syntax check
    Environment: All
    $SET: No

    Remarks: The date and time, available from operating system, are automatically inserted when you specify DATE. You can, however, enter the date yourself as the parameter. With NODATE, the paragraph is left unaltered.

    With DATE, the system date or the string you enter appears at the top of each page of the listing. With NODATE, spaces are used instead.


    DBCHECK

    Makes the Compiler check that any Double-Byte Character Set (DBCS) literals only contain valid 16-bit DBCS characters.

    > >-|---|-|----|--DBCHECK------------------- > < |-/-| |-NO-|

    Properties:
    Default: NODBCHECK
    Phase: Syntax check
    Environment: All
    $SET: Initial

    Remarks: If you specify DBCHECK in environments that support validation of DBCS data, any literal that does not contain only valid 16-bit DBCS characters results in syntax error 1048 (DBCS literal includes invalid data).


    DBCS

    Makes the Compiler accept characters of the Double Byte Character Set (DBCS) for use in ideographic languages such as Japanese, Chinese and Korean.

    > >-|---|-|-------DBCS--"integer"-|--------- > < |-/-| ||----|-DBCS------------| |-NO-|

    Parameters:
    integer Must be 1, 2 or 3. Indicates which compatibility required.

    Properties:
    Default: NODBCS
    Phase: Syntax check
    Environment: All
    $SET: Initial

    Dependencies:
    Set to DBCS"2" immediately by SAA, VSC2"2", VSC2"3" or MF"7".
    Set to DBCS"3" immediately by COBOL370 or MF"(integer)" where (integer) > 7.

    Remarks: The possible values of (integer) are:

    1. Behavior as in earlier versions of this Compiler.
    2. Provides full System Application Architecture (SAA) DBCS support. This directive sets DBSPACE.
    3. Includes DBCS support as in IBM COBOL/370. This includes the use of PIC N, PIC G, and DBCS literals specified with "delimiter N".


    DBCSSOSI

    Defines the two characters used as the shift-out and shift-in delimiters in DBCS literals.

    > >-|---|-|----DBCSSOSI-"integer-1"-"integer-2"-| > < |-/-| |-NO-DBCSSOSI-------------------------|

    Parameters:

      integer-1 - ASCII code of the shift-out character, in decimal. integer-2 - ASCII code of the shift-in character, in decimal.

    Properties:
    Default: NODBCSSOSI
    Phase: Syntax check
    Environment: All
    $SET: Any

    Remarks: When shift-out and shift-in characters are specified by this directive, every DBCS literal must have the shift-out character immediately after the opening quotation mark and the shift-in character immediately before the closing quotation mark.

    They act as additional delimiters to the literal, and are not part of its value. With NODBCSSOSI, no shift-out and shift-in characters are needed or recognized.


    DBSPACE

    Makes the Compiler interpret the figurative constant SPACE, when used as a DBCS figurative constant, as the double-byte space character supplied by the system.

    > >-|---|-|----|--DBSPACE------------------- > < |-/-| |-NO-|

    Properties:
    Default: NODBSPACE
    Phase: Syntax check
    Environment: All
    $SET: Any

    Dependencies:
    Set to DBSPACE immediately by COBOL370, NCHAR"2", SAA, VSC2"2" or VSC2"3".
    Set to DBSPACE immediately by MF"(integer)" where (integer) > 7

    Remarks: With DBSPACE, the Compiler uses the system supplied double-byte space character. NODBSPACE provides compatibility with previous versions of this Compiler, where the double-byte space character was two ASCII space characters (x"2020").


    DE-EDIT

    Specifies the behavior of de-editing moves from numeric-edited items to other numeric-edited items or to numeric items.

    > >-|---|--DE-EDIT--"integer"--------------- > < |-/-|

    Parameters:
    integer Must be 1 or 2. Indicates which compatibility required.

    Properties:
    Default: DE-EDIT"2"
    Phase: Syntax check
    Environment: All
    $SET: Any

    Remarks: The possible values of (integer) are:

    1. Behavior as in earlier versions of this Compiler. Ignores the PICTURE clause of the sending field.
    2. De-edits according to the PICTURE clause of the sending field. This provides ANSI'85 conformance.

    Example:

    01 A pic 909V99 value "30456". 01 B pic 9(5). ... move A to B

    With DE-EDIT"1", B contains 30456. With DE-EDIT"2", B contains 00034; the 0 after the 3 is dropped because it corresponds to the insertion character 0 in the picture-string of A, and the .56 is dropped because B has no decimal places.


    DEFAULTBYTE

    Initializes each otherwise undefined byte of the Data Division to the character given.

    > >-|---|--DEFAULTBYTE--"integer"----------- > < |-/-|

    Parameters:
    integer ASCII code of the character, in decimal.

    Properties:
    Default: DEFAULTBYTE"32"
    Phase: Syntax check
    Environment: All
    $SET: Initial

    Dependencies:
    Set to DEFAULTBYTE"32" immediately by CHARSET"ASCII".
    Set to DEFAULTBYTE"0" immediately by CHARSET"EBCDIC", MS, IBM-MS or PC1.


    DEFAULTCALLS

    Specifies the default calling convention.

    > >-|---|-|-------DEFAULTCALLS--"integer"-|- > < |-/-| ||----|-DEFAULTCALLS------------| |-NO-|

    Parameters:
    integer Default CALL convention

    Properties:
    Default: NODEFAULTCALLS
    Phase: Syntax check
    Environment: All
    $SET: Any

    Remarks: DEFAULTCALLS without the optional parameter specifies that the calling convention specified in the PROCEDURE DIVISION USING statement is to be used as the default calling convention.

    DEFAULTCALLS"(integer)" specifies that the calling convention indicated by "(integer)" is to be used as the default calling convention.

    NODEFAULTCALLS is equivalent to DEFAULTCALLS"0".

    Individual CALL statements can override these defaults (see your Language Reference). See your COBOL User Guide for a list of available calling conventions.


    DEFFILE

    Makes the Compiler produce a module definition file (.def file), for use by the linker when creating an .exe file or a .dll file from the .obj created by this compilation.

    > >-|---|-|-------DEFFILE--"file-name"-|---- > < |-/-| ||----|-DEFFILE--------------| |-NO-|

    Parameters:
    file-name A full file specification.

    Properties:
    Default: NODEFFILE
    Phase: Generate
    Environment: 16-bit on Windows and OS/2
    $SET: Any

    Dependencies: If OMF"GNT", DEFFILE sets OMF"OBJ" at end.

    Remarks: This directive only affects .obj files.

    The name of this file is included on the command line to the linker.

    If (file-name) is omitted, the name of the file created is (obj-name).def, where (obj-name) is the name of the object file without an extension. (file-name) can be specified as *.(ext) to set the extension but use (obj-name) as the base-name.

    The module definition file created is used when linking to create an .exe file or .dll file for Windows or OS/2. The exact contents of the file is determined by the settings of the DLL and DEFFILETYPE directives. The DLL directive indicates if the module definition file is to be used to create an .exe or a .dll file; the DEFFILETYPE directive indicates if it is for Windows or OS/2.

    Example:
    DEFFILE"*.dfa" DEFFILETYPE"OS2" DLL
    creates a file called (obj-name).dfa containing the lines:

    LIBRARY INITINSTANCE PROTMODE DATA NONSHARED EXPORTS (source-name) @1

    See also:
    DEFFILETYPE Compiler directive
    DLL Compiler directive


    DEFFILETYPE

    Specifies the type of module definition file (.def file) to be produced when the DEFFILE directive is specified.

    > >-|---|--DEFFILETYPE--"type"-------------- > < |-/-|

    Parameters:
    type Must be OS2 or WIN.

    Properties:
    Default: DEFFILETYPE"OS2"
    Phase: Generate
    Environment: 16-bit on Windows and OS/2
    $SET: Initial

    Remarks: Produces a .def file suitable for linking to create an .exe file or a .dll file for use on the environment specified by :
    OS2 OS/2
    WIN Windows

    The DLL directive indicates if the module definition file is to be used to create an .exe or a .dll file.

    This directive affects only .obj files.

    See also:
    DEFFILE Compiler directive
    DLL Compiler directive


    DETECT-LOCK

    Makes READ statements detect when a record is locked by another program.

    > >-|---|-|----|--DETECT-LOCK--------------- > < |-/-| |-NO-|

    Properties:
    Default: DETECTLOCK
    Phase: Syntax check
    Environment: All
    $SET: Initial

    Remarks: The Compiler also accepts the name without hyphens; that is DETECTLOCK

    With DETECT-LOCK, if a READ statement reads a record locked by another program, it returns an I/O status of 9/068. With NODETECT-LOCK, it returns 0/000. In both cases it reads the record successfully.

    When DETECT-LOCK is specified, individual READ statements might be made to ignore locks by using the READ ... IGNORE LOCK syntax. See your Language Reference for details of this syntax.


    DG

    Changes the behavior of certain features to be compatible with Data General Interactive COBOL rev 1.30.

    > >-|---|-|----|--DG------------------------ > < |-/-| |-NO-|

    Properties:
    Default: NODG
    Phase: Syntax check
    Environment: All
    $SET: Initial

    Remarks: See your Language Reference for details of syntax support for Data General Interactive COBOL rev 1.30.


    DIRECTIVES or DIR

    Makes the Compiler read directives from a file.

    > >-|---|-|-DIRECTIVES-|-"file-name"-------- > < |-/-| |-DIR--------|

    Parameters:
    file-name A full file specification.

    Properties:
    Default: None
    Phase: Both
    Environment: All (syntax check), 16-bit (generate)
    $SET: Any

    Remarks: A directives file is a text file containing directives. Directives are separated by a space or the end of line. A directive cannot be broken across two lines.

    Comments can be included in the file by placing an ampersand (in column 1 of the comment line, followed by a space. Omitting the space results in the comment being treated as a directive, and the syntax check on that file fails.

    The directives are read from the file until the end of file is reached or another DIRECTIVES directive is encountered. The maximum length of a line is 128 characters.

    You can specify more than one directives file in a program by specifying several DIRECTIVES"". If you specify the DIRECTIVES directive in a directives file, the Compiler switches to the new directives file, reads all the directives in it, returns to the original directives file, and continues to read the directives specified after the DIRECTIVES directive. You can nest directives files to any depth.

    The directives file is searched for in the current and COBOL system directories. If no extension is specified, a file extension of .dir is added before the search is made. If no file is found, the search is repeated with no extension.

    See also:
    USE Compiler directive


    DIRECTIVES-IN-COMMENTS
    Makes the Compiler process $SET statements held in comment lines.

    > >-|---|-|----|--DIRECTIVES-IN-COMMENTS---- > < |-/-| |-NO-|

    Properties:
    Default: NODIRECTIVES-IN-COMMENTS
    Phase: Syntax Check
    Environment: All
    $SET: Any

    Remarks: This directive enables sources to contain directives used when compiling with the Micro Focus compiler, but ignored (as comment lines) by any other compiler, such as a mainframe compiler.

    $SET can appear anywhere on a line, provided it is the first thing on the line. However, if this directive is set, the $SET statement is processed even if the line is a comment line (asterisk in column 7).


    DLL

    Makes the Compiler produce a module definition file suitable for creating a .dll file instead of an .exe file when you specify the DEFFILE directive.

    > >-|---|-|----|--DLL----------------------- > < |-/-| |-NO-|

    Properties:
    Default: DLL
    Phase: Generate
    Environment: OS/2
    $SET: Initial

    Remarks: This directive only affects .obj files.

    Example:
    DEFFILE DEFFILETYPE"WIN" NODLL
    causes the Compiler to produce a module definition file of name .def suitable for creating an .exe file for Windows.

    See also:
    DEFFILE Compiler directive
    DEFFILETYPE Compiler directive


    DOSVS

    Specifies that words reserved in IBM DOS/VS COBOL are to be treated as reserved words.

    > >-|---|-|----|--DOSVS--------------------- > < |-/-| |-NO-|

    Properties:
    Default: NODOSVS
    Phase: Syntax check
    Environment: All
    $SET: Initial

    Dependencies: Set to NODOSVS immediately by OSVS.

    See also:
    OSVS Compiler directive


    DYNAM

    Specifies that CANCEL statements are not to be ignored.

    > >-|---|-|----|--DYNAM--------------------- > < |-/-| |-NO-|

    Properties:
    Default: DYNAM
    Phase: Syntax check
    Environment: All
    $SET: Initial

    Remarks: With NODYNAM, CANCEL statements in the program are ignored.