I am trying to implement the JES2 Exit to display the JOB ouput as
follows.
I want to implement page and bytes wise instead of Lines and fail the
job if it exceeds 4GB memory limit.
in my configuration it gives this
$HASP375 ESTIMATE EXCEEDED BY 6,000 LINES
$HASP375 ESTIMATE EXCEEDED BY 12,000 LINES
$HASP375 ESTIMATE EXCEEDED BY 18,000 LINES
$HASP375 ESTIMATE EXCEEDED BY 24,000 LINES
$HASP375 ESTIMATE EXCEEDED BY 30,000 LINES
$HASP375 ESTIMATE EXCEEDED BY 36,000 LINES
$HASP375 ESTIMATE EXCEEDED BY 42,000 LINES
want to implement like this
$HASP375 ESTIMATE EXCEEDED BY 1,199,988 KBYTES
$HASP375 ESTIMATE EXCEEDED BY 170,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 172,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 174,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 176,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 178,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 180,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 182,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 184,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 186,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 1,299,987 KBYTES
$HASP375 ESTIMATE EXCEEDED BY 188,000 PAGES
$HASP375 ESTIMATE EXCEEDED BY 190,000 PAGES 1 % SPOOL
$HASP375 ESTIMATE EXCEEDED BY 192,000 PAGES 1 % SPOOL
$HASP375 ESTIMATE EXCEEDED BY 194,000 PAGES 1 % SPOOL
$HASP375 ESTIMATE EXCEEDED BY 196,000 PAGES 1 % SPOOL
$HASP375 ESTIMATE EXCEEDED BY 198,000 PAGES 1 % SPOOL
$HASP375 ESTIMATE EXCEEDED BY 200,000 PAGES 1 % SPOOL
$HASP375 ESTIMATE EXCEEDED BY 202,000 PAGES 1 % SPOOL
$HASP375 ESTIMATE EXCEEDED BY 1,399,986 KBYTES 1 % SPOOL
Here is my JESPARM
SYS0.PARMLIB(JES2PZ1)
/* *---------------------------------------*
* Default Estimated Sysout Bytes/Job *
*---------------------------------------*
*/
ESTBYTE NUM=99999, /* 99999000 Bytes for 1st Message ohwnc*/
INT=99999, /* then 99999000 Byte Intervals ohwnc*/
OPT=0 /* Allow Jobs to Continue ohwnc*/
/* */
/* *---------------------------------------*
* Default Estimated Execution Time *
*---------------------------------------*
*/
ESTIME NUM=2, /* 2 minutes for 1st Message ohwnc*/
INT=1, /* then at 1 minute Intervals ohwnc*/
OPT=NO /* No HASP308 message ohwnc*/
/* */
/* *---------------------------------------*
* Default Estimated Sysout Lines/Job *
*---------------------------------------*
*/
ESTLNCT NUM=12, /*12000 LINES FOR 1ST MESSAGE ohwnc*/
INT=6000, /* THEN AT 6000 LINE INTERVALS ohwnc*/
OPT=0 /* Allow Jobs to Continue ohwnc*/
/* */
/* *---------------------------------------*
* Default Estimated Sysout Pages/Job *
*---------------------------------------*
*/
ESTPAGE NUM=40, /* 40 PAGES FOR 1ST MESSAGE ohwnc*/
INT=10, /* THEN AT 10 PAGE INTERVALS ohwnc*/
OPT=0 /* Allow Jobs to Continue ohwnc*/
/* */
/* *---------------------------------------*
* Default Estimated Sysout Cards/Job *
*---------------------------------------*
*/
ESTPUN NUM=100, /* 100 Cards for 1st Message ohwnc*/
INT=2000, /* then at 2000 Card Intervals ohwnc*/
OPT=0 /* Allow Jobs to Continue ohwnc*/
/* */
/* *---------------------------------------*
* Functional Subsystem Definition *
*---------------------------------------*
*/
* Default Estimated Sysout Bytes/Job *
*---------------------------------------*
*/
ESTBYTE NUM=99999, /* 99999000 Bytes for 1st Message ohwnc*/
INT=99999, /* then 99999000 Byte Intervals ohwnc*/
OPT=0 /* Allow Jobs to Continue ohwnc*/
/* */
/* *---------------------------------------*
* Default Estimated Execution Time *
*---------------------------------------*
*/
ESTIME NUM=2, /* 2 minutes for 1st Message ohwnc*/
INT=1, /* then at 1 minute Intervals ohwnc*/
OPT=NO /* No HASP308 message ohwnc*/
/* */
/* *---------------------------------------*
* Default Estimated Sysout Lines/Job *
*---------------------------------------*
*/
ESTLNCT NUM=12, /*12000 LINES FOR 1ST MESSAGE ohwnc*/
INT=6000, /* THEN AT 6000 LINE INTERVALS ohwnc*/
OPT=0 /* Allow Jobs to Continue ohwnc*/
/* */
/* *---------------------------------------*
* Default Estimated Sysout Pages/Job *
*---------------------------------------*
*/
ESTPAGE NUM=40, /* 40 PAGES FOR 1ST MESSAGE ohwnc*/
INT=10, /* THEN AT 10 PAGE INTERVALS ohwnc*/
OPT=0 /* Allow Jobs to Continue ohwnc*/
/* */
/* *---------------------------------------*
* Default Estimated Sysout Cards/Job *
*---------------------------------------*
*/
ESTPUN NUM=100, /* 100 Cards for 1st Message ohwnc*/
INT=2000, /* then at 2000 Card Intervals ohwnc*/
OPT=0 /* Allow Jobs to Continue ohwnc*/
/* */
/* *---------------------------------------*
* Functional Subsystem Definition *
*---------------------------------------*
*/
I ran the command $D EXIT(9) it is showing disabled.
$D EXIT
$HASP823 EXIT(9) 068
$HASP823 EXIT(9) STATUS=DISABLED,ENVIRON=USER,ROUTINES=(),
$HASP823 SPLEVEL=CHECK,TRACE=YES,USECOUNT=0
can you please suggest.
Thanks.