Micro Focus Compiler Options U, V, W, X, Z

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

  • USE
    USE is used in two ways.

    COBOL verb

    Compiler directive


    VERBBOSE
    Sends messages from the Compiler to the screen.

    > >-|---|-|----|--VERBOSE------------------- > < |-/-| |-NO-|

    Properties:
    Default: VERBOSE (on DOS, Windows and OS/2) NOVERBOSE (on UNIX)
    Phase: Syntax check
    Environment: All
    $SET: No

    Dependencies: VERBOSE sets CONFIRM immediately.

    Remarks: When VERBOSE is specified, messages concerning accepted directives and the size of code and data areas are displayed on the screen.


    VSC2
    Specifies that words reserved in IBM VS COBOL II are to be treated as reserved words, and enables selected features for compatibility with a given level of that system.

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

    Parameters:
    integer The level of IBM VS COBOL II to be compatible with.

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

    Dependencies: If (integer) > 1, VSC2"(integer)" sets DBSPACE and DBCS"2" immediately. VSC2"3" sets ANS85 at end.

    Remarks: The possible values of (integer) are:

  • 1 VS COBOL II release 1.0 (Replaces the directives OLDVSC2 VSC2.)
  • No explicit scope delimiter is allowed in a statement without a conditional phrase (for example, AT END or ON SIZE ERROR).
  • The word ALSO in an EVALUATE statement must be omitted.
  • The CLASS and SYMBOLIC CHARACTERS clauses are not allowed.
  • Conditional phrases with NOT (for example NOT AT END, NOT ON SIZE ERROR) are not allowed.
  • 2 VS COBOL II release 2.0
    VS COBOL II release 3. (when compiled with its CMPR2 directive)
    VS COBOL II release 4. (when compiled with its CMPR2 directive)
    COBOL/370 V1R1 (when compiled with its CMPR2 directive)
  • The CLASS and SYMBOLIC CHARACTERS clauses are not allowed.
  • Conditional phrases with NOT (for example, NOT AT END, NOT ON SIZE
  • When used with FLAG"VSC2" it provides similar functionality to VS COBOL II release 2.
  • 3 VS COBOL II release 3. (when compiled with its NOCMPR2 directive)
  • For complete compatibility in this instance, the directive REMOVE"FUNCTION" also should be specified. However, for upward compatibility, we recommend that you do not use FUNCTION as a user-defined word.
  • When used with FLAG"VSC2" it provides similar functionality to VS COBOL II release 3.
  • 4 Synonymous with VSC2"3".
  • When VSC2 is specified without integer, VSC2"4" is assumed.

    ANSI'85 status codes are used when VSC2"3" is selected.

    Do not use the NOANS85 directive after VSC2"3"; it turns off some of the ANSI'85 behavior turned on by VSC2"3".


    WARNING
    Specifies the lowest severity level of errors to report.

    > >-|---|-|----|-WARNING--|-"integer"-|----- > < |-/-| | |-WARNINGS-| | |-NO-|-WARNING--|-----------| |-WARNINGS-|

    Parameters:
    integer 1, 2, or 3.

    Properties:
    Default: WARNING"1"
    Phase: Syntax check
    Environment: All
    $SET: Any

    Remarks: The possible values of (integer) are:

    With NOWARNING only those of level U or S are reported.

    See also:
    FLAGAS Compiler directive
    FLAGCD Compiler directive


    WB
    This directive is used with Micro Focus integrated products to make the Compiler compatible with the integration. Because it might appear in the list of settings, it is included for completeness. It is not intended for users' applications, and its setting should not be changed.

    > >-|---|-|----|--WB------------------------ > < |-/-| |-NO-|

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

    Dependencies: WB sets ANIM immediately.


    WB2
    This directive is reserved for internal use by the system. Because it might appear in the list of settings, it is included for completeness. It is not intended for users' applications, and its setting should not be changed.

    > >-|---|-|----|--WB2----------------------- > < |-/-| |-NO-|

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


    WB3
    This directive is reserved for internal use by the system. Because it might appear in the list of settings, it is included for completeness. It is not intended for users' applications, and its setting should not be changed.

    > >-|---|-|----|--WB3----------------------- > < |-/-| |-NO-|

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


    WRITELOCK or WRITE-LOCK
    Makes the WRITE and REWRITE statements acquire a record lock when the program is locking multiple records in a shared data file in a multi-user environment.

    > >-|---|-|----|-|-WRITELOCK--|------------- > < |-/-| |-NO-| |-WRITE-LOCK-|

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

    Remarks: This directive is included for compatibility with earlier file-sharing products. When writing new programs you should use the relevant locking syntax rather than this directive.


    WRITETHROUGH or WRITETHRU
    Specifies that disk writes are not to be buffered.

    > >-|---|-|----|-|-WRITETHROUGH-|----------- > < |-/-| |-NO-| |-WRITETHRU----|

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

    Dependencies: Requires CALLFH to be set.

    Remarks: This directive is not available in the Micro Focus COBOL system for DOS, Windows and OS/2 without Toolset, Workbench or similar add-on products from Micro Focus. Do not change its setting unless you have an appropriate system.

    When WRITETHRU is specified, the system does not buffer disk writes.

    Using WRITETHRU helps improve the integrity of data files by ensuring that every write operation goes to the disk file straight away, reducing the possibility of losing data if your computer crashes. However, it also bypasses all cacheing and blocking methods, resulting in poorer performance.

    See also:
    CALLFH Compiler directive


    XNIM
    Makes the Compiler compile your program for animation as if ANIM had been specified, and then invoke Animator.

    > >-|---|-|----|--XNIM---------------------- > < |-/-| |-NO-|

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

    Remarks: You can use Animator directives with XNIM.

    With XNIM, no object file is produced by default.

    When it finishes, Animator does not save the files required for a subsequent animation.

    If the source file contains more than one nonnested program, it is the last program in the source file that is animated.


    XOPEN
    Specifies that words reserved under the X/Open definition of COBOL are to be treated as reserved words.

    > >-|---|-|-------XOPEN--"level"-|---------- > < |-/-| ||----|-XOPEN----------| |-NO-|

    Parameters:
    level Must be 3 or 4. The level of X/Open definition COBOL to be compatible with.

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

    Dependencies: XOPEN sets RTNCODE-SIZE"4" immediately.

    Remarks: The possible values of are:

    Specifying XOPEN with no parameter is the same as specifying XOPEN"4". XPG-4 specifies options for several environments. If available, the options available are as follows:

    See also:
    DBCS Compiler directive
    NLS Compiler directive
    RTNCODE-SIZE Compiler directive


    XREF
    Makes the Compiler produce a cross-reference listing.

    > >-|---|-|----|--XREF---------------------- > < |-/-| |-NO-|

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

    Dependencies: XREF sets RESEQ immediately.
    Set to NOXREF at end by NOLIST and RNIM.
    On UNIX, to produce the message "*End of cross reference listing" in the cross reference listing you must also specify the verbose compiler option, -v.

    Remarks: This directive has no effect if the LIST directive is not specified.

    To produce the cross-reference listing the Compiler needs extra work space on the disk. The space needed depends on the number of data items and procedure names and the number of times they are referenced.

    When the XREF directive is specified, extra information is added to the end of the .lst file produced: Example: The following is an extract from a .lst file for a simple program: 1 working-storage section. 2 01 a pic 9(2). 3 4 procedure division. 5 main section. 6 move 1 to a 7 if a = 1 display "HELLO" end-if 8 stop run. ... * A Numeric DISPLAY * 2# 6* 7? (X 3) * * 1 data-names * * MAIN Section * 5# (X 1) * * * 1 procedure-names * End of cross reference listing The cross-referencing information shows that there is one data item, A, of type numeric display, which is defined on line 2, updated on line 6, and tested on line 7. The (X 3) at the end of the line refers to the number of times the data item appears in the cross-reference listing. The procedure name Main also appears in the listing, as a Section which is referenced only once.

    See also:
    RESEQ Compiler directive


    ZEROLENGTHFALSE
    Changes the way that class tests involving zero-length items are carried out.

    > >-|---|-|----|--ZEROLENGTHFALSE----------- > < |-/-| |-NO-|

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

    Remarks: When ZEROLENGTHFALSE is set, all comparisons between zero-length group items, and between zero-length items and figurative constants, return false; when it is not set, they all return true.

    For conformance to ANSI and SAA you must set ZEROLENGTHFALSE.


    ZEROSEQ
    Causes leading zeros to appear in the sequence numbers in columns 1 thru 6.

    > >-|---|-|----|--ZEROSEQ------------------- > < |-/-| |-NO-|

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

    Remarks: NOZEROSEQ suppresses these leading zeros.


    ZWB
    Affects the operation of comparisons between integer numeric data items of USAGE DISPLAY and alphanumeric literals or figurative constants.

    > >-|---|-|----|--ZWB----------------------- > < |-/-| |-NO-|

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

    Remarks: The ZWB directive affects the range of comparisons that HOST-NUMCOMPARE applies to. With ZWB on, only unsigned comparisons are affected. Otherwise, all comparisons are affected.

    See also:
    HOST-NUMCOMPARE Compiler directive



    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.