IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

pls give me the code for cics


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 51
Location: India

PostPosted: Tue Mar 21, 2006 6:30 pm
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: 51
Location: India

PostPosted: Tue Mar 21, 2006 6:37 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top