× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Sorry I didn't sent complete code
AVG is Standalone field which I def in D SPEC
No prb with compilation.







-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry Adams
Sent: Wednesday, August 01, 2007 8:09 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Printer File

You need to insert another E(xception) line between 'AVG' and the new
literal.


Another note, I have never defined an program-described printer field
without using the ending position, such as you have for AVG. I didn't
know that would compile, much less work. Learn something new every day,

I guess.


* Jerry C. Adams
*IBM System i Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
615.995.7024
fax
615.995.1201
email
jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Srinivas Boggula wrote:
Hi Every one,

I'm writing a new program on printer files using O Specs
My problem is cannot able to print a constant value in new line

Please check below code I want to print "END OF RECORD" in a new line
After printing AVG but it is not printing in next line instead
It's printing immediately.


0022.01 OQPRINT E PRINT4 1
0022.02 O 'AVERAGE :'
0023.00 O AVG A 29
0024.00 O 'END OF RECORD'



Please can any one solve my prb

Thanks in advance
Srinivas



----------------------------------------------------------------DISCLAIM
ER---------------------------------------------------------
Information transmitted by this EMAIL is proprietary to iGATE Group of
Companies and is intended for use only by the individual
or entity to whom it is addressed and may contain information that is
privileged, confidential, or exempt from disclosure under
applicable law. If you are not the intended recipient of this EMAIL
immediately notify the sender at iGATE or mailadmin@xxxxxxxxx
and delete this EMAIL including any attachments





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.