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
 

 

how to excute CICS program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: how to excute CICS program
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    Post subject: Hi
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: 2360
Location: Israel

PostPosted: Wed Jul 19, 2006 1:45 pm    Post subject:
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    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 Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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