|
-----Original Message----- From: Ken Sims at SWS Nevada <ken.sws@ke9nr.org> To: MIDRANGE-L@midrange.com <MIDRANGE-L@midrange.com> Date: 06 August 1999 02:03 > >>From: "Simon Thompson" <rattus@enterprise.net> >>Subject: Re: Mysterious MCH3601 errors at V4R3M0 >> >>>Ken Sims at SWS Nevada wrote : >>> >>>A WRITE operation is not "update", a WRITE operation is "add". If >>>you are using the file both for UPDATE and WRITE, then you need to >>>open it that way. This may necessitate having a dummy WRITE >>>operation in the main module: >>> >>>if 'A'='B' >>>write [record name] >>>endif >> >>Is just my imagination but since using RPG400 (V4R2) I cannot use >>N99 99 in the indicator columns to issue a dummy operation. > >Two questions: > >1. Why would you want to? Why use indicators? > >2. What happens? Does the operation actually get executed? > >Ken > > Ken, I guess I'am just a dinosaur still using RPG2 and 3 techniques now again. The complile fails with 'field not defined' ?! Somebody on the News400 RPG Forum has asked the question what is INXX as it appears on a program dump as set to '1' . I used to know but I cant' find it in any of the manuals, maybe I should post this as a seperate message ? Regards Simon +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.