[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

print / wrap question



SQR Users,

Why is the following wrap function erroring out?  I seems to be correct from
a syntax standpoint.
The numeric literal is present (10, 3).  Any help would be greatly
appreciated.

SQR Version 4.3 in PeopleSoft 7.5

BEGIN-PROCEDURE get-product-group-description

begin-select
B.DESCR &prod_grp_desc
from PS_CV_PRDCL_TBL A,
     PS_CV_PRDCH_TBL B
WHERE A.SETID = B.SETID
AND A.PRODUCT_GROUP = B.PRODUCT_GROUP
end-select
let #number_lines=wrapdepth(&prod_grp_desc, 10, 2, '<13>', '/\@-' )
display 'The number of lines are...'
display #number_lines
print &prod_grp_desc    (4,1,30) Wrap 10, 3
END-PROCEDURE


ERROR

Error on line 293:
   (SQR 5304) Qualifier 'wrap' requires a numeric literal, variable, or
column.
print &prod_grp_desc (4,1,30) Wrap 10, 3

Errors were found in the program file.

Byron Hall
CIBAVISION CORPORATION
11460 Johns Creek Parkway
Duluth, GA. 30097-1556
Phone: 678-415-3359
Fax: 678-415-3710