IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JES2 exit required


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Mar 30, 2010 2:06 pm
Reply with quote

Does anyone know where I can find a JES2 exit (or that you are willing to share) that simply throws out submitted jobs when, in order of importance


  • the JOBNAME does not start with the same characters as the USERID
  • the JOB statement use PRTY=


Thanks,

Robert
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Mar 30, 2010 2:19 pm
Reply with quote

Hi Robert!
most probably the CBT tape might have something useful
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Mar 30, 2010 3:03 pm
Reply with quote

enrico-sorichetti wrote:
most probably the CBT tape might have something useful


Hi Enrico,

I did have a look at that, but nothing obvious sprang to mind. From the time I was working (currently sadly "between contracts") I know these kind of exits exist and are pretty normal in most shops, but not so on "that" public z/OS system, where users can pretty much submit jobs with any jobname.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 30, 2010 3:19 pm
Reply with quote

Prino,

maybe RACF (if installed) can handle things like that.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Mar 30, 2010 3:23 pm
Reply with quote

Peter,

It is installed and probably can do so, I'm just trying to help the guy who runs the system to find a solution, and if anyone has any hints as to how RACF might help, feel free to share this knowledge.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 30, 2010 3:38 pm
Reply with quote

The following manual :

z/OS V1R9.0 Security Server RACF Security Administrator's Guide
SA22-7683-11

Gives information like :

Forcing Batch Users to Identify Themselves to RACF

And of course a lot more.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Mar 30, 2010 4:10 pm
Reply with quote

At this new shop, we're allowed to SUBmit a JOB only when the first letter of job is "some special character" provided by them. I believe this is pretty much similar to what you asked for. I'm just an Application Engineer and can't answer right away about the JES2 exit they might have used, so I sent a note to our system-programmers, hope I'll here back from them soon.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Tue Mar 30, 2010 4:25 pm
Reply with quote

Anuj Dhawan wrote:
At this new shop, we're allowed to SUBmit a JOB only when the first letter of job is "some special character" provided by them. I believe this is pretty much similar to what you asked for. I'm just an Application Engineer and can't answer right away about the JES2 exit they might have used, so I sent a note to our system-programmers, hope I'll here back from them soon.


Actually, what we want is that user QWERTY can only submit jobs with jobnames that start with QWERTY (and one or two freely selected characters). What we have now is
Code:

JOBNAME  StepName ProcStep JobID    Owner 
BKDN27   COBOL    COBOL    JOB96544 GD04   
BKDN29   COBOL    COBOL    JOB96555 GD04   
PN1OOO1A STEP1             JOB96551 PN10001
TS10002A COBOL    COBOL    JOB96537 GD03   
ZIND008A STEP1    COBOL    JOB96541 ZINM013


And this makes it hard to "process" dimwit users... (I leave it to your imagination what is meant by "process" icon_evil.gif )

Knocking up an edit macro to override submit would take me a few minutes, but users can of course trivially override this, although I do expect that it would catch most of them.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 30, 2010 4:33 pm
Reply with quote

Once again :

z/OS V1R10.0 JES2 Initialization and Tuning Guide
SA22-7532-08

Chapter : Providing security for JES2

Subchapter : Controlling input to your system
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue Mar 30, 2010 4:52 pm
Reply with quote

If you just wish to stop people submitting jobs with "incorrect" jobnames/jobcards from tso. By far the easiest way is installing the TSO submit exit (IKJEFF10)
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Mar 30, 2010 5:02 pm
Reply with quote

Hello nevilh,

thought that IKJEFLD was used for the TSO logon/logoff process.
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 262

PostPosted: Tue Mar 30, 2010 5:05 pm
Reply with quote

Quote:
thought that IKJEFLD was used for the TSO logon/logoff process.
It is . I had a typo in, you were obviously writing as I was correcting.. Thanks for trying to keep me honest
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Use of Perform Thru Exit COBOL Programming 6
No new posts user exit in IBM Infosphere Optim DB2 8
No new posts Jes2 command output All Other Mainframe Topics 4
No new posts ACS exit routine JCL & VSAM 0
No new posts Research regarding csqcapx exit CICS 0
Search our Forums:

Back to Top