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


  • Subject: Re: Can I Rename A Field For An Output File?
  • From: DRittenberg@xxxxxxxxxxxxx
  • Date: Thu, 19 Jul 2001 10:22:23 -0700


I guess you want to rename the field in the output file because an input
file has a field with the same name but a different description.  Why don't
you rename the field in the input file?

Dave


                                                                                
                
                    "Joe Giusto II                                              
                
                    \(E-mail\)"               To:     <RPG400-L@midrange.com>   
                
                    <juicenetdps@cross        cc:                               
                
                    winds.net>                Subject:     Can I Rename A Field 
For An Output   
                    Sent by:                  File?                             
                
                    owner-rpg400-l@mid                                          
                
                    range.com                                                   
                
                                                                                
                
                                                                                
                
                    07/19/01 07:49 AM                                           
                
                    Please respond to                                           
                
                    RPG400-L                                                    
                
                                                                                
                
                                                                                
                





I am trying to rename a field on a file that is output only.  I tried:

0011.00 FWHPCPD    O    E             DISK
0013.00 IWHFCPD
0014.00 I              LOCAT                       LOCAT5

but received an error:
0005.77 *RNF4005 40      1 File-Name or Record-Name entry is not valid;
input record is
0005.78                    ignored.

is there any other way to do it besides describing the file as Input with
Add allowed?

Thank you,

Joe Giusto II
Programmer/Analyst
Ritz Camera
Beltsville, MD
301-419-3209 x347
410-813-2812 x347


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---




+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.