|
I would probably define an externally described data structure with the extname keyword and the record format. The data structure will always have the current values of the record without any evals or moves. In fact the whole process you describe probably would be a very good opportunity to practice with data structures because you probably want more than one data structure to complete your task. --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: 02/10/05 11:31:24 To: Receipt notification requested Subject: Copy whole record. Hello, I would like to write the simply update trigger program which take the updating record, add some new information and add it to another file. Does anyone know how to make it the simply way (without moving each fields separately)? Thanks Regards Jarek ................................................................... Jaroslaw Szarlik EUR/SI/BS/OC/IP/PO ( : +48 89 5394923 FAX : +48 89 5336597 Mobile: +48 601657739 * : Jaroslaw.Szarlik@xxxxxxxxxxxxxxx ................................................................... -- 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.