Mainframe

INREC control statement use in SORT

The INREC control statements allow users to reformat an input record before processing. The user can  Define the parts of…

4 years ago

Find Duration – Add – Subtract – MOD Duration using COBOL

The FIND DURATION function is used to calculate duration between: Two dates A date and a timestamp Two times A…

4 years ago

File Handling Verbs in COBOL Programs

The collection of records belonging to the same entity is known as File. These records are stored permanently. File handling helps to organize…

4 years ago

FILE ALLOCATION – COBOL File Handling

FILE ALLOCATION is a key concept in COBOL programming. A file is a collection of data related to a set…

4 years ago

COBOL File Error Handling and Status Code

Any I-O operations on a file, there are chances that it may fail. We need to have COBOL FIle Error…

4 years ago

ROUNDED and ON SIZE ERROR use in COBOL

The ROUNDED option used to round the fraction result of the compute statement exceeds the length of the target data…

4 years ago

GDG – Generation Data Groups operations in JCL

GDG Stands for ‘Generation data group’ & is used to catalog a group of datasets that have common and similar…

4 years ago

COUNT Function: Count number of records in a file

COUNT function can be used to print messages containing the count of records in a data set. It can also…

4 years ago

ACCEPT n records with OUTFIL SORT utility

ACCEPT parameter is an OUTFIL option that limit the number of input records accepted for OUTFIL processing. A record is…

4 years ago

IFTRAIL – Trailer record update using SORT

IFTRAIL parameter is used to update count and total values in an existing trailer (last) record to reflect the actual…

4 years ago