View previous topic :: View next topic |
Author |
Message |
Esdras Beginner
Joined: 28 Apr 2004 Posts: 4 Topics: 2 Location: Madrid-Spain
|
Posted: Tue Sep 14, 2004 5:01 am Post subject: COBOL. How to know if the execution is under CICS or Batch |
|
|
Hello all,
We have one COBOL routine that can be called from the online (CICS) and batch, and we will like to perform different actions depending on where is executed (we cannot create differents programs).
Somebody knows how can we get this information?
Thanks a lot!!! |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
Esdras Beginner
Joined: 28 Apr 2004 Posts: 4 Topics: 2 Location: Madrid-Spain
|
Posted: Wed Sep 15, 2004 10:22 am Post subject: |
|
|
Thanks Kolusu!
The program is working fine and I retrieve all the information I need, but, we would like to include this code in one routine in order to be used by other programs.
I tried to call this program from others but I can't get the data I need.
Do you know how can I do it?
Kind Regards... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Wed Sep 15, 2004 11:02 am Post subject: |
|
|
esdras,
Do you want the details in the main program?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|