I do have a question. Were could I find documentation on those SPECS
statements? So far I haven't found documentation on this. The CMS help
doesn't provide me with this level of SPECS knowledge.

Regards, Berry.

Dave Jones schreef:
> Hi, James.
>
> There's no explicit SUM stage because that functionality is built into
> the SPECS stage....you might try something like this (untested):
>
> specs
>   a: word 3 .    /* grab third word in record */
>   set #0+=a      /* add it to counter 0 */
>   eof            /* at EOF   */
>   /Total:/ 1     /* output text "Total" in column 1 */
>   print #0 next  /* followed by the sum  */
>
>
> Good luck.

Reply via email to