All Articles

Error Handling via file status

Native COBOL file status provides information about the result of each file operation executed....

Error Handling via phrases

COBOL does not automatically take corrective action when file input or output operation fails....

CALL Operations Error Handling

In ILE COBOL programs, programmers use CALL statements for: Calling a subprogram – (Object...

String Operations Error Handling

During the STRING and UNSTRING verbs operations the result string length may fall outside...

Arithmetic Operations Error Handling

The arithmetic operations (e.g. ADD, SUBTRACT, MULTIPLY, DIVIDE, or COMPUTE) will either produce a...

Error Handling – Introduction

Error handling is a method used to handle potential runtime errors by sending messages...

Conditional Directives

The conditional compilation directive statements allow programmers to conditionally include or exclude sections of...

COPY DDS Translate

COPY statement is also used to translate DDS file layout to incorporate external file...

COPY Basic Format

Before compiling a COBOL program containing COPY directive statements, several important points should be...