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

How to debug async programe?


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

New User


Joined: 08 Feb 2009
Posts: 67
Location: hz

PostPosted: Tue Apr 20, 2010 10:10 am
Reply with quote

I heard virtual terminal could be used to debug async program, but I don't know how to do that, can someone let me know, thx!
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Apr 20, 2010 10:15 am
Reply with quote

seman18 wrote:
I heard virtual terminal could be used to debug async program, but I don't know how to do that, can someone let me know, thx!
OK, I'll be the dumb one....grin....

'virtual terminal'?
'async program'?

More info?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 20, 2010 10:22 am
Reply with quote

Hello,

Quote:
I heard virtual terminal could be used to debug async program
Where did you hear this?

What kind of problem do you need to debug?

If you have a "testing" transaction, you might consider debugging this "async program" online at a "real" terminal.
Back to top
View user's profile Send private message
seman18

New User


Joined: 08 Feb 2009
Posts: 67
Location: hz

PostPosted: Tue Apr 20, 2010 10:53 am
Reply with quote

CICS asynchronous tasks are 'behind the scenes' process. they run in the background like batch jobs, can self-start at preset frequencies, and have no screens. one of the major uses of async tasks is to transfer data between regions.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Apr 20, 2010 10:59 am
Reply with quote

Have you looked at Use CEDX to monitor and debug non-terminal transactions.?
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Apr 20, 2010 11:55 am
Reply with quote

Commercial tools (Intertest, Xpeditor) have the ability to catch background programs.
seman18 wrote:
I heard virtual terminal could be used to debug async program
Just as your anti-virus program is working in the background on your PC, these programs run in the CICS background.
One program cannot be "async". You have to have at least 2 programs, so they can run synchronously or a-synchronously.
Use simple terminology when you can.
Back to top
View user's profile Send private message
seman18

New User


Joined: 08 Feb 2009
Posts: 67
Location: hz

PostPosted: Tue Apr 20, 2010 12:07 pm
Reply with quote

since CICS async program cannot be started through input CICS transaction ID in terminal, so It makes sense to use some 'virtual terminal' to stimulate the normal CICS transaction start in real terminal
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 20, 2010 7:33 pm
Reply with quote

Hello,

Quote:
since CICS async program cannot be started through input CICS transaction ID in terminal
While the normal mode of operation for these is detached from a terminal, i believe you should be able to run the code from a terminal also - possibly there is something in this code that prevents associating this program to a terminal transaction for testing. . .
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts DEBUG COMMENT command not adding to log IBM Tools 1
No new posts Debug set up for COBOL module but ope... IBM Tools 1
No new posts How to DEBUG DB2 Stored Procedures Us... DB2 0
No new posts Connect Direct - using DEBUG=TRACE Bits All Other Mainframe Topics 4
No new posts Looking for IBM DEBUG Docment IBM Tools 3
Search our Forums:

Back to Top