Micro Focus Visual COBOL 3.0 for Eclipse (UNIX)
Welcome
Existing Customers: Upgrading from an Earlier Release
New Customers: Where do I start?
New to Eclipse
New to COBOL
Upgrading from Net Express
Upgrading from Server Express
Want to deploy an application
Upgrading to Visual COBOL for Eclipse
Licensing Changes
Resolving conflicts between reserved keywords and data item names
Importing Existing COBOL Code into Visual COBOL
Recompile all source code
Upgrading from Studio Enterprise Edition (Windows)
Upgrading from Server Express
Differences between Visual COBOL and Server Express
Upgrading from ACUCOBOL-GT
Upgrading from RM/COBOL®
Procedural COBOL Compared with Managed COBOL
Overview of application development in Eclipse
Visual COBOL Tutorials Guide
Getting Started
Native COBOL Tutorials
Managed COBOL Tutorials
Tutorial: Creating a Basic JVM COBOL Application
Tutorial: Deploying JVM COBOL to an Application Server
Tutorial: SQL - Deploying an Enterprise JavaBean Containing JVM COBOL to a JBoss Application Server
Tutorial: Calling JVM COBOL programs as part of an Axis Web service
Web Services Tutorials
Procedural COBOL Compared with Managed COBOL
Technology Preview Features
Managing Licenses
Product Information
Installation
Installing Visual COBOL for Eclipse (UNIX)
Installing Visual COBOL Development Hub
Managing Licenses
Updates and Product Support
Micro Focus End User License Agreement
Backward Compatibility with Earlier Micro Focus Products
Known Issues and Restrictions
Contacting Micro Focus
Sample Programs
Cheat Sheets
The Micro Focus Community
Help on Help
Developing Applications in the IDE
To start Visual COBOL
To start Visual COBOL as an administrator
To start a Visual COBOL command prompt
To start a Visual COBOL command prompt as an administrator
Introduction to Eclipse
Configuring Eclipse
Using Eclipse for COBOL Development
Creating COBOL Projects
Creating and importing COBOL projects
Creating and importing resources
Using source files from outside your project
To create a project or a file from a custom template
Indicating Whether a File is a Copybook or a COBOL Program
Configuring the Project, Build Configuration and File Properties
Developing applications on remote machines
Building COBOL applications
Code Coverage (Native COBOL)
Code Analysis
Debugging COBOL applications
Overview of the process of debugging
Preparing a Project for Debugging
Debugging Features and Techniques in Eclipse
Debugging Scenarios
Starting the Debugger Automatically
Debugging Windows Services
Debugging Using a Core Dump
Debugging Using a Live Recording (Technology Preview)
Debugging Using a Remote Machine
Debugging Mixed Language Applications
Debugging Applications and Services on Enterprise Server
Debugging with Character Animator
Overview of Character Animator Functions
Working With Character Animator
Directives for Character Animator
Cross-session Debugging
Using cobesdebug to Debug Services and Applications on Enterprise Server
Code Refactoring
Running COBOL Applications
Programming
COBOL Programming
Getting Started with COBOL
Calling COBOL Programs
Internationalization Support
Preparing Applications for Enterprise Server
Mixed Language Programming
Ordering Parameters to Pass to Non-COBOL Programs
Removing Parameters from the Stack
Storage Representation of Parameters
Aligning Parameters on Word and Double Word Boundaries
Handling Return Codes in Mixed Language Applications
Call Conventions for Interfacing with Mixed Languages
Building a Mixed Language Application
Interfacing with Assembler Subprograms
Interfacing with C Programs
Passing Data between C and COBOL
Header-to-COPY Utility
Overview
Converting Header Files Using the H2cpy Utility
Overview - H2cpy Messages
Warning Messages
Error Messages - Command Line Errors
Error Messages - Invalid C Source
Error Messages when Calling Non-COBOL Programs
Signal Handling
Examples of Mixed Language Programming
Using COBOL and XML together
XML Extensions
Installation and introduction
Getting started with XML Extensions
XML Extensions statements reference
COBOL considerations
XML considerations
Appendix A XML Extensions examples
Example 1 Import file and export file
Example 2 Export file and import file with XSLT stylesheets
Example 3 Export file and import file with OCCURS DEPENDING
Example 4 Export file and import file with sparse arrays
Example 5 Export and import text
Example 6 Export file and import file with directory polling
Example 7 Export file, test well-formed file, and validate file
Example 8 Export text, test well-formed text, and validate text
Example 9 Export file, transform file, and import file
Example 10 Diagnostic messages
Example 11 Import file with missing intermediate parent names
Example batch files
Appendix B: XML Extensions sample application programs
Appendix C: XML Extensions error messages
XML Syntax Extensions
Generating COBOL Structures with XML Syntax from the Command Line
XML PARSE
Glossary of terms
Embedded HTML
Compatibility
Compatibility with ACUCOBOL-GT
Converting ACUCOBOL-GT Applications
ACUCOBOL-GT File Handling
ACUCOBOL-GT Library Routines
ACUCOBOL-GT Windowing Syntax
Compatibility with DG Interactive COBOL
Compatibility with RM/COBOL
Converting RM/COBOL Applications
Configuring Your Application for Eclipse
Compiler Directives for RM/COBOL Compatibility
Compiling RM/COBOL Programs Without DIALECT"RM"
RM/COBOL Data Types
RM/COBOL Conversion Issues
RM/COBOL Library Routines
RM/COBOL File Handling
RM/Panels
Restrictions and Limitations
Converting RM/Panels Applications
Conversion Example: Using Eclipse
Writing Programs
Appendix A: Master Copy File RMPANELS.WS
Appendix B Standard Utility, and Extended Runtime Functions and Parameters
Compatibility with XML Extensions
OO COBOL Class Library Reference
Data Access
Database Access
Accessing Databases from COBOL
Database Access Features
Database Access Preprocessors
Developing SQL Applications
Compiling SQL Applications
OpenESQL
DB2
COBSQL
How to
Reference
OpenESQL
Embedded SQL Statements
SQL Compiler Directive Options
DBMAN Directive Settings
JDBC Driver Classes
JDBC URLs
Sample DataSource Object Files
SQL/COBOL Data Type Mappings
OpenESQL Messages
SQLSTATE Values
SQLCODE Values
OpenESQL Preprocessor Error Messages
COBES0002 token is badly defined.
COBES0003 Program contains more than one definition of token
COBES0004 Nested or multi-source programs not allowed.
COBES0005 An error occurred when processing the internal dictionary.
COBES0006 No DB engine could be found.
COBES0007 Source file name is invalid.
COBES0010 OESQL rejected an unspecified option.
COBES0022 The directive SQL(DBMAN=ODBC) is not supported under Personal Edition.
COBES0023 The SQL(DBMAN) directive option is not supported with native applications.
COBES0024 The SQL(DBMAN) directive option is not supported with JDBC applications.
COBES0100 SQL incompatible with MAINFRAME
COBES0101 Statement is too long.
COBES0102 Statement contains too many host variables.
COBES0103 token does not have a suitable definition to be used as a host variable.
COBES0104 Bad SQL data declaration.
COBES0105 Syntax error.
COBES0106 Filename too long.
COBES0107 File token not found.
COBES0108 token is not unique and should be qualified.
COBES0109 token is not a data item.
COBES0110 Statement contains more than one SQLDA.
COBES0111 token is not a table of null indicator variables.
COBES0112 variable should not be defined with an OCCURS clause.
COBES0113 token should not be a subordinate to an item defined with an OCCURS clause.
COBES0114 Statement only allowed in the Procedure Division.
COBES0115 Statement not allowed in the Procedure Division.
COBES0116 An error occurred when processing the trace file.
COBES0118 Mismatched DECLARE.
COBES0119 Host variable name is too long.
COBES0120 Internal error - dictionary handle is too big.
COB ES0121 Compiler directive SQL (token1=token2) is invalid or badly sequenced - all SQL statements ignored.
COBES0123 Invalid ILTARGET - cannot use ILTARGET(ANYCPU) - must specify ILTARGET(X86) or ILTARGET(X64).
COBES0124 Host or Indicator Variable varname should not be defined in EXEC SQL statement using a subscript.
COBES0125 variable should be defined with an OCCURS clause.
COBES0130 Host variable host-var.group-var is part of a group variable expansion that is not supported in this type of SQL statement.
COBES0201 BEHAVIOR directive not valid unless TARGETDB directive of DB2, ORACLE, or MSSQLSERVER set first.
COBES0202 BEHAVIOR directive not set.
COBES0203 PREFETCH and BEHAVIOR directives are mutually exclusive - cannot set both.
COBES0205 Cannot set directive PF_RO_CURSOR > 1 if RO_CURSOR directive is set to IC_FH.
COBES0206 Cannot set directive PF_RO_CURSOR > 1 if RO_CURSOR directive is set to FORWARD and TARGETDB is MSSQLSERVER.
COBES0207 Cannot set directive PF_UPD_CURSOR > 1 if UPD_CURSOR directive is set to FORWARD.
COBES0208 Cannot set UPD_CURSOR directive to DYNAMIC if TARGETDB directive is set to ORACLE.
COBES0209 Cannot set UPD_CURSOR directive to STATIC if TARGETDB directive is set to MSSQLSERVER.
COBES0222 Invalid Framework target - SQL applications must be built to target the 4.0 .NET Framework.
COBES0223 TARGETDB directive not set.
COBES0900 An internal error occurred.
COBES0901 This error prevents SQL processing from continuing - further EXEC SQL statements will be ignored.
COBES1000W Use of EXEC SQL INCLUDE SQLCA END-EXEC
COBES1002 Statement is not in area B.
COBES1004 token directive is not supported and has been ignored.
DSNTIAR and DSNTIAC
esqlconfig command
DB2
DB2 Compiler Directive Options
DB2 Environment Variables
DB2 ECM Error Messages
COBDB0002 - COBDB0013
COBDB0100 - COBDB0115
COBDB0116 - COBDB0137
COBDB0501 - COBDB0503
COBDB0900 - COBDB1004
COBSQL
PREPROCESS(cobsql)
COBOL Directives
COBSQL Compiler Directive Options
COBSQL Messages
CSQL-I-001 to CSQL-E-023
CSQL-E-024 to CSQL-F-050
SQL Data Types
SQL TYPEs
Data Structures
Keywords
Data Files
Database Connectors for Visual COBOL
Database Connectors User's Guide
Database Connectors Overview
Getting Started
XFDs
Using XFD Directives
Invalid Data
Working with COBOL
New and Existing Databases
File Handling Configuration
Run Time System Configuration
Database Connectors for DB2
Database Connectors for Oracle
Performance and Troubleshooting
Questions and Answers
Database Connectors Tasks
Database Connectors Reference
Configuration Variables
4GL_2000_CUTOFF configuration variable
4GL_8_DIGIT_CUTOFF configuration variable
4GL_COLUMN_CASE configuration variable
4GL_COMMIT_COUNT configuration variable
4GL_CONVERT_DATE_ZERO configuration variable
4GL_DB_MAP configuration variable
4GL_FULL_DATA_TEST configuration variable
4GL_IGNORED_SUFFIX_LIST configuration variable
4GL_ILLEGAL_DATA configuration variable
4GL_JULIAN_BASE_DATE configuration variable
4GL_WHERE_CONSTRAINT configuration variable
A_DB2_ALTERNATE_COMMIT_LOGIC configuration variable
A_DB2_CATALOG configuration variable
A_DB2_DATASOURCE configuration variable
A_DB2_ERROR_MAP_FILE configuration variable
A_DB2_ISOLATION_LEVEL configuration variable
A_DB2_LOCK_METHOD configuration variable
A_DB2_LOGIN configuration variable
A_DB2_PASSWD configuration variable
A_DB2_STRICT_EQUAL configuration variable
A_DB2_TABLE_TYPES configuration variable
A_DB2_USE_CATALOG configuration variable
A_DB2_USE_CHAR_FOR_BINARY configuration variable
A_MSSQL_LIMIT_DROPDOWN configuration variable
A_MSSQL_NO_CACHED_READ configuration variable
A_MSSQL_SEPARATE_LOCK_CONN configuration variable
A_ORA_DATABASE configuration variable
A_ORA_HINTS configuration variable
A_ORA_MAX_FILE_CURSORS configuration variable
A_ORA_NLS_SORT configuration variable
A_ORA_WAIT_LOCK configuration variable
A_ORACLE_ERROR_FILE configuration variable
COMMIT_COUNT configuration variable
FILE_TRACE configuration variable
FILE TRACE FLUSH
ORA_LOGIN configuration variable
ORA_PASSWD configuration variable
USER_PATH (for Oracle) configuration variable
USER_PATH (for DB2) configuration variable
XFD_DIRECTORY configuration variable
XFD_MAP configuration variable
XFD_MAP_RESETS configuration variable
XFD_PREFIX configuration variable
Error Messages
XFD Directives
Compiler Directives Affecting XFD Creation
File Handling
File Handling Examples
Example of Data and Key Compression
External Files
File Handler
File Names
File Status
Indexed Files
MFSORT
Rebuild
Example Relative File Definition
Sequential Files
File Handling Guide
Introduction
File Organizations
Filenames
File Status
Sharing Files
File Handler Configuration
File Handler and Sort APIs
Sort Utilities
Data and Key Compression
Tracing File Operations
File Systems
Fileshare Guide
Introduction
Standard Operation
Configuring CCI Communications for Fileshare
Database Integrity
Security
Advanced Operation
Error Handling
Fileshare Server Messages
Messages from FS001-S to FS050-W
FS001-S The parameter "text " is not recognized as a valid parameter.
FS004-S The parameter "text " specifies a time-out value that is invalid.
FS005-S The parameter "text " is too long or invalid.
FS006-S The parameter "text " has already been specified.
FS007-S Invalid parameter combination.
FS008-S Communications Initialization Failure.
FS009-S The required communications module cannot be found.
FS011-W Communications send failure.
FS012-W Communications disconnect failure.
FS013-W Communications receive error.
FS014-W Communications data length not as expected.
FS015-W Request from unknown user - request rejected.
FS016-S The parameter "text " is invalid.
FS017-S Unable to open the file : filename.
FS018-S Log file corrupt - unrecognizable record in file.
FS019-S Log file corrupt - can't read header.
FS020-S The log file does not match the database sequence numbers - recovery aborted.
FS021-S There is no log filename specified in the database reference file.
FS022-S The log filename given cannot be found in the database reference file.
FS024-S Failed to open log file : filename.
FS025-S Write failure to the log file, Fileshare Server is closing down.
FS026-W Failed to close the log file.
FS027-S A second log file parameter has been found.
FS028-W The log file shows the last session was not shut down successfully.
FS029-S The log filename is already specified in the database reference file.
FS030-S Insufficient disk space to continue logging to log file.
FS031-I Record lock time-out failure on user : user.
FS034-S A filename or log file parameter must be specified.
FS035-S A database reference file must be specified.
FS037-I The file filename does not have a file header record. Sequence checking is switched off for this file.
FS038-S A matching sequence number not found in filename.
FS039-S Improperly closed file - filename.
FS040-S Unable to read the file header record in the file filename.
FS041-S Unable to update the sequence number in the file filename.
FS042-S Unable to open the database reference file: filename.
FS043-S The database reference file contains an invalid entry.
FS044-S Error reading the database reference file.
FS045-W Duplicate filename specified in the database reference file.
FS050-W A log file is not specified in the database reference file.
Messages from FS051-W to FS099-W
FS051-W Failure to allocate a larger buffer, the I-O request failed.
FS052-S Failure to allocate required memory. The Fileshare Server is closing down.
FS055-S The parameter "text " specifies a configuration file that does not exist.
FS056-S The parameter "text " specifies a data compression value that is not within the range 0-255.
FS057-S The parameter "text " specifies a key compression value that is not within the range 0-7.
FS058-S Failure to allocate memory for the decompression of the log file.
FS059-S Failure to allocate the memory required for processing the database reference file.
FS062-S Failure creating the password file filename.
FS063-S Failure opening the password file filename.
FS064-S Failure reading the password file filename.
FS065-S The password file is not of a recognized format.
FS066-S The specified user name already exists in the password file.
FS068-I The password file is now empty and has been deleted.
FS069-S The specified entry could not be found in the password file.
FS070-S Failure writing to the password file.
FS071-W Unable to load the module FHXSCOMP to decompress the data area.
FS072-S The parameter "text " contains a wild card which is not allowed with this parameter.
FS073-S Failure to allocate memory to process the password file.
FS074-S The Fileshare Server (NLM) failed to log on to NetWare with the login id specified.
FS075-W Unable to load the module FSSECLOG - LOGON has been denied.
FS076-W Unable to load the module FSSECOPN - OPEN has been denied.
FS077-S A Fileshare Server of the same name has already been defined - the Fileshare Server is closing down.
FS078-S No password file has been specified for the use of background mode.
FS079-S A supervisor password entry must exist for the use of background mode.
FS080-S No password file has been specified for the use of the synchronous communications mode.
FS081-S A supervisor password must be specified in the password file for the synchronous communications mode.
FS082-S The Netbios communications protocol is not responding. Ensure the requester software is loaded and functional.
FS083-S Incompatible CCIIPX.NLM version.
FS084-I Fileshare Server is starting.
FS085-I Fileshare Server is active.
FS086-I Fileshare Server is closing down.
FS087-I Fileshare Server has closed down.
FS089-I Database Reference File Maintenance Utility.
FS090-I Database Reference File installation completed successfully.
FS091-I Rollforward Recovery Utility
FS092-I Rollforward Recovery has completed.
FS094-I Password File Maintenance Utility.
FS096-I Password File installation has completed.
FS097-I Are you sure that you wish to close down the Fileshare Server ? (Y/N)
FS099-W File I/O status was not as expected. Returned status: status Expected status: status Action code: text File: filename.
Messages from FS101-I to FS149-I
FS101-I text -- parameter has been accepted.
FS103-I The log filename has been added to the database reference file.
FS104-I The log file cannot be found, creating a new recovery log file.
FS105-W The disk free space for the log file is below acceptable limits.
FS106-I filename - added to database reference file.
FS107-I filename - removed from the database reference file.
FS108-I Processing the files specified in the database reference file.
FS109-W The file filename does not exist.
FS110-I filename - OK.
FS111-W Files are still open. Continue to close down the Fileshare Server (Y/N) ?
FS114-W Waiting for the old log file to be removed.
FS118-I The database sequence number matches the sequence number in the log file, no recovery is needed.
FS122-I Communications too busy on CCI SEND - retrying.
FS123-I Communications too busy on CCI RECEIVE - retrying.
FS124-I Checking the validity of the log file, please wait.
FS125-I Recovery possible to last valid recovery log file record.
FS126-I Performing recovery, please wait.
FS127-S Invalid name mapping command.
FS128-W Fileshare Server closedown invoked by Stop Run processing.
FS129-I The Fileshare Server is still active.
FS130-I Reading database reference file, please wait.
FS131-W Invalid communications mode - parameter ignored.
FS132-I The Fileshare Server is running with the following communication protocol(s):
FS133-I Processing the password file, please wait.
FS134-I The password file cannot be found - creating a new password file.
FS135-I Fileshare Server security is active.
FS136-I Fileshare Server security is not active.
FS138-W The log file has been backed up and a new one has been created.
FS139-I A matching date and time entry has been found in the log file.
FS140-I No matching date and time entry has been found in the log file.
FS142-W The Operating System does not permit the log file to be flushed to disk.
FS143-W The Operating System does not allow free disk space information to be obtained.
FS144-W More than one communications protocol has been specified - synchronous communications mode not active.
FS145-W Fileshare Client disconnected, cannot contact user: text.
FS146-W Unexpected action code, action-code - discarded.
FS147-I A duplicate network message was received and discarded.
FS148-I CCI return-code (function func) = code.
FS149-I CCI SEND not complete, status will be checked later.
Messages from FS151-I to FS200-W
FS151-I CCI message size received = text. Indicated send message size = text
FS153-I The Fileshare Server name has been reregistered on the network.
FS154-I Please enter the FSVIEW supervisor password to enable the use of CCI Trace.
FS155-I Password accepted - CCI Trace is enabled. Do you want CCI Trace active immediately? (Y/N)
FS156-W Incorrect password - CCI Trace is disabled.
FS158-I CCI Trace activated.
FS159-I CCI Trace switched off.
FS160-I Fileshare trace activated.
FS161-I Fileshare trace switched off.
FS163-I Input useropcode [filename-1] [ filename-2].
FS170-I Input- Logon.
FS171-I Input- Logoff user.
FS172-I Input- Find File userfilename.
FS173-I Output- userstatus.
FS176-W There is no backup directory specified in the database reference file.
FS177-S The backup directory specified cannot be found in the database reference file.
FS178-I The backup directory has been added to the database reference file.
FS179-S A backup directory is already specified in the database reference file.
FS180-W The log filename specified has an extension. The name of the log file has been changed to "filename".
FS182-W Output- Access Denied
FS188-W Fileshare Server database reference file installation completed with errors.
FS189-W The backup directory does not exist.
FS190-W The backup directory specifies the name of an existing file.
FS191-W An error occurred accessing the backup directory.
FS192-S More than one log file exists in the log file directory.
FS193-S Unable to open the log file.
FS194-I The log file "filename-1" has been backed up successfully to "filename-2".
FS195-I The Fileshare Server is using the log file "filename".
FS196-W Unable to create the log file "filename".
FS197-S Unable to create the log file "filename".
FS198-W The attempt to backup the log file failed because the backup file "filename" already exists.
FS199-S The attempt to backup the log file failed because the backup file "filename" already exists.
FS200-W The attempt to backup the log file to "filename" failed.
Messages from FS201-S to FS252-S
FS201-S The attempt to backup the log file to "filename" failed.
FS202-I The Fileshare Server will continue logging to the log file "filename".
FS203-I The Fileshare Server is appending to the log file "filename".
FS204-W The Fileshare Server is unable to log to the log file "filename". Rollforward recovery logging is disabled.
FS205-W Unable to remove the old recovery log file "filename".
FS206-S There is more than one starter log file. The Recovery Utility is unable to determine which one to use.
FS207-I There is no starter log file in the log file directory.
FS208-S There is no starter log file in the backup directory.
FS209-I A starter log file has been located in the backup directory.
FS210-S There is more than one starter log file in the backup directory.
FS211-S An error occurred checking the header on the log file "filename".
FS212-I The Rollforward Recovery Utility is processing the log file "filename".
FS213-W Unable to locate the continuation log file "filename" in the log file directory.
FS214-I Searching for a backed up log file in the log file directory.
FS215-I Searching for a backed up log file in the backup directory.
FS216-I No backed up starter log file can be found in the log file directory.
FS217-I No backed up starter log file can be found in the backup directory.
FS218-I No backed up continuation log file can be found in the log file directory.
FS219-I No backed up continuation log file can be found in the backup directory.
FS220-I A backed up starter log file has been found in the log file directory.
FS221-I A backed up starter log file has been found in the backup directory.
FS222-I A backed up continuation log file has been found in the log file directory.
FS223-I A backed up continuation log file has been found in the backup directory.
FS224-S The log file directory contains more than one backed up starter log file.
FS225-S The backup directory contains more than one backed up starter log file.
FS227-W Failure to set Fileshare Server's access rights.
FS228-I CCI SEND status checked.
FS229-I Unrecognized CCI session ID - could not disconnect user.
FS230-I User : user-IDuser-name
FS231-S The parameter "nnn" is not numeric.
FS232-I Date : date.
FS233-W Unable to set the maximum amount of dynamic memory to the limit specified.
FS234-W The parameter "text " specifies a memory limit below the minimum of 6 Mbytes allowed.
FS235-W Failure to allocate memory for incomplete CCI SEND processing.
FS236-I The log file name has been removed from the database reference file.
FS237-S The next log file to use filename already exists, unable to back up current log file.
FS237-W The next log file to use filename already exists, unable to back up current log file.
FS238-I Terminating communications with this user.
FS239-I Output - user Record locked. Retry operation.
FS240-I Output - user File locked. Retry operation.
FS241-I Output - user Insufficient log file disk space. Retry operation.
FS243-S Failure backing up the file filename1 to filename2.
FS244-S Failure restoring the backed up file filename1 to filename2.
FS245-S Failure deleting the log file filename.
FS246-I Backing up database files to directory backup directory. Please wait.
FS247-I Restoring database files from directory backup directory. Please wait.
FS248-I Commencing automatic Fileshare Recovery.
FS249-I Restarting Fileshare Server.
FS250-I Deleting all unwanted log files.
FS251-S Logging must be activated for all files when specifying a backup directory.
FS252-S Failure deleting the file filename.
Messages from FS301 - FS400
Using COBOL and Java Together
Java and COBOL Interoperability Options
Considerations
Calling Procedural COBOL from Java
Calling Java from OO COBOL
Calling OO COBOL from Java
Java Data Types
JVM COBOL Interoperating with Java
Managed COBOL Programming
Managed COBOL Programming
Interoperability
Multi-threaded Programming
Performance Programming
Using Visual COBOL in Modern Application Development
Using Visual COBOL with Jenkins
Problem Determination and Diagnostic Tools
The Micro Focus Unit Testing Framework
Programming Tips
General Reference
C Functions for Calling COBOL
COBOL Language Reference
COBOL Language Supported and Copyrights
Notations
Part 1. Concepts
Introduction to the COBOL Language
Concepts of the COBOL Language
Character Set
Language Structure
Formats and Rules
Concept of Computer-independent Data Description
Concept of Levels
Class and Category of Data
Language Fundamentals
Optional Division, Section and Paragraph Headings
Reserved Words
External Repository
Call Prototypes
Files
Object-oriented COBOL Concepts
Managed Code Concepts
Run Unit Communication
Data Division
Procedure Division
Reference Format
Part 2. Program Definition
Compilation Group
Identification Division
Environment Division
Data Division
General Description
File Section
Working-Storage Section
Thread-Local-Storage Section
Object-Storage Section
Local-Storage Section
Linkage Section
Screen Section
File and Data Description
Screen Section
Procedure Division
Procedure Division General Description
The PROCEDURE DIVISION Header
Arithmetic Expressions
Conditional Expressions
Common Phrases
File I/O Concepts
Conformance for Parameters and Returning Items
Intrinsic Functions
Arguments
Function Types
Definitions of Functions
Statements
The ACCEPT Statement
The ADD Statement
The ALLOCATE Statement
The ALTER Statement
The ATTACH Statement
The CALL Statement
The CANCEL Statement
The CHAIN Statement
The CLOSE Statement
The COMMIT Statement
The COMPUTE Statement
The CONTINUE Statement
The CREATE Collection Statement
The DECLARE Statement
The DELETE Statement
The DELETE FILE Statement
The DETACH Statement
The DISPLAY Statement
The DIVIDE Statement
The ENTER Statement
The ENTRY Statement
The EVALUATE Statement
The EXAMINE Statement
The EXEC(UTE) Statement
The EXHIBIT Statement
The EXIT Statement
The FREE Statement
The GOBACK Statement
The GO TO Statement
The IF Statement
The INITIALIZE Statement
The INSPECT Statement
The INVOKE Statement
The JSON GENERATE Statement
The MERGE Statement
The MOVE Statement
The MULTIPLY Statement
The NEXT SENTENCE Statement
The NOTE Statement
The ON Statement
The OPEN Statement
The PERFORM Statement
The RAISE Statement
The READ Statement
The RELEASE Statement
The RESET Collection Statement
The RETURN Statement
The REWRITE Statement
The ROLLBACK Statement
The SEARCH Statement
The SERVICE Statement
The SET Statement
The SORT Statement
The START Statement
The STOP Statement
The STRING Statement
The SUBTRACT Statement
The SYNC Statement
The TRANSFORM Statement
The TRY Statement
The UNLOCK Statement
The UNSTRING Statement
The USE Statement
The WAIT Statement
The WRITE Statement
The XML GENERATE Statement
The XML PARSE Statement
Compiler-directing Statements
Examples
Part 3. Additional Topics
XML Syntax Extensions
Report Writer
Report Section
Report Structure
Report Subdivisions
Language Concepts
Environment Division
Data Division
Procedure Division
Debug Module
Segmentation
Double-Byte Character Set Support
Micro Focus Extensions for Double-Byte Character Support
Micro Focus OO COBOL Extensions
Summary of Obsolete Language Elements
Additional Dialect Support
ACUCOBOL-GT Syntax Extensions
Data General Interactive COBOL V1.3 Syntax Support
DOS/VS COBOL Support
Microsoft COBOL V1.0 and V2.0 Syntax Support
RM/COBOL Syntax Support
Siemens BS2000 COBOL Syntax Support
Concepts
Identification Division
Environment Division
Data Division
Procedure Division
Compiler Directing Statements
VS COBOL II Compatibility
Part 4: Appendices
Command line reference
Setting Directives Outside the IDE
Compiling and Linking from the Command Line
Introduction to the cob command
cob (cob32 or cob64) Command
cob Options Syntax
cob Option Processing and Search Order
cobopt File
COBOPT Environment Variable
Creating Different Types of Files
cob Flags
Pass Option to Assembler (-A as_option)
Compile for Animation (-a)
Pass Syntax-check Phase Directive to the Compiler (-C directive)
Pass Option to the C Compiler (-CC cc_option)
Pass Option to the C++ Compiler (+CC cc_option)
Compile No Further Than Linkable Object Module (-c)
Dynamically Load Symbol (-d symb)
Set Initial Entry Point (-e epsym)
Create Information for Symbolic Debugger (-g)
Include Symbol in Executable File (-I symb)
Compile to Intermediate Code for Unlinked Environment (-i)
Compile to JVM Byte Code (-j)
Recognize COBOL Source File with Non-standard Filename Extensions (-k cobol-file)
Pass Option to System Linker Changing Search Algorithm and Maintaining Relative Ordering (-L dir)
Pass Option to System Linker After All Other Options Changing the Search Algorithm (+L dir)
Pass Option to System Linker Maintaining Relative Ordering (-l lib)
Pass Option to System Linker After All Other Options (+l lib)
Map Symbol to New Symbol (-m symb=newsym)
Pass Generate Phase Directive (-N directive)
Enable Optimization (-O)
Specify Output File-name (-o filename)
Produce Listing File (-P)
Pass Flag to C Compiler to Use Profiling Routines (-p)
Pass Option to System Linker (-Q ld_option or -Q,1 ld_option or -Q,2ld_option)
Create Multi-threading Program (-t)
Dynamically Load Unresolved Reference (-U)
Compile to Generated Code for Unlinked Environment (-u)
Report Version Number (-V)
Set Verbose Module (-v)
Control Error Level for cob Termination (-W err-level)
Exclude Symbol from the Executable Output File (-X symb)
Process to System Executable File (-x[,CC])
Produce a Shared Library for non-COBOL Applications (-Y[,CC])
Produce a Self-Contained Callable Shared Object for non-COBOL Applications (-y[,U][,CC])
Produce a Shared Library File for COBOL Applications (-Z[,CC])
Produce a Callable Shared Object for COBOL Applications (-z[,U][,CC])
Flags Reserved for Future Use
cob Error Messages
cob Command Examples
Converting Header Files Using the H2cpy Utility
Debugging from the Command Line
Running an Application from the Command Line
Enhanced ACCEPT/DISPLAY Syntax
Overview
Accepting Elementary Data Items from Single Fields
Displaying Elementary Data Items in Single Fields
Accepting and Displaying Group Items
Accepting and Displaying Screen Section Items
Accepting and Displaying Data on Large Screens
Keyboard Handling Via Adis
Configuring Enhanced ACCEPT and DISPLAY
Keyboard Configuration Utility (Keybcf)
Profiler
Test Coverage (Native COBOL)
The cobutf8 Utility
Compiler Directives
Language Features
Language Features - Dialect
Language Features - Mainframe Compatibility
Language Features - Multi-threading
Language Features - Reserved Word Control
Language Features - Speed
Language Features - Additional Features
Compiler Control
Compiling for Debugging and Analysis
File Handling
Managed COBOL Command Line Compiler Directives
Object Code, Size, and Optimization
Report Writer
Reserved Directives
Run-time Behavior
Run-time Behavior - General
Run-time Behavior - Arithmetic
Run-time Behavior - Mainframe Compatibility
Run-time Behavior - Compatibility with Older Micro Focus Products
Run-time Behavior - Compatibility with Other COBOL Dialects
Run-time Behavior - Speed or Size
Key to Compiler Directives
Compiler Directives - Alphabetical List
ACCEPTREFRESH
ACTUAL-PARAMS
ACU
ACUOPT
ACU-COMMENT
ACUSYNC
ACU-UNDERSCORE
ADDRSV
ADDSYN
ADV
ALIGN
ALPHASTART
ALTER
AMODE
ANIM
ANS85
APOST
AREACHECK
ARITH
ARITHMETIC
ASSIGN
ASSIGN-PRINTER
AUTOLOCK
BELL
BINLIT
BOUND
BOUNDOPT
BRIEF
BS2000
BWZSTAR
BYTE-MODE-MOVE
CALL-RECOVERY
CALLFH
CALLMCS
CALLSORT
CANCEL
CANCELLBR
CASE
CHANGE-MESSAGE
CHARSET
CHECK
CHECKDIV
CHECKNUM
CHECKREFMOD
CMPR2
COBFSTATCONV
COBIDY
COBOL370
COBOLDIR
COLLECTION
COMMAND-LINE-LINKAGE
COMP
COMP1
COMP2
COMP-5
COMP-6
COMS85
CONFIRM
CONSTANT
CONVERTRET (deprecated)
CONVSPACE
COPYEXT
COPYLBR
COPYLIST
COPYLISTCOMMENT
COPYPATH
COPYSEARCH
CSI
CURRENCY-SIGN
CURRENT-DATE
DATA
DATACOMPRESS
DATA-CONTEXT
DATAMAP
DATE
DB2
DBCHECK
DBCS
DBCSSOSI
DBSPACE
DE-EDIT
DEFAULTBYTE
DEFAULTCALLS
DETECT-LOCK
DG
DIALECT
DIRECTIVES, DIR
DIRECTIVES-IN-COMMENTS
DISPLAY
DISPSIGN
DOSVS
DPC-IN-SUBSCRIPT
DYNAM
EBC-COL-SEQ
ECHO
ECHOALL
ENTCOBOL
EOF-1A
ERRFORMAT
ERRLIST
ERRQ
EXITPROGRAM
FASTCALL
FASTINIT
FASTLINK
FASTSORT
FCD3
FCDALIGN
FCDCAT
FDCLEAR
FCDREG
FILESHARE
FILETYPE
FIXOPT
FLAG
FLAGAS
FLAGEUC
FLAGMIG
FLAGQ
FLAGSINEDIT
FLAGSTD
FOLD-CALL-NAME
FOLD-COPY-NAME
FORM
FP-ROUNDING
HIDE-MESSAGE
HOSTARITHMETIC
HOSTCONTZERO
HOSTFD
HOST-NUMCOMPARE
HOST-NUMMOVE
HOSTRW
IBM-MS
IBMCOMP
IDENTIFIERLEN
IDXFORMAT
IDYSRCPATH (deprecated)
IGNOREEXEC
ILARRAYPROPERTY
ILASSEMBLY
ILCLR
ILCOMPANY
ILCOPYRIGHT
ILCULTURE
ILCUTPREFIX
ILDELAYSIGN
ILDESCRIPTION
ILDOC
ILDYNCALL
ILEXPONENTIATION
ILFILEVERSION
ILGEN
ILICON
ILINCREMENTALBUILD (Technology Preview)
ILKEYFILE
ILKEYNAME
ILMAIN
ILMANIFEST
ILNAMESPACE
ILNATIVE
ILNATIVERESOURCE
ILOBJECTIFY (deprecated)
ILOPTIMIZEDATA
ILOUTPUT
ILPARAMS
ILPINVOKE
ILPRODUCT
ILPRODUCTVERSION
ILREF
ILRESOURCE
ILSHOWPERFORMOVERLAP
ILSMARTLINKAGE
ILSMARTNEST
ILSMARTRESTRICT
ILSMARTSERIAL
ILSOURCE
ILSTACKSIZE
ILSUBSYSTEM
ILTARGET
ILTITLE
ILTRADEMARK
ILUSING
ILVERIFY
ILVERSION
IMPLICITSCOPE
INDD
INFORETURN
INIT-BY-TYPE
INITCALL
INITPTR
INT
INTDATE
INTLEVEL
IOCONV
ISO2002
IXNLSKEY
IXNUMKEY
JAPANESE
JVMCLASSPATH
JVMDECIMAL
JVMGEN
KEYCHECK
KEYCOMPRESS
LIBRARIAN
LINE-COUNT
LINKALIAS
LINKCHECK
LIST
LISTPATH
LISTWIDTH, LW
LITLINK
LITVAL-SIZE
LNKALIGN
LOCALCOUNT
LOCALSOURCEFORMAT
LOCKTYPE
MAKESYN
MAINFRAME-FLOATING-POINT
MAPNAME
MAX-ERROR
METHODDEFAULT
MF, MFLEVEL
MFCOMMENT
MFSYNC
MOVE-LEN-CHECK
MS
MVS
NATIONAL
NATIVE
NATIVE-FLOATING-POINT
NCHAR
NLS
NLS CURRENCY LENGTH
NSYMBOL
NULL-ESCAPE
NUMPROC
OBJ
ODOOSVS
ODOSLIDE
OLDBLANKLINE
OLDCOPY
OLDINDEX
OLDNEXTSENTENCE
OLDREADINTO
OLDSTRMIX
OOCTRL
OPT (Intel x86 platforms)
OPT (Non-Intel x86 platforms)
OPTIONAL-FILE
OS390
OSEXT
OSVS
OUTDD
OVERRIDE
P64
PANVALET
PARAMCOUNTCHECK
PC1
PERFORM-TYPE
PERFORMOPT
PPLITLINK
PREPLIST
PREPROCESS, P
PRESERVECASE
PRINT
PRINT-EXT
PROFILE
PROGID-COMMENT
PROGID-INT-NAME
PROTECT-LINKAGE
PROTOTYPE
QUAL
QUALPROC
QUERY
QUOTE
RAWLIST
RDFPATH
RDW
RECMODE
RECURSECHECK
REENTRANT
REF
REFNO
REMAINDER
REMOVE
REPORT-LINE
REPOSITORY
RESEQ
RESTRICT-GOTO
RETRYLOCK
REWRITE-LS
RM
RTNCODE-SIZE
RUNTIME-ENCODING
RWHARDPAGE
SAA
SCHEDULER
SEG
SEQCHK
SEQUENTIAL
SERIAL
SETTING, SETTINGS
SHARE-OUTDD
SHOW-DIR
SIGN
SIGNDISCARD
SIGN-FIXUP
SORTTYPE
SOURCEASM
SOURCE-ENCODING
SOURCEFORMAT
SOURCETABSTOP
SPZERO (deprecated)
SQL
SSRANGE
STDERR
STICKY-LINKAGE
STICKY-PERFORM
SUPFF
SWITCH-TYPE
SYMBSTART
SYSPUNCH
TERMPAGE
TESTCOVER
TIME
TRACE
TRICKLE (deprecated)
TRUNC
TRUNCCALLNAME
TRUNCCOPY
TRUNCINC
UNICODE
USE
VERBOSE
VSC2
WARNING, WARNINGS
WB
WB2
WB3
WRITELOCK, WRITE-LOCK
WRITETHROUGH, WRITETHRU
XMLGEN
XMLPARSE
XOPEN
XREF
ZEROLENGTHFALSE
ZEROSEQ
ZWB
Environment Variables
Error Messages
Syntax Checking Error Messages
Key to Syntax Checking Error Messages
COBCH0001 - COBCH0100
COBCH0001 - COBCH0020
COBCH0021 - COBCH0040
COBCH0041 - COBCH0060
COBCH0061 - COBCH0080
COBCH0081 - COBCH0100
COBCH0101 - COBCH0200
COBCH0101 - COBCH0120
COBCH0121 - COBCH0140
COBCH0141 - COBCH0160
COBCH0161 - COBCH0180
COBCH0181 - COBCH0200
COBCH0201 - COBCH0300
COBCH0201 - COBCH0220
COBCH0221 - COBCH0240
COBCH0241 - COBCH0260
COBCH0261 - COBCH0280
COBCH0281 - COBCH0300
COBCH0301 - COBCH0400
COBCH0301 - COBCH0320
COBCH0321 - COBCH0340
COBCH0341 - COBCH0360
COBCH0361 - COBCH0380