I looking for some help with a report i'm trying to generate. Its a summary of phone sales which should report the best performing location for each month & show their total sales. I've tried the following however i'm receiving errors:
//SORT EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN2 DD DISP=SHR,DSN=DATA1.JCL
//REVRPT DD SYSOUT=*
//TOOLIN DD *
DISPLAY FROM(IN2) LIST(REVRPT) DATE
TITLE('MONTHLY REVENUE REPORT') -
TITLE('PHONE SALES') PAGE -
HEADER('LOCATION') ON(1,17,CH) -
HEADER('MONTH') ON(24,2,ZD) -
HEADER('SALES') ON(27,7,ZD) -
TOTAL('TOTALS') AVERAGE('AVERAGES)'
SORT FIELDS=(1,17,CH,A,24,2,ZD,A)
SUM FIELDS=(27,7,ZD)
/*
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN2 DD DISP=SHR,DSN=DATA1.JCL
//REVRPT DD SYSOUT=*
//TOOLIN DD *
DISPLAY FROM(IN2) LIST(REVRPT) DATE
TITLE('MONTHLY REVENUE REPORT') -
TITLE('PHONE SALES') PAGE -
HEADER('LOCATION') ON(1,17,CH) -
HEADER('MONTH') ON(24,2,ZD) -
HEADER('SALES') ON(27,7,ZD) -
TOTAL('TOTALS') AVERAGE('AVERAGES)'
SORT FIELDS=(1,17,CH,A,24,2,ZD,A)
SUM FIELDS=(27,7,ZD)
/*
The error i'm receiving is: - JCL ERROR CN(INTERNAL) & within SDSF it states that there is an issue with Display.
I've looked over the IBM:Getting started documentation,to no avail.
Could anyone help me out please?
Thanks