IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

executing XCTL command in COBOL without result


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
futohomok

New User


Joined: 25 Aug 2022
Posts: 4
Location: hungary

PostPosted: Wed Jan 11, 2023 9:24 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8661
Location: Dubuque, Iowa, USA

PostPosted: Wed Jan 11, 2023 10:06 pm
Reply with quote

Have you tried following the transaction using CEDF to verify that what you think is happening is actually happening?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2963
Location: NYC,USA

PostPosted: Wed Jan 11, 2023 11:27 pm
Reply with quote

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
View user's profile Send private message
futohomok

New User


Joined: 25 Aug 2022
Posts: 4
Location: hungary

PostPosted: Thu Jan 12, 2023 5:15 pm
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2963
Location: NYC,USA

PostPosted: Thu Jan 12, 2023 5:26 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Can EATTR be coded in an IMS COBOL pgm? IMS DB/DC 1
No new posts Cobol transactions in SYSVIEW COBOL Programming 0
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
No new posts SRCHFOR ‘string’ command inside P... TSO/ISPF 14
No new posts Jes2 command output All Other Mainframe Topics 4
Search our Forums:

Back to Top