View previous topic :: View next topic
|
Author |
Message |
satya12
New User
Joined: 25 Apr 2006 Posts: 32 Location: India
|
|
|
|
Hi All
Have anybody tried running ISPF "EDIT" command using IKJEFT01 in batch.I am getting below error and job is abending with RC=990
SYSTIN has below command
PROFILE PREFIX(my user id)
ISPSTART CMD(%PANTHR)
PANTHR (REXX)
/*rexx*/
ADDRESS ISPEXEC "EDIT DATASET('dataset to be edited')"
EXIT
error message in job logs:
ISPP330 BDISPMAX exceeded -/-100 displays exceeded in batch mode on panel.
My goal here is when the job comletes the specifed dataset should be thrown on screen just like it does when you execute the rexx code online.
Any help regarding this is much appreciated.
Thanks
Satya |
|
Back to top |
|
|
antonrino.b
New User
Joined: 10 Jan 2006 Posts: 76 Location: Germany
|
|
|
|
Hi satya,
Even I too got the same error message while running an ISREDIT macro in batch. I couldnt find the reason for this error message.
But I found that the BDISPMAX parameter can be set to a high value so that we could overcome this error.
Quote: |
For batch mode, BDISPMAX specifies the maximum number of displays that can
occur during a session. This number includes the total of all SELECT
PANEL calls, plus all DISPLAY and TBDISPL calls (with or without panel
name). This number does not include redisplays related to the .MSG
control variable. The largest number that can be specified is
999999999. The batch default value is 100. This parameter is ignored
when not running in batch mode. |
Try running the JCL again by adding the following line
Code: |
ISPSTART CMD(%PANTHR) BDISPMAX(app-high-value) |
For more info, please look at Dialog Developer?s Guide and Reference.
Please let me know if you get more info regarding this. |
|
Back to top |
|
|
antonrino.b
New User
Joined: 10 Jan 2006 Posts: 76 Location: Germany
|
|
|
|
app-high-value should be number less than or equal to 999999999. Sorry I forgot to mention that.
Thanks and Regards,
Antu |
|
Back to top |
|
|
ignich7
New User
Joined: 02 Nov 2005 Posts: 66
|
|
|
|
I had this exact issue.. adding "ISREDIT END" or "ISREDIT CANCEL" at the end of the macro prevents it from looping and " -/-100 displays exceeded " message.
Sample..
/*REXX*/
ADDRESS ISPEXEC
SAY "START OF THE MACRO. . . . "
"ISREDIT MACRO"
"ISREDIT X ALL"
"ISREDIT F ALL XX"
"ISREDIT DEL ALL X"
SAY "END OF THE MACRO. . . ."
"ISREDIT SAVE"
"ISREDIT END"
EXIT |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Er... thanks for letting us know. I'm not sure the original TS is interested after six years have passed. You make get "the usual" shortly...
EDIT: I was going to question why this is in SMS & VSAM, but that is something I can hardly blame you for, I discovered. It's possible you were still at school at the time that that happened :-) |
|
Back to top |
|
|
ignich7
New User
Joined: 02 Nov 2005 Posts: 66
|
|
|
|
Hi Bill,
I did not reply to the one who posted this question. I replied for those who may have this issue and still looking for an answer.
THX. |
|
Back to top |
|
|
|