 




<?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: Clearing Library using SNDNETMSG</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 14:11:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: khan23</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-92023</link>
		<dc:creator>khan23</dc:creator>
		<pubDate>Tue, 10 May 2011 23:11:58 +0000</pubDate>
		<guid isPermaLink="false">#comment-92023</guid>
		<description><![CDATA[Hello again

I used RUNRMTCMD to clear libraries on the backup LPAR (IBG01). It worked.
Now think about the backup LPAR as MIMIX environment. Whatever I do on IBF02 which is primary I have to update in certain situation as the same on IBG01.
Let&#039;s assume I install an application on IBF02 but for some reason I have to clear and restore the libraries on IBG01. You guys help me how to clear libraries on backup LPAR but now I have to restore the same libraries from the most recent backup on IBG01 or backup LPAR. Is there a way to do it even if I have to do it one by one. This should be done using BRMS.
Regards

MK]]></description>
		<content:encoded><![CDATA[<p>Hello again</p>
<p>I used RUNRMTCMD to clear libraries on the backup LPAR (IBG01). It worked.<br />
Now think about the backup LPAR as MIMIX environment. Whatever I do on IBF02 which is primary I have to update in certain situation as the same on IBG01.<br />
Let&#8217;s assume I install an application on IBF02 but for some reason I have to clear and restore the libraries on IBG01. You guys help me how to clear libraries on backup LPAR but now I have to restore the same libraries from the most recent backup on IBG01 or backup LPAR. Is there a way to do it even if I have to do it one by one. This should be done using BRMS.<br />
Regards</p>
<p>MK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91541</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sat, 30 Apr 2011 02:23:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-91541</guid>
		<description><![CDATA[&lt;i&gt;But now because this is for MIMIX purposes and I have to restore all the database libraries immediatedly from the latest backup, can you tell me how I can do that.&lt;/i&gt;

The topic has gone far from the original question. I have to suggest that you start a new question with a new topic. Give more background on what you need to do next -- it&#039;s not clear yet.

A new topic might help bring others who have good ideas into the discussion. They might not pay attention under the old topic.

You can include a reference back to this question and even to an earlier one for background.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>But now because this is for MIMIX purposes and I have to restore all the database libraries immediatedly from the latest backup, can you tell me how I can do that.</i></p>
<p>The topic has gone far from the original question. I have to suggest that you start a new question with a new topic. Give more background on what you need to do next &#8212; it&#8217;s not clear yet.</p>
<p>A new topic might help bring others who have good ideas into the discussion. They might not pay attention under the old topic.</p>
<p>You can include a reference back to this question and even to an earlier one for background.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khan23</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91330</link>
		<dc:creator>khan23</dc:creator>
		<pubDate>Mon, 25 Apr 2011 22:37:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-91330</guid>
		<description><![CDATA[Hi everybody
Tom I used RUNRMTCMD and I restored a library into a &quot;TESTLIB&quot; on IBG01 then called the program from IBF02 (Primary LPAR). The labrary was succesfully cleared on IBG01. Then I put it into a simple CL program in my menu and tested and worked. Thank you. But now because this is for MIMIX purposes and I have to restore all the database libraries immediatedly from the latest backup, can you tell me how I can do that. I do that from BRMS command but one by one due to TAPE restriction. It is OK with the TAPE but can I write a program which will pick up the second desired library from the tape once it finishes the first one. I shall try myself also but I would like few pointers.
Thank you again,

Regards

MK



Thank]]></description>
		<content:encoded><![CDATA[<p>Hi everybody<br />
Tom I used RUNRMTCMD and I restored a library into a &#8220;TESTLIB&#8221; on IBG01 then called the program from IBF02 (Primary LPAR). The labrary was succesfully cleared on IBG01. Then I put it into a simple CL program in my menu and tested and worked. Thank you. But now because this is for MIMIX purposes and I have to restore all the database libraries immediatedly from the latest backup, can you tell me how I can do that. I do that from BRMS command but one by one due to TAPE restriction. It is OK with the TAPE but can I write a program which will pick up the second desired library from the tape once it finishes the first one. I shall try myself also but I would like few pointers.<br />
Thank you again,</p>
<p>Regards</p>
<p>MK</p>
<p>Thank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Featured Member: Wpoulin - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91186</link>
		<dc:creator>Featured Member: Wpoulin - ITKE Community Blog</dc:creator>
		<pubDate>Thu, 21 Apr 2011 06:18:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-91186</guid>
		<description><![CDATA[[...] Clearing Library using SNDNETMSG [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Clearing Library using SNDNETMSG [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91177</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 21 Apr 2011 01:10:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-91177</guid>
		<description><![CDATA[&lt;i&gt;...is using SBMRMTCMD. Probably i used this command. Now you are telling me RUNRMTCMD...&lt;/i&gt;

SBMRMTCMD or RUNRMTCMD -- either would be far easier than trying to use SNDNETMSG. Or you can use the rexec() API or you might call QCMDEXC as a stored procedure. I&#039;m was only saying that SNDNETMSG is more difficult than any of the methods that are intended for sending remote commands. SNDNETMSG is intended for sending messages, not commands.

Whatever method you use, it will take some preparation. Systems are not going to simply let remote commands come in for execution. If they did, we&#039;d all be a lot busier than we are now.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;is using SBMRMTCMD. Probably i used this command. Now you are telling me RUNRMTCMD&#8230;</i></p>
<p>SBMRMTCMD or RUNRMTCMD &#8212; either would be far easier than trying to use SNDNETMSG. Or you can use the rexec() API or you might call QCMDEXC as a stored procedure. I&#8217;m was only saying that SNDNETMSG is more difficult than any of the methods that are intended for sending remote commands. SNDNETMSG is intended for sending messages, not commands.</p>
<p>Whatever method you use, it will take some preparation. Systems are not going to simply let remote commands come in for execution. If they did, we&#8217;d all be a lot busier than we are now.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khan23</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91173</link>
		<dc:creator>khan23</dc:creator>
		<pubDate>Wed, 20 Apr 2011 23:20:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-91173</guid>
		<description><![CDATA[I do not exactly remember which command I used but i just checked my CL program which i am trying to create is using SBMRMTCMD. Probably i used this command. Now you are telling me RUNRMTCMD but I would like to go slowly and I&#039;ll get back to you if it works. I am sure I will be needing some help with DDM since I do not know anything about DDM.

regards

MK]]></description>
		<content:encoded><![CDATA[<p>I do not exactly remember which command I used but i just checked my CL program which i am trying to create is using SBMRMTCMD. Probably i used this command. Now you are telling me RUNRMTCMD but I would like to go slowly and I&#8217;ll get back to you if it works. I am sure I will be needing some help with DDM since I do not know anything about DDM.</p>
<p>regards</p>
<p>MK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91169</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 20 Apr 2011 22:19:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-91169</guid>
		<description><![CDATA[&lt;i&gt;...I remember I tried to send a command WRKACTJOB on IBG01 and it worked...&lt;/i&gt;

Since SNDNETMSG doesn&#039;t send commands, please show how you used it to send WRKACTJOB and had the command work. You could have had SNA Distribution Services set up, and had a user ID on the remote system to send a message to. Then you could have a never-ending program on the remote system to receive that user&#039;s messages. The program could interpret the text of a message as being a command and execute the command with QCMDEXC or a similar API, I suppose.

It&#039;d be much easier just to have the REXEC server running on the remote system. Then on your local system, you run the RUNRMTCMD command and specify the command you want in the CMD() parameter. For example:&lt;pre&gt;
RUNRMTCMD CMD( WRKACTJOB )
          RMTLOCNAME( &lt;RmtHost&gt; *IP)
          RMTUSER( &lt;RmtUsrID&gt; )
          RMTPWD( &lt;RmtPwd&gt; )&lt;/pre&gt;
Alternatively, you could use the *DDM server. Use the CRTDDMF command to create a DDM file to act as the pipe between the systems, then:&lt;pre&gt;
SBMRMTCMD CMD(WRKACTJOB) 
          DDMFILE( &lt;MyDDMF&gt; )&lt;/pre&gt;
If you are running DDM as a TCP/IP server, you&#039;ll need to use the ADDSVRAUTE command to set a user and password for SERVER(QDDMSERVER). (The *DDM server should require passwords at the least.)

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;I remember I tried to send a command WRKACTJOB on IBG01 and it worked&#8230;</i></p>
<p>Since SNDNETMSG doesn&#8217;t send commands, please show how you used it to send WRKACTJOB and had the command work. You could have had SNA Distribution Services set up, and had a user ID on the remote system to send a message to. Then you could have a never-ending program on the remote system to receive that user&#8217;s messages. The program could interpret the text of a message as being a command and execute the command with QCMDEXC or a similar API, I suppose.</p>
<p>It&#8217;d be much easier just to have the REXEC server running on the remote system. Then on your local system, you run the RUNRMTCMD command and specify the command you want in the CMD() parameter. For example:
<pre>
RUNRMTCMD CMD( WRKACTJOB )
          RMTLOCNAME( &lt;RmtHost&gt; *IP)
          RMTUSER( &lt;RmtUsrID&gt; )
          RMTPWD( &lt;RmtPwd&gt; )</pre>
<p>Alternatively, you could use the *DDM server. Use the CRTDDMF command to create a DDM file to act as the pipe between the systems, then:
<pre>
SBMRMTCMD CMD(WRKACTJOB) 
          DDMFILE( &lt;MyDDMF&gt; )</pre>
<p>If you are running DDM as a TCP/IP server, you&#8217;ll need to use the ADDSVRAUTE command to set a user and password for SERVER(QDDMSERVER). (The *DDM server should require passwords at the least.)</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khan23</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91162</link>
		<dc:creator>khan23</dc:creator>
		<pubDate>Wed, 20 Apr 2011 20:37:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-91162</guid>
		<description><![CDATA[Hello
I am also sure I can do better with this command because I remember I tried to send a command  WRKACTJOB on IBG01 and it worked even though I could not kill this command as it stayed their for hrs. Ok if you think this one is better then please help me how to use this command. I also want a simmple solution as I do not want to make a mistake on a very busy system. Here is what I want.
My menu is called ABCMENU on primary LPAR.
One option is,
1: Clr lib on IBG01.
This is for MIMIX purpose.
Now can you tell me how I can use this command in this menu.  SBMRMTCMD

regards

MK]]></description>
		<content:encoded><![CDATA[<p>Hello<br />
I am also sure I can do better with this command because I remember I tried to send a command  WRKACTJOB on IBG01 and it worked even though I could not kill this command as it stayed their for hrs. Ok if you think this one is better then please help me how to use this command. I also want a simmple solution as I do not want to make a mistake on a very busy system. Here is what I want.<br />
My menu is called ABCMENU on primary LPAR.<br />
One option is,<br />
1: Clr lib on IBG01.<br />
This is for MIMIX purpose.<br />
Now can you tell me how I can use this command in this menu.  SBMRMTCMD</p>
<p>regards</p>
<p>MK</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91124</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 20 Apr 2011 00:55:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-91124</guid>
		<description><![CDATA[As Bill Poulin wrote, you use the WRKDIRE command to Work with Directory Entries.

But I&#039;m not at all clear why you would think that SNDNETMSG will help you. Anything that you might do with SNDNETMSG could be done far easier with SBMRMTCMD or other means.

Tom]]></description>
		<content:encoded><![CDATA[<p>As Bill Poulin wrote, you use the WRKDIRE command to Work with Directory Entries.</p>
<p>But I&#8217;m not at all clear why you would think that SNDNETMSG will help you. Anything that you might do with SNDNETMSG could be done far easier with SBMRMTCMD or other means.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/clearing-lib-using-sndnetmsg/#comment-91106</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 19 Apr 2011 18:18:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-91106</guid>
		<description><![CDATA[The user who sends the message must be in the distribution directory on the sending system. The system won&#039;t send net messages from users who don&#039;t exist (in the directory).

The user who receives the message must be in the distribution directory of the receiving system. The system won&#039;t accept messages for users who don&#039;t exist (in the directory).

And distribution services need to be configured on both systems before distributions can be routed between them.

Tom]]></description>
		<content:encoded><![CDATA[<p>The user who sends the message must be in the distribution directory on the sending system. The system won&#8217;t send net messages from users who don&#8217;t exist (in the directory).</p>
<p>The user who receives the message must be in the distribution directory of the receiving system. The system won&#8217;t accept messages for users who don&#8217;t exist (in the directory).</p>
<p>And distribution services need to be configured on both systems before distributions can be routed between them.</p>
<p>Tom</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.016 seconds using memcached
Object Caching 394/397 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-18 16:58:46 -->