Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10326
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: 10326
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: 8165
Location: East Dubuque, Illinois, USA

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: 2504
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us