View previous topic :: View next topic
|
Author |
Message |
Abhinav Chandra
New User
Joined: 13 Oct 2012 Posts: 29 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
NO...
ask Your support for the standards and tools in use in Your organization for such a requirement |
|
Back to top |
|
|
Abhinav Chandra
New User
Joined: 13 Oct 2012 Posts: 29 Location: India
|
|
|
|
any suggestion on how to approach for this requirement ... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
|