Objective
This example adds heading lines that function as subtitles, not column headings.
Parameters
01 is the report number.
4 specifies a type 4 parameter.
1 specifies that 'FROM ...' is printed on the first row of the subtitle.
0054 indicates that this row of text begins exactly 54 spaces from the left margin. *Your parameter would contain dates in mm/dd/yy format.
014 specifies the report number and the parameter type, respectively.
2 specifies that 'ALL DEPARTMENTS' is printed on the second row of the subtitle.
*001 specifies that this row of text is left justified.
014 specifies the report number and the parameter type, respectively.
3 specifies the third line of the subtitle.
*010 specifies a left-hand column position.
- tells CA Culprit to skip two lines before printing the next line.
' ' prints a blank space, which in this case creates a blank line.
Complete Code
col. 2 ▼ IN 200 F 400 PS(TAPE) REC EMPLOYEE 5 25 REC SALARY 160 5 3 DP=2 013 EMPLOYEE SALARY LISTING 01410054 'FROM mm/dd/yy TO mm/dd/yy' 0142*001 'ALL DEPARTMENTS' 0143*010- ' ' 0151*010 EMPLOYEE 0151*020 SALARY
Note: Parameter would contain dates in mm/dd/yy format.
Result
REPORT NO. 01 EMPLOYEE SALARY LISTING mm/dd/yy PAGE 1 FROM mm/dd/yy TO mm/dd/yy ALL DEPARTMENTS JUNE BLOOMER 15,000.00 EDWARD HUTTON 44,000.00 RUPERT JENSON 82,000.00 MARIANNE KIMBALL 45,000.00 DORIS KING 14,500.00 BRIAN NICEMAN 14,000.00 HERBERT CRANE 75,000.00 JANE FERNDALE 22,500.00 GEORGE FONRAD 14,750.00 ROBIN GARDNER 14,000.00 DOUGLAS KAHALLY 20,000.00 TERENCE KLWELLEN 43,000.00 SANDY KRAAMER 14,000.00 HERBERT LIPSICH 18,500.00 NANCY TERNER 13,000.00 BETH CLOUD 52,750.00 ALAN DONOVAN 33,500.00 DANIEL MOON 72,000.00 ROY ANDALE 33,500.00 HARRY ARM 46,000.00 C. BREEZE 38,000.00 CAROLYN CROW 37,500.00 BURT LANCHESTER 54,500.00 RENE MAKER 91,000.00 RICHARD MUNYON 36,000.00 RICHARD WAGNER 47,000.00 TOM FITZHUGH 13,000.00 CYNTHIA JOHNSON 13,500.00 MADELINE ORGRATZI 39,000.00 ELEANOR PEOPLES 80,000.00 MICHAEL ANGELO 18,000.00 MONTE BANK 80,000.00 CHARLES BOWER 38,500.00 JOCK JACKSON 34,000.00 CAROL MCDOUGALL 18,000.00 LAURA PENMAN 39,000.00 BETSY ZEDI 37,000.00 TERRY CLOTH 38,000.00 PHINEAS FINN 45,000.00 JOE KASPAR 31,000.00 MARK TIME 33,000.00 ROGER WILCO 80,000.00 JANE DOUGH 33,000.00 JAMES GALLWAY 33,000.00 JENNIFER GARFIELD 65,000.00 PERCY GRANGER 34,500.00 VLADIMIR HEAROWITZ 33,000.00 JAMES JACOBI 55,000.00 JULIE JENSEN 37,000.00 LARRY LITERATA 37,500.00 KATHERINE O'HEARN 42,500.00 RALPH TYRO 20,000.00 HENRIETTA HENDON 240,000.00 THEMIS PAPAZEUS 100,000.00 JOHN RUPEE 80,000.00 ROBBY WILDER 90,000.00 2,522,500.00
|
Copyright © 2014 CA.
All rights reserved.
|
|