Useful CICS Commands with Screens

Table of Contents

CICS Commands

If you have already compiled your BMS Macro by running JCL and it has created the physical and symbolic map, following screen shows how to perform other steps needed for a CICS transaction. Below are some of the hands on screen shots to learn CICS basic screens and commands.

  1. Define CICS MAP in PPT
  2. Install CICS MAP /Load CICS MAP
  3. Define CICS Transaction in PPT
  4. Install CICS TRANS /Load CICS TRANS
  5. Define VSAM file in FCT
  6. Define CICS PROGram
  7. Install CICS PROGram
  8. Mark new copy of program (CEMT SET PROG)
  9. Close/Open/Change edit options of file (CEMT I FILE)
  10. See List of the transaction running
  11. Kill a task
  12. Browse TSQ (CEBR)
  13. Debug transaction (CEDF)

REACH CICS COUNSEL

Useful CICS Commands with Screens
Useful CICS Commands with Screens

Type  CICS and press enter

On reaching this screen press attention key (normally it is mapped to PAUSE BREAK key of keyboard.

DEFINE MAP

Useful CICS Commands with Screens

On the next screen write “CEDA DEF MAP” and press enter

On this screen fill in MAPSET, GROUP field and press ENTER

At bottom of the screen you will get the message “Define Successful”

Press F3 to reach CICS Counsel.

Install MAP

Useful CICS Commands with Screens

Write “CEDA INS MAP” and press enter

Useful CICS Commands with Screens

Fill MAPSET and

press F8 twice to go 2 page down.

Fill GROUP field

Press enter

On successful installation you will have “INSTALL SUCCESSFUL” Msg at the bottom of the screen

Press F3 to reach CICS Counsel.

DEFINE TRANSACTION

Useful CICS Commands with Screens

Write “CEDA DEF TRANS” and press <ENTER>

Useful CICS Commands with Screens


Fill TRANSaction, Group, Program fields and press <ENTER>

At bottom of the screen you will get the message “Define Successful”

Press F3 to reach CICS Counsel.

Install TRANSACTION

Useful CICS Commands with Screens

Type “CEDA INS TRANS” and press <ENTER>

Useful CICS Commands with Screens

Press F8  to go 1 page down.

Fill Transaction

press F8 twice to go 1 page down.

Fill Group

Press <ENTER>

On successful installation you will have “INSTALL SUCCESSFUL” Msg at the bottom of the screen

Press F3 to reach CICS Counsel.

DEFINE VSAM FILE

Useful CICS Commands with Screens

Type “CEDA DEF FILE” and Press <ENTER>

Useful CICS Commands with Screens

Fill File (Logical file name), Group, DSName (physical file name)

press F8 thrice to go 3 page down

Under operations change file edit options Add/Browse/Delete/Read/Update

Press <ENTER>

At bottom of the screen you will get the message “Define Successful”

Press F3 to reach CICS Counsel.

DEFINE PROGRAM

Useful CICS Commands with Screens

Type “CEDA DEF PROG” and press <ENTER>

Useful CICS Commands with Screens

Fill PROGRAM, GROUP, LANGUAGE

Press <ENTER>

At bottom of the screen you will get the message “Define Successful”

Press F3 to reach CICS Counsel.

INSTALL PROG

Useful CICS Commands with Screens

Type “CEDA INS PROG” and press <ENTER>

Useful CICS Commands with Screens

Press F8

Fill PROGRAM

Press F8

Fill GROUP

Press Enter

On successful installation you will have “INSTALL SUCCESSFUL” Msg at the bottom of the screen

Press F3 to return to CICS Screen

MARK NEW COPY TO PROGRAM (required after recompiling)

Useful CICS Commands with Screens

Type “CEMT SET PROG(PGMNAME) NEW” and press <ENTER>

Useful CICS Commands with Screens

On response at the bottom it will read “NORMAL” on successful operation

CICS FILE CLOSE/OPEN/CHG OPERATION OPTION

Useful CICS Commands with Screens

Type “CEMT I FILE(EMP27A)”

Press <ENTER>

Useful CICS Commands with Screens

Here you can overtype the option you want to change and press enter.

e.g. to close the file Overtype “Ope” with “Clo” and press <Enter>

file will be closed on Response “Normal” will be displayed.

List transactions

Useful CICS Commands with Screens
Useful CICS Commands with Screens

You can filter the result by given transaction initial or name.

e.g. “CEMT I TRANS(C*)” or “CEMT I TRANS(CBAM)” and press enter

Use F8 to go page down and F7 to go page up

F3 to come out of the screen

KILL TASK

Useful CICS Commands with Screens
Useful CICS Commands with Screens

Type “FO” next to the task you want to kill and press <ENTER>

Browse TSQ (CEBR)

Useful CICS Commands with Screens

Type CEBR and press <ENTER>

Change the TSQ name by overtyping it and pressing enter. Similarly about SYSID

Debug transaction (CEDF)

Useful CICS Commands with Screens

Type CEDF and press <ENTER>

Useful CICS Commands with Screens

Press Attention key <PAUSE BREAK>

Type the transaction name and press <ENTER>

Useful CICS Commands with Screens

This is CEDF screen, use the option given at the bottom to browse around. It just stops at CICS commands in the program.

Leave a Comment