GnuCOBOL Quick Reference
This documentation is published by OCamlPro SAS on our resources page for GnuCOBOL.
Authors:
Gary L. Cutler (cutlergl@gmail.com).
For updates Vincent B. Coen (vbcoen@gmail.com).
- Copyright
- 1 CDF
- CDF CALL-CONVENTION Statement Syntax
- CDF COPY Statement Syntax
- CDF COPY Phrase-Clause Syntax
- CDF COPY String-Clause Syntax
- CDF REPLACE Statement (Format 1) Syntax
- CDF REPLACE Statement (Format 2) Syntax
- CDF REPLACE Phrase-Clause Syntax
- CDF REPLACE String-Clause Syntax
- CDF >>DEFINE Directive Syntax
- CDF >>IF Directive Syntax
- CDF-Conditional-Expression Syntax
- CDF-RelOp Syntax
- CDF >>SET Directive Syntax
- CDF >>SOURCE Directive Syntax
- CDF >>TURN Directive Syntax
- CDF >>D Directive Syntax
- CDF >>DISPLAY Directive Syntax
- CDF >>PAGE Directive Syntax
- CDF >>LISTING Directive Syntax
- CDF >>LEAP-SECONDS Directive Syntax
- CDF $ Directives Syntax
- CDF Predefined Compilation Variables Syntax
- 2 IDENTIFICATION DIVISION Syntax
- 3 ENVIRONMENT DIVISION Syntax
- ENVIRONMENT DIVISION Syntax
- CONFIGURATION SECTION Syntax
- SOURCE-COMPUTER Syntax
- OBJECT-COMPUTER Syntax
- SPECIAL-NAMES Syntax
- REPOSITORY Syntax
- SPECIAL-NAMES Alphabet-Clause Syntax
- SPECIAL-NAMES ALPHABET Literal-Clause Syntax
- SPECIAL-NAMES Class-Definition-Clause Syntax
- SPECIAL-NAMES Switch-Definition-Clause Syntax
- SPECIAL-NAMES-Symbolic-Characters-Clause Syntax
- INPUT-OUTPUT SECTION Syntax
- I-O-CONTROL MULTIPLE FILE Syntax
- I-O-CONTROL SAME AREA Syntax
- SELECT Statement Syntax
- ORGANIZATION SEQUENTIAL Clause Syntax
- ORGANIZATION LINE SEQUENTIAL Clause Syntax
- ORGANIZATION RELATIVE Clause Syntax
- ORGANIZATION INDEXED Clause Syntax
- 4 DATA DIVISION Syntax
- DATA DIVISION Syntax
- File/Sort-Description Syntax
- FILE-SECTION-Data-Item Syntax
- WORKING-STORAGE-SECTION-Data-Item Syntax
- LOCAL-STORAGE-SECTION-Data-Item Syntax
- LINKAGE-SECTION-Data-Item Syntax
- Report-Description (RD) Syntax
- Report-Group-Definition Syntax
- REPORT-SECTION-Data-Item Syntax
- SCREEN-SECTION-Data-Item Syntax
- 01-Level-Constant Syntax
- 66-Level-Data-Item Syntax
- 77-Level-Data-Item Syntax
- 78-Level-Constant Syntax
- 88-Level-Data-Item Syntax
- 5 PROCEDURE DIVISION Syntax
- PROCEDURE DIVISION Syntax
- PROCEDURE DIVISION Subprogram-Argument Syntax
- PROCEDURE DIVISION Main-Program-Argument Syntax
- PROCEDURE DIVISION RETURNING Syntax
- DECLARATIVES Syntax
- LENGTH OF Syntax
- Reference Modifier (Format 1) Syntax
- Reference Modifier (Format 2) Syntax
- Arithmetic-Expression Syntax
- Unary-Expression Syntax
- Class-Condition Syntax
- Sign-Condition Syntax
- Relation-Condition Syntax
- RelOp Syntax
- Combined Condition Syntax
- Negated Condition Syntax
- ACCEPT FROM CONSOLE Syntax
- ACCEPT FROM COMMAND-LINE Syntax
- ACCEPT FROM ENVIRONMENT Syntax
- ACCEPT Data-Item Syntax
- ACCEPT FROM DATE/TIME Syntax
- ACCEPT FROM Screen-Info Syntax
- ACCEPT FROM Runtime-Info Syntax
- ACCEPT OMITTED Syntax
- ACCEPT FROM EXCEPTION STATUS Syntax
- ADD TO Syntax
- ADD GIVING Syntax
- ADD CORRESPONDING Syntax
- ALLOCATE Syntax
- ALTER Syntax
- CALL Syntax
- CALL Argument Syntax
- CANCEL Syntax
- CLOSE Syntax
- COMMIT Syntax
- COMPUTE Syntax
- CONTINUE Syntax
- DELETE Syntax
- DISPLAY UPON Device Syntax
- DISPLAY UPON COMMAND-LINE Syntax
- DISPLAY UPON ENVIRONMENT-NAME Syntax
- DISPLAY Data-Item Syntax
- DISPLAY data-item (Microsoft format) Syntax
- DIVIDE INTO Syntax
- DIVIDE INTO GIVING Syntax
- DIVIDE BY GIVING Syntax
- ENTRY Syntax
- ENTRY-Argument Syntax
- EVALUATE Syntax
- EVALUATE Selection Subject Syntax
- EVALUATE Selection Object Syntax
- EXAMINE Syntax
- EXHIBIT Syntax
- EXIT Syntax
- FREE Syntax
- GENERATE Syntax
- GOBACK Syntax
- Simple GO TO Syntax
- GO TO DEPENDING ON Syntax
- IF Syntax
- INITIALIZE Syntax
- INITIATE Syntax
- INSPECT Syntax
- MERGE Syntax
- Simple MOVE Syntax
- MOVE CORRESPONDING Syntax
- MULTIPLY BY Syntax
- MULTIPLY GIVING Syntax
- OPEN Syntax
- Procedural PERFORM Syntax
- Inline PERFORM Syntax
- VARYING Syntax
- Sequential READ Syntax
- Random READ Syntax
- READY TRACE Syntax
- RELEASE Syntax
- RESET TRACE Syntax
- RETURN Syntax
- REWRITE Syntax
- ROLLBACK Syntax
- SEARCH Syntax
- SEARCH ALL Syntax
- SET ENVIRONMENT Syntax
- SET Program-Pointer Syntax
- SET ADDRESS Syntax
- SET Index Syntax
- SET UP/DOWN Syntax
- SET Condition Name Syntax
- SET Switch Syntax
- SET ATTRIBUTE Syntax
- SET LAST EXCEPTION Syntax
- File-Based SORT Syntax
- Table SORT Syntax
- START Syntax
- STOP Syntax
- STRING Syntax
- SUBTRACT FROM Syntax
- SUBTRACT GIVING Syntax
- SUBTRACT CORRESPONDING Syntax
- SUPPRESS Syntax
- TERMINATE Syntax
- TRANSFORM Syntax
- UNLOCK Syntax
- UNSTRING Syntax
- WRITE Syntax
- 6 Intrinsic Functions Syntax
- ABS Function Syntax
- ACOS Function Syntax
- ANNUITY Function Syntax
- ASIN Function Syntax
- ATAN Function Syntax
- BIT-OF Function Syntax
- BIT-TO-CHAR Function Syntax
- BYTE-LENGTH Function Syntax
- CHAR Function Syntax
- COMBINED-DATETIME Function Syntax
- CONCATENATE Function Syntax
- CONTENT-LENGTH Function Syntax
- CONTENT-OF Function Syntax
- COS Function Syntax
- CURRENCY-SYMBOL Function Syntax
- CURRENT-DATE Function Syntax
- DATE-OF-INTEGER Function Syntax
- DATE-TO-YYYYMMDD Function Syntax
- DAY-OF-INTEGER Function Syntax
- DAY-TO-YYYYDDD Function Syntax
- E Function Syntax
- EXCEPTION-FILE Function Syntax
- EXCEPTION-LOCATION Function Syntax
- EXCEPTION-STATEMENT Function Syntax
- EXCEPTION-STATUS Function Syntax
- EXP Function Syntax
- EXP10 Function Syntax
- FACTORIAL Function Syntax
- FORMATTED-CURRENT-DATE Function Syntax
- FORMATTED-DATE Function Syntax
- FORMATTED-DATETIME Function Syntax
- FORMATTED-TIME Function Syntax
- FRACTION-PART Function Syntax
- HEX-OF Function Syntax
- HEX-TO-CHAR Function Syntax
- HIGHEST-ALGEBRAIC Function Syntax
- INTEGER Function Syntax
- INTEGER-OF-DATE Function Syntax
- INTEGER-OF-DAY Function Syntax
- INTEGER-OF-FORMATTED-DATE Function Syntax
- INTEGER-PART Function Syntax
- LENGTH Function Syntax
- LENGTH-AN Function Syntax
- LOCALE-COMPARE Function Syntax
- LOCALE-DATE Function Syntax
- LOCALE-TIME Function Syntax
- LOCALE-TIME-FROM-SECONDS Function Syntax
- LOG Function Syntax
- LOG10 Function Syntax
- LOWER-CASE Function Syntax
- LOWEST-ALGEBRAIC Function Syntax
- MAX Function Syntax
- MEAN Function Syntax
- MEDIAN Function Syntax
- MIDRANGE Function Syntax
- MIN Function Syntax
- MOD Function Syntax
- MODULE-CALLER-ID Function Syntax
- MODULE-DATE Function Syntax
- MODULE-FORMATTED-DATE Function Syntax
- MODULE-ID Function Syntax
- MODULE-PATH Function Syntax
- MODULE-SOURCE Function Syntax
- MODULE-TIME Function Syntax
- MONETARY-DECIMAL-POINT Function Syntax
- MONETARY-THOUSANDS-SEPARATOR Function Syntax
- NUMERIC-DECIMAL-POINT Function Syntax
- NUMERIC-THOUSANDS-SEPARATOR Function Syntax
- NUMVAL Function Syntax
- NUMVAL-C Function Syntax
- NUMVAL-F Function Syntax
- ORD Function Syntax
- ORD-MAX Function Syntax
- ORD-MIN Function Syntax
- PI Function Syntax
- PRESENT-VALUE Function Syntax
- RANDOM Function Syntax
- RANGE Function Syntax
- REM Function Syntax
- REVERSE Function Syntax
- SECONDS-FROM-FORMATTED-TIME Function Syntax
- SECONDS-PAST-MIDNIGHT Function Syntax
- SIGN Function Syntax
- SIN Function Syntax
- SQRT Function Syntax
- STANDARD-DEVIATION Function Syntax
- STORED-CHAR-LENGTH Function Syntax
- SUBSTITUTE Function Syntax
- SUBSTITUTE-CASE Function Syntax
- SUM Function Syntax
- TAN Function Syntax
- TEST-DATE-YYYYMMDD Function Syntax
- TEST-DAY-YYYYDDD Function Syntax
- TEST-FORMATTED-DATETIME Function Syntax
- TEST-NUMVAL Function Syntax
- TEST-NUMVAL-C Function Syntax
- TEST-NUMVAL-F Function Syntax
- TRIM Function Syntax
- UPPER-CASE Function Syntax
- VARIANCE Function Syntax
- WHEN-COMPILED Function Syntax
- YEAR-TO-YYYY Function Syntax
- BOOLEAN-OF-INTEGER function Syntax
- CHAR-NATIONAL Function Syntax
- DISPLAY-OF Function Syntax
- EXCEPTION-FILE-N Function Syntax
- EXCEPTION-LOCATION-N Function Syntax
- INTEGER-OF-BOOLEAN Function Syntax
- NATIONAL-OF Function Syntax
- STANDARD-COMPARE Function Syntax
- 7 Built-In Subroutines Syntax
- C$CALLEDBY Built-In Subroutine Syntax
- C$CHDIR Built-In Subroutine Syntax
- C$COPY Built-In Subroutine Syntax
- C$DELETE Built-In Subroutine Syntax
- C$FILEINFO Built-In Subroutine Syntax
- C$GETPID Built-In Subroutine Syntax
- C$JUSTIFY Built-In Subroutine Syntax
- C$MAKEDIR Built-In Subroutine Syntax
- C$NARG Built-In Subroutine Syntax
- C$PARAMSIZE Built-In Subroutine Syntax
- C$PRINTABLE Built-In Subroutine Syntax
- C$SLEEP Built-In Subroutine Syntax
- C$TOLOWER Built-In Subroutine Syntax
- C$TOUPPER Built-In Subroutine Syntax
- CBL_AND Built-In Subroutine Syntax
- CBL_CHANGE_DIR Built-In Subroutine Syntax
- CBL_CHECK_FILE_EXIST Built-In Subroutine Syntax
- CBL_CLOSE_FILE Built-In Subroutine Syntax
- CBL_COPY_FILE Built-In Subroutine Syntax
- CBL_CREATE_DIR Built-In Subroutine Syntax
- CBL_CREATE_FILE Built-In Subroutine Syntax
- CBL_DELETE_DIR Built-In Subroutine Syntax
- CBL_DELETE_FILE Built-In Subroutine Syntax
- CBL_EQ Built-In Subroutine Syntax
- CBL_ERROR_PROC Built-In Subroutine Syntax
- CBL_EXIT_PROC Built-In Subroutine Syntax
- CBL_FLUSH_FILE Built-In Subroutine Syntax
- CBL_GC_FORK Built-In Subroute Syntax
- CBL_GC_GETOPT Built-In Subroutine Syntax
- CBL_GC_HOSTED Built-In Subroutine Syntax
- CBL_GC_NANOSLEEP Built-In Subroutine Syntax
- CBL_GC_PRINTABLE Built-In Subroutine Syntax
- CBL_GC_WAITPID Built-In Subroutine Syntax
- CBL_GET_CSR_POS Built-In Subroutine Syntax
- CBL_GET_CURRENT_DIR Built-In Subroutine Syntax
- CBL_GET_SCR_SIZE Built-In Subroutine Syntax
- CBL_SET_SCR_SIZE Built-In Subroutine Syntax
- CBL_IMP Built-In Subroutine Syntax
- CBL_NIMP Built-In Subroutine Syntax
- CBL_NOR Built-In Subroutine Syntax
- CBL_NOT Built-In Subroutine Syntax
- CBL_OPEN_FILE Built-In Subroutine Syntax
- CBL_OR Built-In Subroutine Syntax
- CBL_READ_FILE Built-In Subroutine Syntax
- CBL_READ_KBD_CHAR Build-In Subroutine Syntax
- CBL_RENAME_FILE Built-In Subroutine Syntax
- CBL_SET_CSR_POS Build-In Subroutine Syntax
- CBL_TOLOWER Built-In Subroutine Syntax
- CBL_TOUPPER Built-In Subroutine Syntax
- CBL_WRITE_FILE Built-In Subroutine Syntax
- CBL_XOR Built-In Subroutine Syntax
- SYSTEM Built-In Subroutine Syntax
- X”91” Built-In Subroutine Syntax
- X”E4” Built-In Subroutine Syntax
- X”E5” Built-In Subroutine Syntax
- X”F4” Built-In Subroutine Syntax
- X”F5” Built-In Subroutine Syntax
- 8 GNU Free Documentation License