|
If you have SNA configured, you could always use SNDNETSPLF to send a copy of the spool file to the new owner. Yes, the job will be different. Yes, now you will have two copies. If you are trying to change it to a group profile, you always have that option, providing the user is a member of that group. Rob Berendt ================== A smart person learns from their mistakes, but a wise person learns from OTHER peoples mistakes. Erick Garske <Erick@FORMationm To: "'rpg400-l@midrange.com'" <rpg400-l@midrange.com> g.com> cc: Sent by: Subject: Changing Spool file ownership owner-rpg400-l@mi drange.com 06/27/2001 10:06 AM Please respond to RPG400-L For most objects, if I need to change the ownership, CHGOBJOWN works just fine. Its straight forward and intuitive. Simply place the user profile name in the command for the prompt of the new owner Now if I need to change the ownership of a spool file from the OVRPRTF command there is a parameter value SPLFOWN. Can I place a user profile here? Nope. The help text reads: *CURUSRPRF The spooled file is owned by the current user profile. If the job has switched (see API QWTSETP) to a new user profile, the new user profile is the owner of the spooled file. So I have to run an API to change the entire job from the current user profile to the desired profile. Run the OVRPRTF and then change the job ownership back to the original profile? Has anyone done this sort of thing recently, and would this be the right technique for implementing a change of ownership in a spool file. Thanks in advance for your help. Regards, Erick +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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.