Kbase P34110: Error# 262 issuing an OUTPUT TO Statement with the PAGE-SIZE
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/07/2003 |
|
Status: Unverified
SYMPTOM(s):
Attempting to output data from Progress using the Progress 4GL OUTPUT TO Statement.
Using the PAGE-SIZE option with the OUTPUT TO command.
Specifying the number of lines per page in a dynamic manner by using a Progress 4GL variable whose value is an integer.
** Invalid INPUT/OUTPUT option. (262)
** <program> Could not understand line <number>. (196)
CAUSE:
Incorrect syntax for the Progress 4GL OUTPUT TO command.
FIX:
When dynamically specifying the number of lines per page by using a constant, field name, variable name, or expression whose value is an integer, it is also necessary to use the Progress 4GL VALUE option with the OUTPUT TO command. e.g.:
OUTPUT TO PRINTER PAGE-SIZE VALUE(viPageSize).
Instead of:
OUTPUT TO PRINTER PAGE-SIZE viPageSize.