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: 271
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: 271
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: 1767
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 Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm


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