 




<?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: Is there a way to FTP a command to an AS/400 to copy user</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 20:47:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: The Most-Watched IT Questions: February 1, 2011 - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-87327</link>
		<dc:creator>The Most-Watched IT Questions: February 1, 2011 - ITKE Community Blog</dc:creator>
		<pubDate>Tue, 01 Feb 2011 06:16:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-87327</guid>
		<description><![CDATA[[...] 7. There&#8217;s a great discussion happening amongst some members helping Kmsysprog FTP a command to an AS/400 to copy a user. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 7. There&#8217;s a great discussion happening amongst some members helping Kmsysprog FTP a command to an AS/400 to copy a user. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-87061</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 26 Jan 2011 02:48:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-87061</guid>
		<description><![CDATA[&lt;i&gt;DSPUSRPRF has an output file option.&lt;/i&gt; and &lt;i&gt;...SAVOBJ *USRPRF to a save file, FTP the *SAVF and restore the *USRPRF.&lt;/i&gt;

That might be a little tricky since they &quot;...are planning on submitting a ftp from a mainframe&quot;.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>DSPUSRPRF has an output file option.</i> and <i>&#8230;SAVOBJ *USRPRF to a save file, FTP the *SAVF and restore the *USRPRF.</i></p>
<p>That might be a little tricky since they &#8220;&#8230;are planning on submitting a ftp from a mainframe&#8221;.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pgmbob</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-86999</link>
		<dc:creator>pgmbob</dc:creator>
		<pubDate>Tue, 25 Jan 2011 02:47:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-86999</guid>
		<description><![CDATA[Hi,
DSPUSRPRF has an output file option. That file can be FTP. A procedure can read the file and CRTUSRPRF on the remote. The password will not be sent. The password will need to be sent along. 
To maintain the password suggest SAVOBJ *USRPRF to a save file, FTP the *SAVF and restore the *USRPRF. good luck!]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
DSPUSRPRF has an output file option. That file can be FTP. A procedure can read the file and CRTUSRPRF on the remote. The password will not be sent. The password will need to be sent along.<br />
To maintain the password suggest SAVOBJ *USRPRF to a save file, FTP the *SAVF and restore the *USRPRF. good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-86927</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 22 Jan 2011 00:24:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-86927</guid>
		<description><![CDATA[&lt;i&gt;It could be as simple as...&lt;/i&gt;

The CPYUSRPRF command is a possibility, though most sites haven&#039;t purchased those tools. (It&#039;s a &lt;a href=&quot;http://taatool.com/document/L_cpyusrprf.htm&quot;&gt;TAA Tools command&lt;/a&gt;.)

Still, it&#039;s worth a try.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>It could be as simple as&#8230;</i></p>
<p>The CPYUSRPRF command is a possibility, though most sites haven&#8217;t purchased those tools. (It&#8217;s a <a href="http://taatool.com/document/L_cpyusrprf.htm">TAA Tools command</a>.)</p>
<p>Still, it&#8217;s worth a try.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hmssl2k</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-86915</link>
		<dc:creator>hmssl2k</dc:creator>
		<pubDate>Fri, 21 Jan 2011 19:58:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-86915</guid>
		<description><![CDATA[&lt;a href=&quot;http://publib.boulder.ibm.com/iseries/v5r2/ic2928/info/rzaiq/rzaiq.pdf&quot;&gt;iSeries FTP&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p><a href="http://publib.boulder.ibm.com/iseries/v5r2/ic2928/info/rzaiq/rzaiq.pdf">iSeries FTP</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nullfields</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-86890</link>
		<dc:creator>nullfields</dc:creator>
		<pubDate>Fri, 21 Jan 2011 14:40:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-86890</guid>
		<description><![CDATA[It could be as simple as executing the command (without the quotes)
&quot;&lt;b&gt;quote rcmd CPYUSRPRF FROMUSRPRF(A)  TOUSRPRF(B)  TEXT(&#039;text for new profile&#039;) &lt;/b&gt; &quot;
from the FTP prompt after you have connected to the remote system.
You will need the proper authority to the command and the from user profile.]]></description>
		<content:encoded><![CDATA[<p>It could be as simple as executing the command (without the quotes)<br />
&#8220;<b>quote rcmd CPYUSRPRF FROMUSRPRF(A)  TOUSRPRF(B)  TEXT(&#8216;text for new profile&#8217;) </b> &#8221;<br />
from the FTP prompt after you have connected to the remote system.<br />
You will need the proper authority to the command and the from user profile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-86871</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 20 Jan 2011 22:23:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-86871</guid>
		<description><![CDATA[As noted, the answer is &quot;Yes.&quot; But it generally requires writing a program to do it on the target system and sending the CALL command through FTP. (Or wrapping the program in a *CMD on the target and sending that command.)

However, it&#039;s probably not a good idea. FTP is intended for file transfers even though it supports remote commands. You&#039;d be far better off using facilities that are intended for remote command handling.

Further, the general process of &quot;copying&quot; a user profile &lt;i&gt;possibly&lt;/i&gt; shouldn&#039;t be encouraged. Some procedure based on group profiles could be an example of a better way to go. Create a (group) profile that has all needed authorities or attributes, have it be the group for user &quot;a&quot;. Then when a &#039;copy&#039; is needed, create user &quot;b&quot; with the same group assigned. That&#039;s not intended to be complete, but it covers the fundamental principle and it&#039;s easier than &#039;copying&#039; a user profile.

What all needs to be &quot;copied&quot;?

Tom]]></description>
		<content:encoded><![CDATA[<p>As noted, the answer is &#8220;Yes.&#8221; But it generally requires writing a program to do it on the target system and sending the CALL command through FTP. (Or wrapping the program in a *CMD on the target and sending that command.)</p>
<p>However, it&#8217;s probably not a good idea. FTP is intended for file transfers even though it supports remote commands. You&#8217;d be far better off using facilities that are intended for remote command handling.</p>
<p>Further, the general process of &#8220;copying&#8221; a user profile <i>possibly</i> shouldn&#8217;t be encouraged. Some procedure based on group profiles could be an example of a better way to go. Create a (group) profile that has all needed authorities or attributes, have it be the group for user &#8220;a&#8221;. Then when a &#8216;copy&#8217; is needed, create user &#8220;b&#8221; with the same group assigned. That&#8217;s not intended to be complete, but it covers the fundamental principle and it&#8217;s easier than &#8216;copying&#8217; a user profile.</p>
<p>What all needs to be &#8220;copied&#8221;?</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charliebrowne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-86870</link>
		<dc:creator>charliebrowne</dc:creator>
		<pubDate>Thu, 20 Jan 2011 21:58:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-86870</guid>
		<description><![CDATA[Remember, whatever you are doing on the AS400 must be done with a USRPRR that has the authority to create new USRPRFs.]]></description>
		<content:encoded><![CDATA[<p>Remember, whatever you are doing on the AS400 must be done with a USRPRR that has the authority to create new USRPRFs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charliebrowne</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-86869</link>
		<dc:creator>charliebrowne</dc:creator>
		<pubDate>Thu, 20 Jan 2011 21:57:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-86869</guid>
		<description><![CDATA[First, you need to create a program that will the parameter of USRPRF.
Then that program does a CRTUSRPRF.
You can hard code the values that you need or table drive them or retrieve the values from a different USRPRF and use those.
*
Once you have that program, then it is just a matter of how it will be called.
You can do any of the following:
1. Submit a command that will call the program
2. Using FTP write the USRPRF to a file on the AS400. (IFS or DB), then have a scheduled program with runs exery x period of time. This program would read the file and to see if any new records were wtitten. If so, it calls the program to create the USRPRF then deletes that record and goes till EOF.]]></description>
		<content:encoded><![CDATA[<p>First, you need to create a program that will the parameter of USRPRF.<br />
Then that program does a CRTUSRPRF.<br />
You can hard code the values that you need or table drive them or retrieve the values from a different USRPRF and use those.<br />
*<br />
Once you have that program, then it is just a matter of how it will be called.<br />
You can do any of the following:<br />
1. Submit a command that will call the program<br />
2. Using FTP write the USRPRF to a file on the AS400. (IFS or DB), then have a scheduled program with runs exery x period of time. This program would read the file and to see if any new records were wtitten. If so, it calls the program to create the USRPRF then deletes that record and goes till EOF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kmsysprog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-there-a-way-to-ftp-a-command-to-a-as400-to-copy-user/#comment-86867</link>
		<dc:creator>kmsysprog</dc:creator>
		<pubDate>Thu, 20 Jan 2011 21:40:54 +0000</pubDate>
		<guid isPermaLink="false">#comment-86867</guid>
		<description><![CDATA[yes,

We are planning on submitting a ftp from a mainframe passing the parm of the user profile to copy from and want it to create a new one that is like the one it copied from...

Is there a copy from one userprofile to another user profile command?]]></description>
		<content:encoded><![CDATA[<p>yes,</p>
<p>We are planning on submitting a ftp from a mainframe passing the parm of the user profile to copy from and want it to create a new one that is like the one it copied from&#8230;</p>
<p>Is there a copy from one userprofile to another user profile command?</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.012 seconds using memcached
Object Caching 394/397 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 20:49:53 -->