Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Where to View the DISPLAY statements in IMS-COBOL program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
manugeorge2004

New User


Joined: 17 Jun 2009
Posts: 35
Location: Denver

PostPosted: Sat May 18, 2013 2:42 am    Post subject: Where to View the DISPLAY statements in IMS-COBOL program
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: 268
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Sat May 18, 2013 11:27 am    Post subject:
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    Post subject:
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: 268
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Sat May 18, 2013 10:15 pm    Post subject:
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: 1715
Location: UK

PostPosted: Sun May 19, 2013 2:16 pm    Post subject:
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

Site Director


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

PostPosted: Mon May 20, 2013 7:18 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us