On 10/13/2005 8:41 AM, Jay Maynard wrote:
On Thu, Oct 13, 2005 at 07:24:04AM -0400, Walt Farrell wrote:
...snipped...
By the way, contrary to the documentation, all options other than READ
will require authorization (APF, supervisor state, or system key).
Already discovered that one the hard way (B78-8 ABENDs are pretty easy to
figure out).
Another "by the way" in response to your original question about how you
can change the jobname for your dynamically-allocated SYSOUT file.
If you can use z/OS UNIX functions, you could consider setting the
_bpx_jobname environment variable to the jobname you want, and
forking/spawning to create a new process that will then inherit that
jobname. Then do your allocation.
You would also need authority to FACILITY resource BPX.JOBNAME, but
would not need to create control blocks, run authorized, etc.
Just a thought...
Walt Farrell, CISSP
z/OS Security Design, IBM
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html