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



Troy,

Use an external ds to identify the file, then use EXTFLD to redefine the
desired fields.

D xternalDS  E DS                   extName(FileName: {optional format
name})
D  field1                                  extFLD(newField1)
D   field2                                 extFLD(newField2)

Hope this is what you need....

MarK A McCarty
AS/400 Programmer/Developer
Navy Exchange Service Command




                    Troy.C.Dills@blum
                    .com                    To:     rpg400-l@midrange.com
                    Sent by:                cc:
                    rpg400-l-admin@mi       Fax to:
                    drange.com              Subject:     Renaming Fields in the 
D specs


                    12/04/2001 04:05
                    PM
                    Please respond to
                    rpg400-l






Hello all

Could some please give me a code snippet of how to rename 2 fields out of a
record format using
the D specs instead of the I specs.  Thanks a bunch

Thanks
Troy Dills
Julius Blum Inc.



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






**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or agency to whom they are addressed. If
you have received this email in error please notify the Navy Exchange
Service Command e-mail administrator.

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

messaging_support_team@nexnet.navy.mil
**********************************************************************



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.