<?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: Custom Change password program</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/custom-change-password-program/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/custom-change-password-program/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 01:19:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/custom-change-password-program/#comment-71170</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 03 Dec 2009 08:35:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-71170</guid>
		<description><![CDATA[There is no need to rename the IBM-supplied CHGPWD command. Nor should you rename it. Leave it alone. Simply qualify it as QSYS/CHGPWD in your program.

That makes it available to IBM programming so those programs won&#039;t error out, not to mention programs that &lt;i&gt;you&lt;/i&gt; might write in the future that need QSYS/CHGPGM. It differentiates it from your version. A later upgrade to the OS won&#039;t catch you by surprise by installing a new copy of CHGPWD after it&#039;s been forgotten. And it protects from elements that might eventually be related to the new &#039;proxy&#039; support that could interfere with renaming IBM commands.

Tom]]></description>
		<content:encoded><![CDATA[<p>There is no need to rename the IBM-supplied CHGPWD command. Nor should you rename it. Leave it alone. Simply qualify it as QSYS/CHGPWD in your program.</p>
<p>That makes it available to IBM programming so those programs won&#8217;t error out, not to mention programs that <i>you</i> might write in the future that need QSYS/CHGPGM. It differentiates it from your version. A later upgrade to the OS won&#8217;t catch you by surprise by installing a new copy of CHGPWD after it&#8217;s been forgotten. And it protects from elements that might eventually be related to the new &#8216;proxy&#8217; support that could interfere with renaming IBM commands.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: astradyne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/custom-change-password-program/#comment-45528</link>
		<dc:creator>astradyne</dc:creator>
		<pubDate>Tue, 11 Apr 2006 18:07:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-45528</guid>
		<description><![CDATA[Hi Igor

You could still do it by making the new CHGPWD intelligent enough to know which command/program is to be run based on the device name.

For example, if you renamed CHGPWD to IBMCHGPWD and then created your own CHGPWD command, the new CPP would be something like this:

PGM
DCL &amp;JOB *CHAR 10

/* Identify the device name */
RTVJOBA JOB(&amp;JOB)

/* If it&#039;s a Radio Data Terminal then use the new CHGPWD */
IF COND(%SST(&amp;JOB 1 3) *EQ &#039;RDT&#039;) THEN(DO)
  CALL new_chgpwd_pgm
ENDDO
ELSE DO
  IBMCHPGPWD
ENDDO

ENDPGM

This works on the assumption that your RDT devices have a device name beginning with RDT - you can obviously change that to suit your needs.

In this example all the RDT devices would use your new password change routine, whilst &quot;normal&quot; devices would use the existing IBM supplied CHGPWD command.

Hope it helps

Jonathan
www.astradyne-uk.com
]]></description>
		<content:encoded><![CDATA[<p>Hi Igor</p>
<p>You could still do it by making the new CHGPWD intelligent enough to know which command/program is to be run based on the device name.</p>
<p>For example, if you renamed CHGPWD to IBMCHGPWD and then created your own CHGPWD command, the new CPP would be something like this:</p>
<p>PGM<br />
DCL &amp;JOB *CHAR 10</p>
<p>/* Identify the device name */<br />
RTVJOBA JOB(&amp;JOB)</p>
<p>/* If it&#8217;s a Radio Data Terminal then use the new CHGPWD */<br />
IF COND(%SST(&amp;JOB 1 3) *EQ &#8216;RDT&#8217;) THEN(DO)<br />
  CALL new_chgpwd_pgm<br />
ENDDO<br />
ELSE DO<br />
  IBMCHPGPWD<br />
ENDDO</p>
<p>ENDPGM</p>
<p>This works on the assumption that your RDT devices have a device name beginning with RDT &#8211; you can obviously change that to suit your needs.</p>
<p>In this example all the RDT devices would use your new password change routine, whilst &#8220;normal&#8221; devices would use the existing IBM supplied CHGPWD command.</p>
<p>Hope it helps</p>
<p>Jonathan<br />
<a href="http://www.astradyne-uk.com" rel="nofollow">http://www.astradyne-uk.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waltz400</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/custom-change-password-program/#comment-45529</link>
		<dc:creator>waltz400</dc:creator>
		<pubDate>Tue, 11 Apr 2006 12:51:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-45529</guid>
		<description><![CDATA[When you start logging on and the profile&#039;s password has expired, you are still in system mode whenCHGPWD is executed. A job has still not been put into QINTER and your initial program has not been called yet so I think doing a CHGSYSLIBL won&#039;t help. 

Since when a job starts the values in system value QSYSLIBL are added to the library list for the job, every user will grab the modified CHGPWD command if you put it into one of these libraries. 

I think your best bet is to create a validity checking program to attach to the current CHGPWD command and see if you can control the code based on user, etc. I have never done one of these but if you check the online Information Center for your release, it should lead you to an example. ]]></description>
		<content:encoded><![CDATA[<p>When you start logging on and the profile&#8217;s password has expired, you are still in system mode whenCHGPWD is executed. A job has still not been put into QINTER and your initial program has not been called yet so I think doing a CHGSYSLIBL won&#8217;t help. </p>
<p>Since when a job starts the values in system value QSYSLIBL are added to the library list for the job, every user will grab the modified CHGPWD command if you put it into one of these libraries. </p>
<p>I think your best bet is to create a validity checking program to attach to the current CHGPWD command and see if you can control the code based on user, etc. I have never done one of these but if you check the online Information Center for your release, it should lead you to an example. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: howiek</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/custom-change-password-program/#comment-45530</link>
		<dc:creator>howiek</dc:creator>
		<pubDate>Tue, 11 Apr 2006 10:26:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-45530</guid>
		<description><![CDATA[Assuming that there is a unique initial program for hand-held devices, you can put your version of CHGPWD into a library, then use CHGSYSLIBL to put that library ahead of QSYS for that job.]]></description>
		<content:encoded><![CDATA[<p>Assuming that there is a unique initial program for hand-held devices, you can put your version of CHGPWD into a library, then use CHGSYSLIBL to put that library ahead of QSYS for that job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivaynerm</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/custom-change-password-program/#comment-45531</link>
		<dc:creator>ivaynerm</dc:creator>
		<pubDate>Tue, 11 Apr 2006 09:18:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-45531</guid>
		<description><![CDATA[Jonatan,

THank you for reply. However this is not exactly what I am looking for.
We have a separate RFINTER subsystem where all handheld devicess will be running. For only those devices I would like custom program to be run. I do not want to affect any other users o the system.

THanks,
Igor]]></description>
		<content:encoded><![CDATA[<p>Jonatan,</p>
<p>THank you for reply. However this is not exactly what I am looking for.<br />
We have a separate RFINTER subsystem where all handheld devicess will be running. For only those devices I would like custom program to be run. I do not want to affect any other users o the system.</p>
<p>THanks,<br />
Igor</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 3/10 queries in 0.031 seconds using memcached
Object Caching 323/329 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 02:46:37 -->