×
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.
Would you not do the following:
I*
Ibyspol01
I field1 extfl1
I field2 extfl2
I field3 extfl3
The format name of the logical file, then the fileds to be renamed and the new field names.
William Moore
California Fine Wire
805-489-5144
wjmoore@xxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: Monday, October 04, 2010 7:52 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: I don't know how to convert these old I specs
Hi all,
In this code MYFILE is to become externally described.
IMYFILE NS
I 2 23 FIELD1
I P 39 432FIELD2
I P 59 632FIELD3
MYFILE is a logical based on two physical files.
FIELD1 is in both PFs in the same position
FIELD2 is in PF1 only.
A 5 character field exists in both formats at position 59.
I want to rename the fields after declaring MYFILE as externally described.
I_________
I EXTFL1 FIELD1
I EXTFL2 FIELD2
I ______ FIELD3
What format name do I use? How do I know which is the external name for FIELD3?
Thanks.
--
This is the RPG programming on the IBM i / System i (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.