ISPP330 BDISPMAX exceeded      -/-100 displays exceeded in batch mode on panel
Â
Cause
IF your edit macro (used in batch) does not end with a statement like “END” or “CANCEL” to terminate the edit session. Then the above error occurs.
Take a look at the following example. If the statement marked in bold is missing then we will get the above error.
ISREDIT MACROISREDIT X ALLISREDIT F JOBNAME FIRSTISREDIT F 20 P’@’ ALLISREDIT F 20 P’#’ ALLISREDIT X 20 ‘PAGE’ ALLISREDIT DEL ALL XISREDIT SAVE
ISREDIT END
Resolution:
Add the following at the end of your macro
ISREDIT END
so that the edit session is closed.