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

[sqr-users] problem with WRAP



After reading about the WRAP argument here over the last few days, I found a
spot where it would be very beneficial to me, so I tried it out.
I followed the exact syntax that it shows in the SQR book. 
My goal is to print the error message, starting on the line I am on, at
column 66, print for 60 characters, with a max of 5 lines.

Begin-procedure write-report
Print $emplid (+1,1,10)
Print $name  (0,12,34)
Print $empl_status (0,50)
Print $empl_type (0,60)
Print $err-msg (0,66) WRAP 60, 5
end-procedure !write-report

But then, when I run it, I get this error:

Error on line 317:
   (SQR 5304) Qualifier 'wrap' requires a numeric literal, variable, or
column.
Print $err-msg (0,66) WRAP 60, 5

Errors were found in the program file.

SQR for PeopleSoft: Program Aborting.

Please help.  What am I doing wrong?


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users