ISREDIT Macro Errors

 

 

 

 

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 MACRO
ISREDIT X ALL
ISREDIT F JOBNAME FIRST
ISREDIT F 20 P'@' ALL
ISREDIT F 20 P'#' ALL
ISREDIT X 20 'PAGE' ALL
ISREDIT DEL ALL X
ISREDIT SAVE
ISREDIT END

 

Resolution:

Add the following at the end of your macro

ISREDIT END

so that the edit session is closed.

Comments

Perfect.. worked like a champ..

Thanks,

Gnana Nicholas