Disabling CICS

About CICS and BMS - In this Mainframe Forum - You can post your queries on CICS

Moderators: DikDude, Natarajan, Moderator Group

Post Reply
RinithaSiva
Member
Posts: 2
Joined: Fri May 09, 2014 4:57 pm

Disabling CICS

Post by RinithaSiva » Fri May 09, 2014 5:15 pm

I need to make a cics screen read-only. I have totally 7 fields which are editable in the screen. Out of the 7 fields, only 1 field is the primary key(Emp ID). THe screen map looks like the one below. The Action field can be either E(Enquire),U(Update),A(Add),D(Delete) . This screen is used for maintaining the employee information in the database
Employee Information

Emp ID: Action:
Emp name:
Emp salary:
Emp dept:
Emp email:
Emp Grade:

I would like to make the screen read-only. It should only show the details when an emp id is entered. But it should not allow the user to add/update/delete the employee details. How will i do that? At the backend there is only one COBOL program which handles all Add/delete/update/enquire action types.

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Fri May 09, 2014 5:56 pm

New screen without the input field otherwise the user will try and enter something and complain when they do not get a result.
Regards
Nic

dhiraj
Member
Posts: 48
Joined: Tue May 06, 2014 11:22 am

Post by dhiraj » Fri May 09, 2014 5:56 pm

why are you puting U(Update),A(Add),D(Delete) in Action field if you are not using?

First you have to create a map as you mentioned.
if you are using MAPR then you can paint your map there and you would have to define all the fields(variables) and give all required attribute. these variables will be used by program when you will send data on Map.
make sure that you keep extra attributes ON during creation of Map.
after creating a map on MAPR you need to run a map jcl(like using pgm MAPP020) to transfer map variables and attributes from CICS region to TSO.

after staging you can use this map name example "Testmap" in your CICS program

as COPY Testmap
Last edited by dhiraj on Tue May 13, 2014 1:42 pm, edited 1 time in total.
Thanks,
--Dhiraj Mishra

dhiraj
Member
Posts: 48
Joined: Tue May 06, 2014 11:22 am

Post by dhiraj » Fri May 09, 2014 8:43 pm

RinithaSiva,

did you get your answers?
Thanks,
--Dhiraj Mishra

RinithaSiva
Member
Posts: 2
Joined: Fri May 09, 2014 4:57 pm

Post by RinithaSiva » Tue May 13, 2014 12:59 pm

Hi Dhiraj,

Yep i got it...Thank you very much

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others