|
Yes, but you will have to list all of the fields that you want from the physical because once you describe one, the logical only includes ones that you list in the DDS In the logical DDS, list the field names without attributes (they will be picked up from the physical) except for the field that you want to change. Example: Physical file A A R RECORD A FIELD1 8S 0 A FIELD2 5 A FIELD3 4 A FIELD4 3S 0 Logical file AL A R RECORD PFILE(A) A FIELD1 7S 0 A FIELD2 A FIELD3 A FIELD4 A K FIELD1 -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Grace Sent: Thursday, June 12, 2003 1:43 PM To: rpg400-l@xxxxxxxxxxxx Subject: NUMERIC FILE KEYS I AM DOING A CONVERSION A LEGACY SYTEM WITH A TON OF FILES WITH A KEY OF 7/0 THE NEW MASTERFILE THE KEY IS 8/0. IS THERE A WAY TO BUILD A LOGICAL USING THE LAST SEVEN POSITIONS OF THE 8/0 FIELD.IF NOT I HAVE TO GO INTO A BILLION PRGRAMS AND MOVE THE 7/0 FIELD TO AN 8/0 FIELD ANN THEN CHAIN. A NOTE THE 8/0 FIELD WILL NOT OVER 9,999,999 IN THE NEXT 60 YEARS, THE LARGEST VALE IN THE 8/0 FIELD IS 14,000 AND THIS IS FROM 12 YEARS OF PROCESSING. ANY RESOPNSE IS WELCOME. EVEN A GOOD JOKE IS APPRECIATED. JEFF.GRACE@xxxxxxxxx _______________________________________________ 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 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.