Many thanks to all who replied. I tried Jeff Davis's example and it
worked like a charm!
Thanks again,

John Furniss
Allied Machine & Engineering, Corp
Phone: 330-343-4283, ext. 8371
email: jfurniss@xxxxxxxxxxxxxxxxx

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of jdavis@xxxxxxxx
Sent: Monday, August 18, 2008 9:55 AM
To: RPG programming on the AS400 / iSeries
Cc: RPG programming on the AS400 / iSeries;
Subject: Re: Move an entire PF record

I would create two external descriped data structures and move the

FFixcostp Ip E K DISK
FItemasb If E K DISK
FJitemasb UF A E K DISK rename(itemaseb:itemasec)

D ItemasbDs E DS ExtName(Itemasb)
D JItemasbDs E DS ExtName(JItemasb) prefix(a)

C Itemno Chain Itemasb
C If %found
C Write Itemasec
C endif

Jeff Davis


The information contained in this communication is confidential,
private, proprietary, or otherwise privileged and is intended only for
the use of the addressee. Unauthorized use, disclosure, distribution or
copying is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify the sender
immediately at (312)653-6000 in Illinois; (800)835-8699 in New Mexico;
(918)560-3500 in Oklahoma; or (972)766-6900 in Texas.


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by 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].