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.
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
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.
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.
SAY "START OF THE MACRO. . . . "
"ISREDIT X ALL"
"ISREDIT F ALL XX"
"ISREDIT DEL ALL X"
SAY "END OF THE MACRO. . . ."