View previous topic :: View next topic
|
Author |
Message |
kavikesav
New User
Joined: 22 Mar 2007 Posts: 21 Location: chennai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Possibly for documentation?
d |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
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 |
|
|
|