EARL is a free common component that is installed with Roscoe that will allow you to generate reports from the Roscoe Accounting Files. 7 Sample Earl reports are provided that cover 7 different areas.
To produce reports from the Roscoe Accounting records, use the EARLJOB JCL, supplied in the Roscoe SAMPJCL dataset and customize it and run it with one of the supplied EARL sample jobs.
There is a list all the sample EARL reports supplied with Roscoe. They are in the SAMPJCL dataset.
NOTE: The actual names of the reports are in parenthesis
Instructions:
//SYSIN DD * Place the EARL accounting program here...
with
//SYSIN DD DISP=SHR,DSN=ROSCOE.SAMPJCL(REPORTNAME)
//EARLJOB JOB (ACCOUNTING),'ROSCOE' //*-------------------------------------------------------------------* //* Sample JCL to produce ROSCOE accounting reports using * //* EARL. * //*-------------------------------------------------------------------* //EARL EXEC PGM=EARL //STEPLIB DD DSN=xxx.RO60LIB,DISP=SHR // DD DSN=xxx.CAILIB,DISP=SHR //EARLLIB DD DSN=xxx.RO60.SAMPJCL,DISP=SHR //EARLOBJ DD UNIT=DISK,SPACE=(CYL,(1,1)) //ROSFILE DD DSN=ROSCOE.OUTPUT1,DISP=SHR //SORTLIB DD DSN=SYSx.SORTLIB,DISP=SHR //SORTIN DD UNIT=DISK,SPACE=(CYL,(1,1)) //SORTOUT DD UNIT=DISK,SPACE=(CYL,(1,1)) //SYSUT1 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SYSUT2 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SYSUT3 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SYSUT4 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SYSUT5 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SYSUT6 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SORTWK01 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SORTWK02 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SORTWK03 DD UNIT=DISK,SPACE=(CYL,(1,1)) //SYSUDUMP DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSIN DD * Place the EARL accounting program here... /*
If you need information that is not in one of the supplied reports, you will need to create your own report starting with one of the sample EARL reports and referring to EARLDEF in SAMPJCL which defines the layout of the Roscoe accounting records that are used as input to Earl.
For more information, see Chapter 2. Accounting Maintenance Programs, of the Roscoe Program and Utilities Guide r6 and the Earl Reference Guide.