About the default value and maximum value of the LINESIZE.

book

Article ID: 225917

calendar_today

Updated On:

Products

CA Easytrieve Report Generator for Common Services

Issue/Introduction

Q1. What is the default value of the LINESIZE parameter in a REPORT statement?

Q2.  What is the maximum value that can be specified for the LINESIZE parameter in a REPORT statement?

Q3. What is the relationship between the LINESIZE value and the record length specified in RECORD parameter of the PRINTER NAME section in a extended report setting(EZTPXRPT)?

 

Environment

Release : 6.4

Component : CA Easytrieve Plus Report Generator

Resolution

A1.
The default value can be specified in the LINESIZ parameter in the option table (EZTPOPT).  
Ex.  LINESIZ=136
If the LINESIZ parameter isn't set in a option table, 132 is set as the default value of the LINESIZ parameter.

A2.
The LINESIZE option determines the length of each line on a page. The value of the LINESIZE is the number of print positions on each report line. The value of LINESIZE must be 1 to 'nnn', where 'nnn' is one less than the physical length (record size) of the printer file receiving the report. The first character in a PRINTER file contains the ASA carriage control information.

If the report isn't assigned to an extended reporting printer, the maximum value that can be specified for the LINESIZE parameter is determind by the value that has been specified in the LINESIZ parameter in the option table (EZTPOPT).  In this case, the LINESIZE value should be specified in the range of the set value in the LINESIZ parameter in the option table. The valid range for the LINESIZ parameter is 120 to 204.

If the report isn't assigned to an extended reporting printer and use a PRINTER file function, the maximum value that can be specified for the LINESIZE parameter is determined by the record length of the PRINTER file. In this case, the maximum value that can be specified for the LINESIZE parameter is the record length of the PRINTER file minus 1. (The first character in a PRINTER file contains the ASA carriage control information.)

If the report is assigned to an extended reporting printer that is not a standard Line Printer, the maximum value of LINESIZE is not dependent upon the record size of the print data set.  The insertion of Overprint and Function Codes into print records plus the support of different fonts on the same print line all impact the relationship between LINESIZE and the print data set record size. 
Any LINESIZE is supported, provided value of the LINESIZE multiplied by the value of the assigned extended reporting printer's default width does not exceed the maximum page width of that extended reporting printer.
The value of the LINESIZE overrides the value defined in the Options Module. If the report is directed to an extended reporting printer, the LINESIZE value is multiplied by the default width of the assigned extended reporting printer. This value defines the width of the print line. (See the Extended Reporting Facility Guide for more information about extended reporting.)

* If the report is assigned to an extended reporting printer, PRINTER file can be also used for the target report. In this case, the record length of the PRINTER file can't be  exceed the record length that is specified in the RECORD parameter in the XRPT setting.

A3.

The answer was already told in the A2.
If the report is assigned to an extended reporting printer that is not a standard Line Printer, the maximum value of LINESIZE is not dependent upon the record size of the print data set.  The insertion of Overprint and Function Codes into print records plus the support of different fonts on the same print line all impact the relationship between LINESIZE and the print data set record size. 
Any LINESIZE is supported, provided value of the LINESIZE multiplied by the value of the assigned extended reporting printer's default width does not exceed the maximum page width of that extended reporting printer.
The value of the LINESIZE overrides the value defined in the Options Module. If the report is directed to an extended reporting printer, the LINESIZE value is multiplied by the default width of the assigned extended reporting printer. This value defines the width of the print line. (See the Extended Reporting Facility Guide for more information about extended reporting.)