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

how to excute CICS program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venkat1111_a1

New User


Joined: 14 Feb 2006
Posts: 8

PostPosted: Wed Jul 19, 2006 12:49 pm
Reply with quote

hai this is venkat,
i have a small problem how to escute a CICS program.
my program goes on like this.
IDENTIFICATION DIVISION.
PROGRAM-ID. ABCCICS.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
77 LEN1 PIC S9(4) COMP.
77 MSG1 PIC X(7).
PROCEDURE DIVISION.
MAIN-PARA.
MOVE 7 TO LEN1.
MOVE "WELCOME" TO MSG1
EXEC CICS SEND
FROM (MSG1)
LENGTH(LEN1)
END-EXEC.
EXEC CICS
RETURN
END-EXEC.


and my compile JCL is
//SSSMSTCC JOB (20,FB3),IBMUSER,MSGLEVEL=(1,1),TIME=20,
// CLASS=A,MSGCLASS=H,NOTIFY=&SYSUID,REGION=6M
//JOBPROC JCLLIB ORDER=SSSMST.ADMN.PROCLIB
//CICSCOB EXEC CICSCOB,
// COPYLIB=SSSMST.ADMN.COPYLIB,
// LOADLIB=TRAINING.LOADLIB
//*TRN.SYSIN DD DSN=SSSMST.ADMN.SOURCE(ABCCICS),DISP=SHR
//TRN.SYSIN DD DSN=SSS029.BAT11.PDS(ABCCICS),DISP=SHR
//LKED.SYSIN DD *
NAME CICMAPGM(R)

//




can any one help me how see the out put of the program in CICS
plz send me step by step process plz




with regards,
venkatkumar1111@gmail.com
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 19, 2006 12:54 pm
Reply with quote

Just for senting TEXT messages you can use SEND TEXT command in CICS with out the need of a CICS Map.

Once finished the coding you compile/link edit your prog either using stand alone compile JCl or use ENDEVOR.

Check this in your shop.

-Han.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Jul 19, 2006 1:45 pm
Reply with quote

If the program was compiled & linked successfully, make sure the load module was placed in a CICS-library-concatanation.

Then, go to CICS and try the following command:
CECI LINK PROGRAM(CICMAPGM)

O.
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 Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top