Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

pls give me the code for cics

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
ramankapoor

New User


Joined: 27 Feb 2006
Posts: 23
Location: delhi

PostPosted: Tue Mar 21, 2006 11:31 am    Post subject: pls give me the code for cics
Reply with quote

can some body give me the proper coding steps program to
make hello screen program in cics with the jcl .

so that i can move forward to practice in cics
Back to top
View user's profile Send private message

mrgnndhmk

New User


Joined: 01 Feb 2006
Posts: 46
Location: India

PostPosted: Tue Mar 21, 2006 6:30 pm    Post subject:
Reply with quote

To print hello on the CICS screen, you need not create a bms map.

The following steps
1. Create a program
2. Define the program in CICS PPT Table
3. Define a transation in PCT Table & associate it with the transaction.

The program will look like this
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOCICS.
WORKING-STORAGE SECTION.
01 WS-MSG PIC X(05) VALUE 'HELLO'.
PROCEDURE DIVISION.
0000-MAINPARA.
EXEC CICS SEND
TEXT (WS-MSG)
END-EXEC
.

------------------

Thanks & Regards,
mrgnndhm k icon_question.gif
Back to top
View user's profile Send private message
mrgnndhmk

New User


Joined: 01 Feb 2006
Posts: 46
Location: India

PostPosted: Tue Mar 21, 2006 6:37 pm    Post subject:
Reply with quote

And you do not need JCL for executing this program. Just type the transaction name in CICS screen and the program will be executed.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 1 Sun Mar 12, 2017 5:35 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us