× 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.



As others have suggested, the printer file needs to be changed (CHGPRTF), or
overridden at run time (OVRPRTF). Before you do a CHGPRTF, make sure that
the printer file is not used by other programs.


Steve Morrison
Beacon Insurance
940-720-4672 

-----Original Message-----
From: Muralidhar Narayana [mailto:Muralidhar_Narayana@xxxxxxxxxxx] 
Sent: Monday, September 20, 2004 2:43 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Printer -file question

I have declared the printer file to be as follows:
FPRINTERF  O    F  188        PRINTER OFLIND(*INOF)      

The record length of printer file used to be 132 now I changed it to 188 to
accomodate more fields.
After proper compilation of the porgram , I was trying to see but still it
is showing the length as 132.It is not showing the additional field PRODUCT.
Can someone shed light on this where I must be going wrong?Thanks in
advance,
 
 
O          E            HEADER         1                        
O                                           12 'ACCOUNT'        
O                                           16 'APS'            
O                                          28 'N/A LINE 1'     
O                                           27 'SPCODE'      
O                                           38 'SPNAME '     
O                                           59 'OPT/STRIKE'     
O                                           76 'CONTRACT DATE'  
O                                           95 'QUANTITY1'      
O                                          115 'QUANTITY2'     
O                                          128 'MFG DETAILS'           
O                                          188 'PRODUCT'            
 O          E            HEADER         2                         
 O                                           12 '======='         
 O                                           16 '==='             
 O                                           28 '=========='      
 O                                           27 '========='       
 O                                           38 '=========='      
 O                                           59 '=========='      
 O                                           76 '============='   
 O                                           95 '============='   
 O                                          115 '=============='  
O..............N01N02N03Field+++++++++YB.End++PConstant/editword
O                                          128 '   ===========' 
O                                          188 '    ========='  

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.