How do I separate or redirect the Earl report output from the compile listing and runtime messages in VSE

Document ID : KB000055145
Last Modified Date : 14/02/2018
Show Technical Document Details

To redirect your Earl report output from SYSPRIN, you can allocate the SYSEARL file using ASSGN and * $$ LST statements. When SYSEARL is present, the report output will be redirected to it while SYSPRIN will contain the compile listing, runtime messages and statistics.

To separate SYSEARL and SYSPRIN, you can assign SYSEARL to a logical printer. In VSE, use POWER statements pointing to logical printers (modify the SYS numbers to suit your installation specifics):

* $$ LST CLASS=R,LST=01E
* $$ LST CLASS=R,LST=00E

combined with ASSGN for SYSEARL (SYS107) and SYSPRIN (SYS109)

// ASSGN SYS107,01E
// ASSGN SYS109,00E

JCL example:

* $$ JOB JNM=SEPARATE,...
* $$ LST CLASS=R,LST=01E
* $$ LST CLASS=R,LST=00E
// JOB SEPARATE
// ASSGN SYS107,01E
// ASSGN SYS109,00E
...rest of your JCL here...
// EXEC EARL,SIZE=nnnK
...your Earl request here...
/*
/&
* $$ EOJ