|
Mark, > When our program runs we are getting error CPF4194 saying that the file can > only be opened for Input not Output, Update or Delete. > > 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. The issue is that IBM use additional flags in the file object template ( ie the system description of the object ). These additional flags are what are used to set this file 'read-only' to non-IBM software. The IBM functions used to alter the file, in this case the CFGTCP programs modifiy these flags to enable read/write/updates to the file. The AS/400 ALWUPD and ALWDLT parms on the CRTPF are red herrings, as IBM software ignores them any way (create a file set for no update or no delete - both SEU & DFU will happily add & delete records from this file...) This file is protected this way for a reason, but for that reason you'll need to talk to IBM Hope this helps, --phil -- Phil Hall ________________________________________________ email . . . . : hallp@ssax.com phone(w). . . : (312) 258-6319 News/400 C/C++ Forum moderator at; http://www.news400.com/c/index.htm ________________________________________________ +--- | 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.