|
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 mailing list archive is Copyright 1997-2025 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.