 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Use SysReq to get WRKJOB</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/use-sysreq-to-get-wrkjob/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/use-sysreq-to-get-wrkjob/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 10:59:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/use-sysreq-to-get-wrkjob/#comment-71618</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 15 Dec 2009 08:58:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-71618</guid>
		<description><![CDATA[Or just use QSYS/QUSCMDLN as your Attention program and skip all the messing with stuff.

Tom]]></description>
		<content:encoded><![CDATA[<p>Or just use QSYS/QUSCMDLN as your Attention program and skip all the messing with stuff.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yorkshireman</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/use-sysreq-to-get-wrkjob/#comment-69197</link>
		<dc:creator>yorkshireman</dc:creator>
		<pubDate>Mon, 19 Oct 2009 11:47:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-69197</guid>
		<description><![CDATA[Or just create a proxy command]]></description>
		<content:encoded><![CDATA[<p>Or just create a proxy command</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: astradyne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/use-sysreq-to-get-wrkjob/#comment-40706</link>
		<dc:creator>astradyne</dc:creator>
		<pubDate>Tue, 12 Sep 2006 09:55:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-40706</guid>
		<description><![CDATA[You don&#039;t need to duplicate the whole of QCPFMSG and you don&#039;t need to put the library into the system library list for your job.

What you can do is create a message file in your own library and duplicate the CPX2313 message ID which you then modify.

In the initial sign-on program for your user profile, you simply add the line:

OVRMSGF MSGF(QCPFMSG) TOMSGF(mylib/mymsgf)

When the system attempts to send a message from the QCPFMSG message file it will check the overriding file first and if it doesn&#039;t find the message it reverts back to the original QCPFMSG.  That way you only need your version of CPX2313 with the WRKJOB in it.

All the best

Jonathan]]></description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to duplicate the whole of QCPFMSG and you don&#8217;t need to put the library into the system library list for your job.</p>
<p>What you can do is create a message file in your own library and duplicate the CPX2313 message ID which you then modify.</p>
<p>In the initial sign-on program for your user profile, you simply add the line:</p>
<p>OVRMSGF MSGF(QCPFMSG) TOMSGF(mylib/mymsgf)</p>
<p>When the system attempts to send a message from the QCPFMSG message file it will check the overriding file first and if it doesn&#8217;t find the message it reverts back to the original QCPFMSG.  That way you only need your version of CPX2313 with the WRKJOB in it.</p>
<p>All the best</p>
<p>Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stanzg</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/use-sysreq-to-get-wrkjob/#comment-40707</link>
		<dc:creator>stanzg</dc:creator>
		<pubDate>Tue, 12 Sep 2006 08:49:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-40707</guid>
		<description><![CDATA[Thanks for all your help. It looks like I have come up with a solution. I do not like the idea of changing CPX2313 for 2 reasons: 1) It is global and this is not something I want everyone to have. and 2) I don&#039;t like messing with IBM&#039;s QSys objects-You sneeze at the wrong time and you might have to reload the operating sysem.

But here is what I did. In that new local system library I created I used CRTDUPOBJ to duplicate CPFMSGF and in this copy of the messagefile I changed msg CPX2313. When I put this into my system library list I got my command line.]]></description>
		<content:encoded><![CDATA[<p>Thanks for all your help. It looks like I have come up with a solution. I do not like the idea of changing CPX2313 for 2 reasons: 1) It is global and this is not something I want everyone to have. and 2) I don&#8217;t like messing with IBM&#8217;s QSys objects-You sneeze at the wrong time and you might have to reload the operating sysem.</p>
<p>But here is what I did. In that new local system library I created I used CRTDUPOBJ to duplicate CPFMSGF and in this copy of the messagefile I changed msg CPX2313. When I put this into my system library list I got my command line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jadima</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/use-sysreq-to-get-wrkjob/#comment-40708</link>
		<dc:creator>jadima</dc:creator>
		<pubDate>Mon, 04 Sep 2006 09:44:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-40708</guid>
		<description><![CDATA[There is another way to use WRKJOB instead of DSPJOB using the *SYSRQS. Use the QIBM_QWT_SYSREQPGMS exit point to enter a program of your choise. The params requested are
PGM        PARM(&amp;SRDSPFLAG &amp;SRUSRDTA)         
                
Declare CL variables                          
DCL        VAR(&amp;SRDSPFLAG) TYPE(*CHAR) LEN(4) 
DCL        VAR(&amp;SRUSRDTA) TYPE(*CHAR) LEN(128) 

Information about creation exit point programs can be found in the http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?lang=en
select : Exit point Name : QIBM_QWT_SYSREQPGMS 
Exit point Format : SREQ0100  

To activate the program for only a selected group of users, you have to use the QWTSETPX API per user. 
I use it for a lot of things and it is very usefull.
Hope this is of any help for you.  Good luck.          
]]></description>
		<content:encoded><![CDATA[<p>There is another way to use WRKJOB instead of DSPJOB using the *SYSRQS. Use the QIBM_QWT_SYSREQPGMS exit point to enter a program of your choise. The params requested are<br />
PGM        PARM(&amp;SRDSPFLAG &amp;SRUSRDTA)         </p>
<p>Declare CL variables<br />
DCL        VAR(&amp;SRDSPFLAG) TYPE(*CHAR) LEN(4)<br />
DCL        VAR(&amp;SRUSRDTA) TYPE(*CHAR) LEN(128) </p>
<p>Information about creation exit point programs can be found in the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?lang=en" rel="nofollow">http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?lang=en</a><br />
select : Exit point Name : QIBM_QWT_SYSREQPGMS<br />
Exit point Format : SREQ0100  </p>
<p>To activate the program for only a selected group of users, you have to use the QWTSETPX API per user.<br />
I use it for a lot of things and it is very usefull.<br />
Hope this is of any help for you.  Good luck.          </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waltz400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/use-sysreq-to-get-wrkjob/#comment-40709</link>
		<dc:creator>waltz400</dc:creator>
		<pubDate>Fri, 01 Sep 2006 12:15:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-40709</guid>
		<description><![CDATA[The following is an excerpt from the V5R3 memo to users regarding user defined copies of system commands. 

&quot;Programs that use customized versions of IBM-supplied commands&quot; 

&quot;Some operating system functions that use IBM-supplied CL commands that are not library-qualified in this release may be changed in a future release to specify a specific library of *NLVLIBL or *SYSTEM for the library qualifier. Applications that depend on using their own version of commands instead of the IBM-supplied commands might not work as they had on earlier releases. These applications should be changed to use the retrieve command exit point (QIBM_QCA_RTV_COMMAND) or the change command exit point (QIBM_QCA_CHG_COMMAND) that allows your exit program to get control and possibly change the command that is used.&quot;

I assume this is what is happening in your case. The system is ignoring your version of DSPJOB and defaulting to the system version.]]></description>
		<content:encoded><![CDATA[<p>The following is an excerpt from the V5R3 memo to users regarding user defined copies of system commands. </p>
<p>&#8220;Programs that use customized versions of IBM-supplied commands&#8221; </p>
<p>&#8220;Some operating system functions that use IBM-supplied CL commands that are not library-qualified in this release may be changed in a future release to specify a specific library of *NLVLIBL or *SYSTEM for the library qualifier. Applications that depend on using their own version of commands instead of the IBM-supplied commands might not work as they had on earlier releases. These applications should be changed to use the retrieve command exit point (QIBM_QCA_RTV_COMMAND) or the change command exit point (QIBM_QCA_CHG_COMMAND) that allows your exit program to get control and possibly change the command that is used.&#8221;</p>
<p>I assume this is what is happening in your case. The system is ignoring your version of DSPJOB and defaulting to the system version.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.014 seconds using memcached
Object Caching 338/341 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 12:11:51 -->