|
Don't you still need the Open (E) extender though?? --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@MartinVT.com --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Thursday, January 23, 2003 21:22:12 To: rpg400-l@midrange.com Subject: How does the RPG MONITOR operation code work We are on V5R1 and I cant get MONITOR to work. I saw references in the archives but I cant see an answer to my problem. Program CHKALPFLD is a MOD and uses procedures. INPUTR is a program described file overridden to a DBF. This is the code // Open the file MONITOR; OPEN INPUTR; If not %error; Exsr ChkData; Endif; ON-ERROR; ENDMON; I get these messages in the log, I expected MONITOR to suppress them. File AVM01V in library UAUBPCF with member *N not found. Error message CPF4102 appeared during OPEN. Error message CPF4102 appeared during OPEN (C G D F). C Error message CPF4102 appeared during OPEN (C G D F). C Application error. RNX1217 unmonitored by CHKALPFLD at statement 0000008500, instruction X'0000'. I have also put in a rudimentary PSSR to see if it works. CSR *PSSR BEGSR * CSR ENDSR The program still crashes, any suggestions. TIA Frank kolmann
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.