× 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 program that is run as a generic user (I can't control this). I
this program produces a report, but I want the report to come out as the
user running it (many different users run this). Is this possible? Do you
understand what I am trying to ask?

I'm pretty sure you can't change the userid on a spooled file (though, there might be a way via MI? But, I'm sure it would require some hacking.)

What might work better is to copy the spooled file from one user to another, then delete the original. We currently do this with the SNDDST command -- though I understand that this capability may be going away in a future release?

Right now, it's easy to use SNDDST to send it to the same system, but to a different userid.

An alternative would be to use the spooled file APIs to copy the spooled file. I believe there are some utilities out there already that do this. You might try searching the web for utilities of this nature.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.