CICS Day 4

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

CICS

– Day 4
Revision

● CICS Overview
● Functions Of CICS
● Features of CICS
● CICS Environment
● CICS Basic Terms
● CICS Nucleus
● CICS Concepts
● CICS Transaction and Transaction Life Cycle
Revision .. contd

● CICS COBOL Basic


● CICS Program Compilation
● CICS BMS
● CICS Map
● CICS Interface Block
● CICS Pseudo Programming
LAB Revision Time: 1 hour

● Write a CICS Program to display your name on the screen


● Write a CICS Map to display

HAPPY NEW YEAR 2023

BYE BYE 2022 WELCOME 2023

● Write a program and transaction to display the map


● Compile and test the transaction
CICS Revision of Basic Program

● CICS Program to Display Message on a CICS screen


● CICS Map Creation
● CICS Defining, Installing Transaction, Maps and Programs
CICS Temporary Storage Control

The CICS temporary storage control program provides the application programmer with the ability to store data
in temporary storage queues, either in main storage, or in auxiliary storage on a direct-access storage device.
TSQ

Temporary storage queues remain intact until they are deleted by the originating task, by any other task, or by a
cold start; before deletion, they can be accessed any number of times.

Even after the originating task is terminated, data on temporary storage queues can be accessed by other tasks
through references to the symbolic name under which it is stored.

Temporary data can be stored either in main storage or in auxiliary storage.


Temporary Storage Queue

● Write data to a temporary storage queue (EXEC CICS WRITEQ TS command)



Update data in a temporary storage queue (EXEC CICS WRITEQ TS REWRITE command)

Read data from a temporary storage queue (EXEC CICS READQ TS command)

Read the next data from a temporary storage queue (EXEC CICS READQ TS NEXT command)

Delete a temporary storage queue (EXEC CICS DELETEQ TS command)
WRITEQ TS

● The QUEUE is identified by the name which is mentioned in this parameter.


● FROM and LENGTH options are used to specify the record that is to be written to the queue and its length.
● If the ITEM option is specified, CICS assigns an item number to the record in the queue, and sets the data area
supplied in that option to the item number. If the record starts a new queue, the item number assigned is 1 and
subsequent item numbers follow on sequentially.
● The REWRITE option is used to update a record already present in the queue.
● MAIN / AUXILIARY option is used to store records in main or auxiliary storage. Default is AUXILIARY.
READQ TS
EXEC CICS READQ TS

QUEUE ('queue-name')

INTO (queue-record)

[LENGTH (queue-record-length)]

[ITEM (item-number)]

[NEXT]

END-EXEC.
DELETEQ TS

EXEC CICS DELETEQ TS

QUEUE ('queue-name')

END-EXEC.
Main storage

● 64-bit (above-the-bar) storage in the CICS region.


● TSMAINLIMIT system initialization parameter used.
Auxiliary storage

● Non-indexed VSAM data set named DFHTEMP.


● 31-bit (above-the-line) storage is used in the CICS region for VSAM buffers to make control intervals
available from the VSAM data set.
● TS system initialization parameter used to set the number of buffers.
Shared temporary storage pools in a z/OS coupling

Shared temporary storage pools (TS pools) are in a z/OS coupling facility managed by a temporary storage data
sharing server (TS server). Each pool corresponds to a list structure in the coupling facility. You specify the size
of each temporary storage pool using the coupling facility resource manager (CFRM) policy definition utility in
z/OS. Shared temporary storage pools do not use any storage in the CICS region, and applications access them
directly from the local CICS region.
Features of Temporary Storage Locations
Transient Data Queues

● The contents of the queue can be read only once as it gets destroyed once a read is performed
and hence the name Transient.
● It cannot be updated.
● It requires an entry in DCT.
TDQ Commands

● WRITEQ TD
● READQ TD
● DELETEQ TD
CICSPLEX
CICS System Complexity
Single System Image
Logical CICS Group
CICSPlex SM operations control
WLM: Dynamic Transaction Routing
WLM: CICSPlex SM Workload Manager
CICSPlex Automated Workload Management
WLM: Workload Separation
WLM: Transaction Affinities
WLM: Affinity processing
WLM Benefits
RTA : Real Time Analysis
CICSPlex RTA Flow
RTA: CICSPlex SM Options
CICSPlex SM Monitoring
BAS: Single Point Of Definition
BAS Scoping
BAS: Resources Definition Sharing
BAS: Resources Assignment
BAS: System Links
CICS SM API
CICSPlex SM Security

You might also like