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 invoke a cics transaction through batch job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: how to invoke a cics transaction through batch job
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Sat Dec 22, 2012 7:01 pm    Post subject: Reply to: how to invoke a cics transaction through batch job
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    Post subject:
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Sat Dec 22, 2012 7:36 pm    Post subject: Reply to: how to invoke a cics transaction through batch job
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
http://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: 7904
Location: Bellevue, IA

PostPosted: Sat Dec 22, 2012 8:28 pm    Post subject:
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

Senior Member


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

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

Also, if possible, try: www.batchcics.com and http://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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Dec 28, 2012 10:47 pm    Post subject: Reply to: how to invoke a cics transaction through batch job
Reply with quote

Another product; MacKinney Batch to CICS -

http://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    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 How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm


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