Author Archive

Sample RUN JCL for COBOL Program

Sample RUN JCL for a COBOL Program – In Mainframes area any batch COBOL program needs to have its corresponding JCL to run it without which it can not be executed. As we know JCL is a JOb Control Language which is used to run and control the execution of the programs. So JOB written

COBOL Batch Program Example

COBOL Batch program(example) is a cobol program that runs in a bath mode. Unlike the Online programs, batch programs runs in background. To execute any Batch program a JOB written in JCL(Job Control Language) is required. This JOB is also used to specify any files that are used in that program. Generally Batch programs are

IEFBR14 Examples

Examples of IEFBR14 in JCL: It is an IBM utility used in JCL which does nothing so it is also considered as a DUMMY utility. IEFBR14 does nothing but when running this utility other systems services gets invoked which can perform useful tasks like allocating, creating data sets or deleting data sets etc. So this

JCL RESTART Parameter with Examples

This topic covers the JCL Restart parameter with Examples.As the name suggests this is used to Restart a JOB from any particular step instead of starting it from the beginning. This is very useful for the jobs with multiple steps and abends after executing few steps. In this case as few job steps were already

JCL JOB Card Parameters with Examples

JOB Card or Statement in JCL is the first statement which indicates the starting of that JOB. Operating system identifies the beginning of the job using this statement and also it tells the OS on how the job should be processed. This Card can be coded with 20 different Parameters to instruct the operating system

COBOL 77 Level Number Uses

77 Level Number Uses, significance:77 is a special Level number in COBOL which is used to declare the Individual Elementary data items. Of course, Individual elementary data items can be declared using 01 level but 77 declared fields does not allow any sub ordinate data field declarations. These have been very useful in earlier versions

COBOL Stop Run, GO Back and Exit Program

STOP Run Vs GOBACK  Vs Exit Program in COBOL: Stop Run, Go Back and Exit statements are to give control back from the program (in which these are coded as a last statement) to where this program is being called.  All works in the same by giving the control back but one gives it to OS where

COBOL Accept Statement

COBOL ACCEPT Statement: Accept statement in COBOL with examples – It is used to receive the data that has been sent from outside of that program. Data can be sent from any Terminal or from JCL or from system defined items like date functions. ACCEPTING multiple records from input is also possible. Accepting Data from

COBOL 88 level number with Examples

COBOL 88 Level Number or Condition Names  88 level number in COBOL is one of the most used declarations in mainframes development and it is considered as a special level number which is used to improve the readability of COBOL programs. As it gives a name to a condition, it is also called as ‘Condition

Important COBOL compiler options

Important Cobol Compiler Options SSRANGE, APOST, RENT, OFFSET, LIST COBOL programs which are coded are called Source module that are not executable. Source code goes thru a process called Compilation that produces object module or Load Module which is an executable code format. These Load modules are stored in a Load Library and are made