|
Mark, I've seen this before when the file is defined as alwupd(*NO) alwdlt(*NO). But on my machine (V4R1) QATMSMTPA is not defined this way. Do a DSPFD on the file and page down twice. In the middle of the screen there are Allow Read, Allow Write, Allow Update and Allow Delete fields, are they all Yes? -Walden -----Original Message----- From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of Mark Burns Sent: Thursday, March 26, 1998 2:46 AM To: Midrange Subject: Hi All, We've written a program to update a system file QATMSMTPA which holds the System SMTP aliases. From a previous question I asked a few weeks ago other people on the list indicated they had done this. When our program runs we are getting error CPF4194 saying that the file can only be opened for Input not Output, Update or Delete. When I tried running interactive SQL I got a similiar message saying that users cannot update a system table. I've tried changing the program so that it adopts QSECOFR authority and I tried with it adopting QSYS authority (QATMSMTPA object owner) with the same result. Is it because the file is in the System domain and the program is in the User domain? I thought this only caused a failure above security level 40. Any suggestions would be appreciated Mark Burns Kraft Foods Australia +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@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 +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@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.