View previous topic :: View next topic
|
Author |
Message |
futohomok
New User
Joined: 25 Aug 2022 Posts: 4 Location: hungary
|
|
|
|
Helo every CICS guru,
my probleme is little obscure. I have 2 COBOL programs in different CICS transactions. I like to start from 1. program the 2. program.
EXEC CICS XCTL
PROGRAM('program2')
COMMAREA(GYZC-COMMAREA)
LENGTH(LENGTH OF GYZC-COMMAREA)
RESP(WS-RESP-CD)
RESP2(WS-RESP2-CD)
END-EXEC
but when executed this statement than nothing happens. Don't start the program2 and don't raised any RESP error code. For this, please send me any words about this problem if possible. |
|
Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8661 Location: Dubuque, Iowa, USA
|
|
|
|
Have you tried following the transaction using CEDF to verify that what you think is happening is actually happening? |
|
Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 2963 Location: NYC,USA
|
|
|
|
What is program2 doing ? Is it sending another map/screen as a navigation menu ?
As it sound it is calling the module but there is no correct logic in program2 to do work as intended.
So use cedf or any debugger at your site to pinpoint the cause. |
|
Back to top |
|
 |
futohomok
New User
Joined: 25 Aug 2022 Posts: 4 Location: hungary
|
|
|
|
Very thanks for rapid answers!
Yes. the program2 send a new MAP/Screen to terminal if it run in standalone mode.
But if I like debug the entire process, and for this I write the CEDF command on surface of the CICS region for starting the CEDF transaction - nothing happens. What am I doing wrong?
Please send for me any words about this. |
|
Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 2963 Location: NYC,USA
|
|
|
|
I would further suggests
1. Make sure you are in right CICS region.
2. Your program2 may be failing and you don’t know as after XCTL from program 1 you don’t have no information, RESP is not going to tell you what happened in program2.
3. You need check CICS region log ( under that region CICS batch job) to search for your program2 name for any errors or abend.
4. I don’t usually recommend adding displays in program2 but it’s your choice if you have nothing else to help you.
5. Do inquire this program and RES count if the program2 has ever called , it should be non 0 value. |
|
Back to top |
|
 |
|