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

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: 316
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: 316
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: 2455
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: 19244
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

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top