Example 1
This example is a daily balance report that has the system date and time printed as subtitles.
The following code:
IN 80 F 80 REC NAME 5 25 REC BALANCE 160 7 3 DP=2 010 FORMAT '6' 010 WK-MDY 010 WK-TIME 013 CULLUS10 01OUT 60 D 01SORT WK-MDY WK-TIME NOSORT 01410001 ' ' 01420001 'DATE:' 01420007 WK-MDY FD 01430001 'TIME' 01430007 WK-TIME FM '99.99.99' 01440001 ' ' 01510001 NAME HH 'NAME' 01510022 BALANCE HH 'BALANCE' 017 CALL US10 (FORMAT WK-MDY 0 0 0 WK-TIME)
REPORT NO. 01 CULLUS10 mm/dd/yy PAGE 1 DATE: mm/dd/yy TIME 17.32.56 NAME BALANCE TERRY JANENS E 38,000.00 JOE NGUYA 31,000.00 MARK TIME 33,000.00 ROGER WILCO 80,000.00 ALBERT BREEZE 38,000.00 CAROLYN CROW 37,500.00 BURT LANCHESTER 54,500.00 RENE MAKER 85,000.00 MARYLOU JOHNSON 12.00
Example 2
This example is a daily balance report that has the system date and time printed as subtitles. It is similar to Example 1, except the date is retrieved with the century.
The following code:
IN 80 F 80 REC NAME 5 25 REC BALANCE 160 7 3 DP=2 020 FORMAT '0' 020 WK-MDC 020 WK-TIME 023 CULLUS10 02OUT 60 D 02SORT WK-MDC WK-TIME NOSORT 02410001 ' ' 02420001 'DATE:' 02420007 WK-MDC FM '99/99/9999' 02430001 'TIME' 02430007 WK-TIME FM '99.99.99' 01440001 ' ' 01510001 NAME HH 'NAME' 01510022 BALANCE HH 'BALANCE' 017 CALL US10 (FORMAT WK-MDC 0 0 0 WK-TIME)
REPORT NO. 02 CULLUS10 mm/dd/yy PAGE 1 DATE: mm/dd/yyyy TIME 19.26.21 NAME BALANCE TERRY JANENS E 38,000.00 JOE NGUYA 31,000.00 MARK TIME 33,000.00 ROGER WILCO 80,000.00 ALBERT BREEZE 38,000.00 CAROLYN CROW 37,500.00 BURT LANCHESTER 54,500.00 RENE MAKER 85,000.00 MARYLOU JOHNSON 12.00
Copyright © 2014 CA.
All rights reserved.
|
|