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

how to invoke a cics transaction through batch job


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

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Sat Dec 22, 2012 6:41 pm
Reply with quote

Hi, This is my very first post. I have been following the post of this forum and they are really very helpful.

I am having elementary knowledge of CICS. I want to invoke a already existing cics transaction though a batch job and also want to feed the required inputs needed in that transaction. Will the below code will work or not. Please suggest ..

EXEC CICS START
TRANSID('TRN1')
TIME(173000)
TERMID('STA3')
FROM(DATAFLD)
LENGTH(100)

Input values that needs to be passed is name and emp-id, as mentioned below-
01 DATAFLD.
05 NAME PIC X(15) VALUE 'ABCDEFGHIJ'.
05 EMP-ID PIC X(3) VALUE 'XYZ'.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Dec 22, 2012 7:01 pm
Reply with quote

Quote:
Please suggest ..

NO...

ask Your support for the standards and tools in use in Your organization for such a requirement
Back to top
View user's profile Send private message
Abhinav Chandra

New User


Joined: 13 Oct 2012
Posts: 29
Location: India

PostPosted: Sat Dec 22, 2012 7:11 pm
Reply with quote

any suggestion on how to approach for this requirement ...
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Dec 22, 2012 7:36 pm
Reply with quote

what is that You did not understand in my previous reply ???

You are just asking us to waste our time
giving suggestions on something that Your Support has the final word about.

ask them

if You had searched the forums You would have found quite a few topics dealing with the issue .

or googling for EXCI
would have lead You here
publib.boulder.ibm.com/infocenter/cicsts/v3r2/topic/com.ibm.cics.ts.doc/pdf/dfhtmc00.pdf
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Dec 22, 2012 8:28 pm
Reply with quote

Your basic problem is that CICS transactions work in a very different way than batch programs (CICS transactions, for example, do not open or close files whereas batch programs MUST open and close the files used).

There are defined ways, such as FEPI or EXCI, to execute CICS transactions from other systems or batch programs. However, if you write EXEC CICS followed by anything in a program, it is a CICS program that cannot run in batch.

Starting a CICS transaction from a batch program is NOT something for someone with "elementary knowledge of CICS" to attempt. You need to find someone with some solid CICS experience to help you.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Dec 28, 2012 3:35 pm
Reply with quote

Also, if possible, try: Use [URL] BBCode for External Links and www.hostbridge.com/index.php/products/detail/connectors
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Dec 28, 2012 10:47 pm
Reply with quote

Another product; MacKinney Batch to CICS -

www.mackinney.com/products/mainframe-utilities/mackinney_batch_cics.html
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 How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
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