View previous topic :: View next topic |
Author |
Message |
complex Beginner
Joined: 15 Sep 2003 Posts: 8 Topics: 4
|
Posted: Tue Dec 23, 2003 2:47 pm Post subject: Easytrieve report |
|
|
I am using Easytrieve Plus 6.4 to create reports. I want to create a report with length more than 132 bytes , but am unable to do so inspite of using the LINESIZE parmeter.
According to the Easytrieve user manual, this parameter over-rides the site table value, but its not working.
Can anyone give me any pointers on -
- How to create a report via easytrieve which is longer than 132 bytes ? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue Dec 23, 2003 4:21 pm Post subject: |
|
|
complex,
Just code the max lrecl you want for the report on your file declaration
Code: |
FILE EZTRPT PRINTER FB(300 0)
|
The 300 within the brackets reprensts the LRECL you want for the report and ) reprensts the blksize for the report. By coding the system will calculate the optimum blksize.you can also code the blksize if you wish.
Code: |
JOB INPUT INFILE
PRINT MYRPT
REPORT MYRPT PRINTER EZTRPT LINESIZE 280
|
Now use the file in the report definition with linesize parameter.
Hope this helps...
cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|