IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Where to View the DISPLAY statements in IMS-COBOL program


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manugeorge2004

New User


Joined: 17 Jun 2009
Posts: 38
Location: Denver

PostPosted: Sat May 18, 2013 2:42 am
Reply with quote

Hi

I have a COBOL- IMS program which is invoked by a Java front end.
It has some DISPLAY statements in it.
Do you know where we can find the actual display.
Do we have a TSO job running for IMS similar to CICS where we can see the DISPLAY outputs.

Basically I click on a button from Java front end and want to see some data output without sending it back to Java screen for testing purpose.

Manu
Back to top
View user's profile Send private message
mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 310
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Sat May 18, 2013 11:27 am
Reply with quote

First find out which CLASS your transaction is using..try the command
Code:
/DIS TRAN TRAN-NAME


This will list out the following information.
Code:
    TRAN   CLS ENQCT   QCT   LCT  PLCT CP NP LP SEGSZ SEGNO PARLM RC


You will see which class(CLS) your transaction is running in.

Then try the command:
Code:
/DIS REG ALL

Code:
REGID JOBNAME     TYPE  TRAN/STEP    PROGRAM  STATUS               CLASS   IMS1


This will list out all the region, Jobname and Class information. And you can find out which Class, region your transaction is assigned to.

Note: The class your transaction has been assigned may run in more than one region. So your display statements might be in one or another.
Back to top
View user's profile Send private message
Gary McDowell

Active User


Joined: 15 Oct 2012
Posts: 139
Location: USA

PostPosted: Sat May 18, 2013 9:52 pm
Reply with quote

I just go into sysview/SDSF from TSO and look for the IMS region name I expect displays.
Back to top
View user's profile Send private message
mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 310
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Sat May 18, 2013 10:15 pm
Reply with quote

Quote:
Do we have a TSO job running for IMS similar to CICS where we can see the DISPLAY outputs.

Hi Gary,
I guess..OP is not familiar with how to find IMS Job/Region name in which his program is running to check that in Spool.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2432
Location: Hampshire, UK

PostPosted: Sun May 19, 2013 2:16 pm
Reply with quote

Quote:
Do we have a TSO job running for IMS similar to CICS where we can see the DISPLAY outputs.

I do not know what is meant here - TSO, IMS and CICS are all different entities running in their own little worlds. You can browse, via SDSF under TSO/ISPF, the various CICS regions on that LPAR and the same for the various IMS regions. There is no such thing as a TSO job for IMS or CICS.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Mon May 20, 2013 7:18 am
Reply with quote

Hello,

Quote:
Do we have a TSO job running for IMS similar to CICS where we can see the DISPLAY outputs.
Your terminology needs some work.

If you display all of the active processes via SDSF, you should see entries for each CICS and IMS (as well as others). These may be started tasks or submitted jobs depending on how your system is configured. These are not "tso jobs".

If you cannot find the cics and ims processes, ask your technical support.
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 -> IMS DB/DC

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts COBOL Performance Tuning COBOL Programming 6
No new posts JCL for replacing code in Cobol JCL & VSAM 8
No new posts COBOL VS SORT Utility for file format... COBOL Programming 6
This topic is locked: you cannot edit posts or make replies. Sample CICS Webservices Program CICS 1
No new posts XML Parsing in COBOL creating "h... COBOL Programming 0

Back to Top