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

Displaying panel in batch


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Apr 14, 2009 2:46 pm
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

Moderator Emeritus


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

PostPosted: Tue Apr 14, 2009 7:57 pm
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: 6966
Location: porcelain throne

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

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

Global Moderator


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

PostPosted: Tue Apr 14, 2009 9:21 pm
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: 400
Location: Mumbai

PostPosted: Wed Apr 15, 2009 12:50 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts IBM OnDemand Folders displaying to al... IBM Tools 6
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
Search our Forums:

Back to Top