I just finished doing a SAVE 21 on our backup system (prior to installing a new Cume and some Groups).  QSTRUP is run whenever the system returns from a restricted state.  Part of my QSTRUP program has a call to a program that I wrote a year or two ago.  In the program there is a printer file when is defined as USROPN.
There is a message waiting (the text of which is not very helpful - a call to a procedure ended in error).  Under debug I found that the program is stopped at the statement which opens the printer file.  The joblog prior to that has CPF4104 - User not authorized to operation on file ITSCHEDP.  Running DSPOBJAUT over the printer file shows *PUBLIC with *All; there are no exclusions.  The job (QSTRUPJD) is running under QPGMR (which has no password on our system).
I've had this program running in QSTRUP for a year or so without any mishaps.  Any ideas?
Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email:  jerry@xxxxxxxxxxxxxxx<mailto:jerry@xxxxxxxxxxxxxxx>
I've seen the future and it's much like the present, only longer. -Don Quisenberry
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 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.