Hi Mark,

I thought it would be simple when I agreed to add RACF checking for the TIME 
parameter, but during my research I found that there was always a TIME 
value encoded on the STEP card when it was being processed by JES2 EXIT6. 
So I then had to work out what the jobclass default was to "guess" if the user 
had coded a TIME= value on his STEP card JCL. This led to earlier postings in 
IBM-MAIN which gave me the directions to using these JES2 MACRO calls.

It was fun getting it right.

On Thu, 30 Jul 2009 08:44:07 -0500, Mark Zelden 
<[email protected]> wrote:

>On Thu, 30 Jul 2009 06:01:05 -0500, Bruce Hewson 
<[email protected]>
>wrote:
>
>>Hi Tom,
>>
>>I did this in JES2 Exit 6, with SAF calls for access checking.
>>
>>The difficult piece for STEP level TIME cards was to determine the 
JOBCLASS
>>default TIME value that gets automatically placed onto all EXEC card 
images.
>>
>>Some determined access to JES2 control blocks via $DSERV and $DOGCAT
>>calls allowed me to get the default TIME values for comparison. If your TIME
>>value exceeded that of the JOBCLASS specification, then a call is made to a
>>FACILITY class resource to confirm you are allowed to code a STEP level 
TIME
>>card. Access failure triggers a JCL ERROR.
>
>More complicated than mine.  I just checked the internal text for any
>sort of TIME= which was either allowed or not depending on the JOBCLASS
>and if the user had access to the "time" resource in the "$JEXIT" resource
>class (locally defined).
>
<snip>
>Mark
>--
>Mark Zelden
>Sr. Software and Systems Architect - z/OS Team Lead
>Zurich North America / Farmers Insurance Group - ZFUS G-ITO


Regards
Bruce Hewson

----------------------------------------------------------------------
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

Reply via email to