Category: CICS

CICS RETURN with Examples

RETURN IN CICS is to return the control back to the next higher level which is either main program or CICS(Operating System).It is very useful in programs where there are sub programs involved in exchanging the data Or screens involved where there is a need to preserve the data and use it after the user

Transaction Initiation in CICS

There are multiple ways of initiating a transaction in CICS. Initiating a transaction is nothing but running that transaction to start any process. Below are the different ways of transaction initiation process. 1. Entering the trans ID on native region. Example: If CST1 is the transaction ID to display the main customer details screen. Then

Populating Current USERID in CICS map field

Populating Current USERID in CICS (COBOL) map filed is the most common requirement for the Update-able Maps. Along with USERID, getting Current date-time are also can be retrieved using the CICS supplied commands. These can be coded in COBOL program under EXEC … & END-EXEC just like any other commands. ASSIGN USERID – ASSIGN command


What is a MAP? It is a screen representation of a functionality from where users can access(to perform different functionalities) it. In other words it is nothing but the front end for the mainframe applications. Example -> A Bank Customer Inquiry Screen from where the bank employees/Users access customer details by entering the Customer number

How to submit a batch job from CICS, Spool routing

Submitting a JOB from Online, Extra Partition TDQs,routing output to Spool There are two ways that a job can be submitted from online. 1. Using Extra partition TDQs 2. Using the Spool Files 1.Using Extra partition TDQs TDQs are generally used to submit the jobs in batch from Online. JOB cards and required steps are

CICS quick Reference for D2D activities

CICS quick Reference for D2D activities 1. How to terminate a Task in CICS? This need comes when ant transaction got struck or went into Infinite loop. So to overcome this, that task needs to be purged or terminated as narrated below – Enter into Native CICS region – Enter ‘CEMT INW TASK()’ It displays

Exception Handling in CICS

Exception handling It is one of the core concept in CICS coding. Programmer should have knowledge on exception handling methods for effective use of these methods while developing any program. This topic gives various types of exception handling and usage of each one in detail. By default CICS manages the exceptions internally and ends programs

Cursor positioning in CICS Methods

Cursor positioning in CICSĀ is an important aspect in the screen and program design. At the time of screen (MAP) design the initial cursor location must be specified as per the requirement. This is the Static Cursor positioning. This can be changed dynamically at the time program coding and it is called as the Dynamic Cursor


TSQs—> Temporary Storage Ques are important CICS storage facility to store data that must be available to other transactions in the same region. Records stored in TSQs are called as ITEMs and can be referred seq. or directly by using the ITEM number. Remains in the storage until it gets deleted or COLD start. These

Transaction CICS

Transaction in CICS has a great importance which is the unit of work performed and is represented by a 4 char TRANS ID. It is linked to one or more programs and once a transaction is initiated, programs that are defined gets executed. At the time of transction definition, these programs needs to be given/linked.