MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » October 2012

RE: QIBM_QCA_CHG_COMMAND exit point for SBMJOB



fixed

Here's a pair of articles by Dan Riehl:

http://www.securemyi.com/articles/artcmdexit1.htm
http://www.securemyi.com/articles/artcmdexit2.htm

Here's a rather ugly IBM example:
http://www-01.ibm.com/support/docview.wss?uid=nas193a2185ca9c3edef862575920057780b


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Friday, October 12, 2012 15:55
To: Midrange Systems Technical Discussion
Subject: Re: QIBM_QCA_CHG_COMMAND exit point for SBMJOB

A Google search got me to this -
http://www.mcpressonline.com/programming/cl/the-cl-corner-understanding-the-chkkill-program.html

It's by Bruce Vining and is the 3rd in a series - links to the other 2 are here, so I've only given this URL.

HTH
Vern

On 10/12/2012 5:47 PM, Graap, Kenneth wrote:
Does anyone have some code that can be used with the QIBM_QCA_CHG_COMMAND exit point to control what *JOBD name is specified on the SBMJOB command based on some analysis of the job using the SBMJOB command?

For example, if a user's interactive job has something other than *NONE specified for the ASPGRP job attribute, then I'd like the exit program to change the JOBD parameter of the SBMJOB command from *USRPRF to some specific *JOBD name ... but only if it was *USRPRF. If the user specified something other than *USRPRF for the JOBD parameter then leave it alone...

I hope someone has done this before .... You could save me a several hours of trying to figure it out !

<smile>

I know I can specify INLASPGRP(*CURRENT) on the SBMJOB, but I want to change the JOBD parameter of the SBMJOB command to use a specific JOBD name when a user's ASPGRP is something other than *NONE...

Thanx in advance.

Kenneth
AKA ... ??? or ???
Kenneth E. Graap
System Administrator
503.226.4211 x5537
http://www.linkedin.com/in/kennethgraap






--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.








Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact