× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




I have a problem with the QPZCRTFX Create PTF API.



I am now trying to use it to create PTFs to distribute changes to stream files (e.g. java) as well as QSYS.LIB objects. I normally try to distribute stream files and objects owned by QDFTOWN to avoid issues with ownership when they are restored.The problem I have is that the stream files that are saved with the PTF by the API always seem to be owned by the user that runs the QPZCRTFX API, irrespective of the owner of the original files.



When you then load the PTF on the target system, if the owning user profile does not exist, a series of CPI371E "Owner changed for object" messages are issued, followed by a final CPF383E message "n objects restored. 0 objects not restored." This is sent as an escape message although all objects were restored. The LODPTF fails.



Since a job cannot run as QDTFOWN, I seem to have no way of distributing these stream files owned by QDFTOWN if I include them in a PTF.



In theory I could distribute them some other way (e.g. saved in a save file, restored by a PTF exit program), but that's a bit late now: having created a PTF using the directory list option on the API, any PTF that supersedes that PTF will now include the stream files that are owned incorrectly and will fail when loaded.



It seems that the only way out of this is to create a new PTF with the stream files owned by a user profile that can run a job and which is also guaranteed to exist on the target system, such as QSECOFR (or maybe QPGMR?).



This strikes me as all pretty unsatisfactory. What's the best way to raise this with IBM as an issue nowadays? I've had no success finding an option to do this on the IBM website so far. How can you submit an APAR now?











_________________________________________________________________
http://clk.atdmt.com/UKM/go/195013117/direct/01/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.