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
 

 

Displaying panel in batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
kavikesav

New User


Joined: 22 Mar 2007
Posts: 21
Location: chennai

PostPosted: Tue Apr 14, 2009 1:46 pm    Post subject: Displaying panel in batch
Reply with quote

I want to display a panel from batch. I used IKJEFT01, the sysin is as 'ispstart panel(panel1)' but I'm always getting the error BDISPMAX exceeded then I set it to a higher value but it is consuming a lot of CPU..
Could any one help me on that and apart from that why a lot of CPU is utilized when I try displaying a panel in batch?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 14, 2009 2:46 pm    Post subject:
Reply with quote

My first question would be WHY you would want to display a panel in batch.

How are you going to use the panel in batch mode ?
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: Tue Apr 14, 2009 7:57 pm    Post subject: Reply to: Displaying panel in batch
Reply with quote

Possibly for documentation?

d
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Apr 14, 2009 8:07 pm    Post subject:
Reply with quote

http://ibmmainframes.com/viewtopic.php?t=9906&highlight=display+panel+batch&sid=e99ccbd064181859ae959eba22fb07c0

look at superk's post.

he mentions a dd statement for the terminal...........................
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2058
Location: Silicon Valley

PostPosted: Tue Apr 14, 2009 9:21 pm    Post subject: Reply to: Displaying panel in batch
Reply with quote

Quote:
I want to display a panel from batch.

There is not a way to display a panel in batch. In fact, you must avoid displaying panels in batch.

Code:
if SysVar('SysEnv') = "FORE" then   
  Address ISPEXEC "DISPLAY...."
Else
  Call my_batch_subroutine


You may want to write the same information that would have been displayed. Perhaps you can create a skeleton with similar formatting as the panel and use File Tailoring services to evaluate the variables.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Wed Apr 15, 2009 12:50 am    Post subject: Reply to: Displaying panel in batch
Reply with quote

You can display a panel in batch, but the panel logic either has to force the panel to end with something like .resp=end or you need to have the program do the appropriate CONTROL service to force the panel to get an END. The reason for bdispmax messages is that ISPF is just pressing the Enter key on your panel over and over so you need to find a way to end the display.

The reason to display panels in batch is usually to run logic in the panel. You won't see it at your terminal if that is what you are expecting.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reg:Displaying the particular month o... bhavana yalavarthi All Other Mainframe Topics 4 Sat Jul 08, 2017 8:13 pm
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts SCLM -- not installed -- panel ISRNOSLM dmitchell1105 IBM Tools 3 Fri Jun 09, 2017 10:41 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm


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