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

Program flow using Transaction


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

New User


Joined: 15 Jun 2007
Posts: 92
Location: bangalore

PostPosted: Fri Dec 07, 2012 3:01 pm
Reply with quote

Hi,

is there any way that we can find the program flow in CICS using the transaction of the first program other than using xpediter or some other debugging tool??
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Dec 07, 2012 3:27 pm
Reply with quote

Look at the code?
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Fri Dec 07, 2012 4:59 pm
Reply with quote

Add displays after every para name / section name and you could check traversing path ( If you know could access the displays added in CICS )

But worse part the filling spool is directly proportional to number of times programs is called and might lead to waste of space and would require to remove the displays and deploy and restart of CICS regions
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Dec 07, 2012 5:23 pm
Reply with quote

Nothing in CICS tracks this type of data. You might be able to get it from SMF data, but even if that is possible it would be a royal pain to reconstruct the calling sequences.

Realistically, your only decent choices are to start reading code or start reading application documentation.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Dec 07, 2012 8:45 pm
Reply with quote

An AUXTRACE may provide you this information. But keep in mind, if sub-program's are being CALLED (not a LINK or XCTL API) during the transaction's life-cycle, they will not be present in the trace.

Check with your friendly CICS System Programmer or Tech Support personnel about running an AUXTRACE.
Back to top
View user's profile Send private message
chandracdac

New User


Joined: 15 Jun 2007
Posts: 92
Location: bangalore

PostPosted: Mon Dec 17, 2012 7:21 pm
Reply with quote

@Bill

Thanks for your reply.. could you please guide me how we can run this AUXTRACE and would there be any issues if we run this AUXTRACE??

Also is there any way that we can access CICS tables like PCT and PPT from tso/ispf region?? If we can access them i think we can easily find the flow i feel.

Thanks
Chandra.
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: Mon Dec 17, 2012 7:50 pm
Reply with quote

Hello,

Talk with your CICS system support. They can advise about seeing what is in the CICS tables.

Quote:
If we can access them i think we can easily find the flow i feel.
Why do you think this?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon Dec 17, 2012 8:03 pm
Reply with quote

Quote:
Also is there any way that we can access CICS tables like PCT and PPT from tso/ispf region?? If we can access them i think we can easily find the flow i feel.
WHY would "feel" this? There is nothing in either the PPT nor PCT that indicate anything about program flow. Furthermore, since EXEC CICS XCTL and LINK can both use program variables as the program identifier, and the variable could be constructed by the program from up to 8 different data sources (one per byte of the name), I know (not feel) that the task is much more complicated than you understand.
Back to top
View user's profile Send private message
chandracdac

New User


Joined: 15 Jun 2007
Posts: 92
Location: bangalore

PostPosted: Tue Dec 18, 2012 10:34 am
Reply with quote

i remember in one of my old project we used to find the full flow using a single transasction. And that was designed in REXX. Not sure what the logic they followed behind the scene icon_sad.gif
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 Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts How to identify the transaction categ... IMS DB/DC 3
Search our Forums:

Back to Top