View previous topic :: View next topic
|
Author |
Message |
gabriel.ryoga
New User
Joined: 07 Jun 2007 Posts: 31 Location: Spain
|
|
|
|
I have a cics cobol program, and I want to call it from a batch cobol program. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Good for you. I recommend using EXCI.
O. |
|
Back to top |
|
|
gabriel.ryoga
New User
Joined: 07 Jun 2007 Posts: 31 Location: Spain
|
|
|
|
I think I've read somewhere that I could call the cics program with
Code: |
"call 'program' using DFHEIBLK, DFHCOMMAREA |
And that this works if the called program doesn't have any exec LINK.
Does anybody know if this is true??
Thanks. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
You need to be clearer in stating what you are trying to do. Are you trying to call the program to have it execute in a CICS region? Do you want to call a program that just happens to be used in a CICS regions?
If a program has no EXEC CICS commands within it, it can be called from CICS or batch - If called in CICS, it executes in the CICS region . If called in batch it executes in the batch region.
Garry. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
Back to top |
|
|
|