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.
Disabling CICS
Moderators: DikDude, Natarajan, Moderator Group
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
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 Mishra
-
- Member
- Posts: 2
- Joined: Fri May 09, 2014 4:57 pm
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
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page