﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-深渊野鱼</title><link>http://www.cnblogs.com/wildfish/</link><description>
Blog主题：.net 访问as400 iSeries方案,iSeries编译工具,db2/400性能优化，Oracle胡乱入门

心  态  ：不怨天，不尤人，如果我过得不开心，肯定有原因。好心态第一
原  则  ：做一个让别人尊敬的中国人</description><language>zh-cn</language><lastBuildDate>Mon, 08 Sep 2008 03:02:33 GMT</lastBuildDate><pubDate>Mon, 08 Sep 2008 03:02:33 GMT</pubDate><ttl>60</ttl><item><title>OracleClient之诡异现象</title><link>http://www.cnblogs.com/wildfish/archive/2008/09/02/1282158.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Tue, 02 Sep 2008 08:57:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/09/02/1282158.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1282158.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/09/02/1282158.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1282158.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1282158.html</trackback:ping><description><![CDATA[对于SQL语句<br>select nvl(to_char(floor(avg((apfndtm-apdldtm)*24*3600))),0) from emflib.eqapypf&nbsp; <br>&nbsp;where apydat &gt;= 20080902 and apydat &lt;= 20080902 and apcfmfg ='C' and apapyfg='A' and&nbsp; apytim &gt;= 090000 and apytim &lt;= 173000 AND apdeal &gt;= 0 and apntg3 = 0 and apctg4='FANGXN'<br><br>如果使用参数化的<br>速度慢<br>select nvl(to_char(floor(avg((apfndtm-apdldtm)*24*3600))),0) from emflib.eqapypf&nbsp; <br>&nbsp;where apydat &gt;= :apydat1 and apydat &lt;= :apydat2 and apcfmfg =:apcfmfg and apapyfg=:apapyfg and&nbsp; apytim &gt;= :apytim1<br>&nbsp;and apytim &lt;= :apytim2 AND apdeal &gt;= :apdeal and apntg3 = :apntg3 and apctg4=:apctg4 <br><br>如下这条，少了一个条件，速度倒还可以<br>select nvl(to_char(floor(avg((apfndtm-apdldtm)*24*3600))),0) from emflib.eqapypf&nbsp; <br>
&nbsp;where apydat &gt;= :apydat1 and apydat &lt;= :apydat2 and apcfmfg =:apcfmfg and apapyfg=:apapyfg and&nbsp; apytim &gt;= :apytim1<br>
&nbsp;and apytim &lt;= :apytim2 AND apdeal &gt;= :apdeal and apntg3 = :apntg3<br><br>如果把SQL改成<br>select nvl(to_char(floor(avg((apfndtm-apdldtm)*24*3600))),0) from emflib.eqapypf&nbsp; <br>

&nbsp;where apydat &gt;= :apydat1 and apydat &lt;= :apydat2 and apcfmfg =:apcfmfg and apapyfg=:apapyfg and&nbsp; apytim &gt;= :apytim1<br>

&nbsp;and apytim &lt;= :apytim2 AND apdeal &gt;= :apdeal and apntg3 = :apntg3&nbsp; and apctg4='FANGXN'<br>那么速度也是暴快，真是汗，有些搞不明白为何如此。数据分布<br>&nbsp;&nbsp;&nbsp; apctg4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; count(*)<br>1&nbsp;&nbsp;&nbsp; HUANGJF&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 106<br>2&nbsp;&nbsp;&nbsp; ZHANGYJ&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 117<br>3&nbsp;&nbsp;&nbsp; LINLIJU&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 2<br>4&nbsp;&nbsp;&nbsp; WEISQ&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 53<br>5&nbsp;&nbsp;&nbsp; ZHANGDC&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 28<br>6&nbsp;&nbsp;&nbsp; FANGXN&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 217<br>7&nbsp;&nbsp;&nbsp; LDWANGL&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 166<br>8&nbsp;&nbsp;&nbsp; LINYZ&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 166<br>9&nbsp;&nbsp;&nbsp; SHIXY&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 184<br>10&nbsp;&nbsp;&nbsp; SHAONH&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 163<br>11&nbsp;&nbsp;&nbsp; LIYY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 160<br>12&nbsp;&nbsp;&nbsp; LDCHENWF&nbsp; &nbsp;&nbsp;&nbsp; 9<br><br><br>根据经验估计，虽然是全部的SQL参数，但是SQL访问计划可能因为数据的分布或者SQL的统计信息的不及时，倒是ORACLE使用全表扫描，而使用直接SQL则可以使其又归回正确的轨道。不过看来，额滴ORACLE功底还是不够深，如果有人晓得，烦请告知原因，实在是没有精力挖那么深啊<br><img src ="http://www.cnblogs.com/wildfish/aggbug/1282158.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42142/" target="_blank">[新闻]Google申请“海上数据中心”专利 可能付诸行动</a>]]></description></item><item><title>虚拟主机权限之log4net</title><link>http://www.cnblogs.com/wildfish/archive/2008/08/07/1262966.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Thu, 07 Aug 2008 07:22:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/08/07/1262966.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1262966.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/08/07/1262966.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1262966.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1262966.html</trackback:ping><description><![CDATA[因为一个客户要把虚拟主机转成另外一种类型 ，结果需要转移服务器，迁移到另外一台机器，log4net死活生成不了日志，并且sqlite的写入一直是失败的。后来查了下，肯定是权限缺失。比如asp.net无法写入，后来让虚拟主机的技术支持把权限设置成完全，才彻底搞定。不过他们公司有一台服务器死活就是不行，这个也够汗的，或许那台服务器死活就是要和我作对。。。<br><br>另外不晓得为什么公司服务器最近权限更改后，log4net日志怎么都没法子写入.........<br><img src ="http://www.cnblogs.com/wildfish/aggbug/1262966.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42141/" target="_blank">[新闻]用Google Earth实时追踪人造卫星</a>]]></description></item><item><title>Norton我错怪了你啊~~</title><link>http://www.cnblogs.com/wildfish/archive/2008/07/22/1249076.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Tue, 22 Jul 2008 14:32:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/07/22/1249076.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1249076.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/07/22/1249076.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1249076.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1249076.html</trackback:ping><description><![CDATA[<DIV>这几天新装的系统，把一应齐全都给装了，norton 360safe U盾 开发软件，还有一堆乱七八糟的软件。</DIV>
<DIV>貌似没有问题的情况下，做了一个ghost.</DIV>
<DIV>没想到这两天，发现输入东西的时候，当前窗口的焦点老是丢失，哇咔咔，以前曾经碰到问题是由于杀毒软件引起的，</DIV>
<DIV>于是乎决定试着把罪怪到norton.不料删除的时候，建欣说他好像也遇见过，似乎是一个叫hhukcert的进程引起的，于是咔嚓了那个进程，没问题了。5555，norton已经没法子停止删除。哎，只能再次装了，再次更新病毒库。消耗了一个小时。</DIV>
<DIV>这个罪魁祸首的hhukcert就是工行U盾的华虹的驱动带的，想起来一个堂堂的中国工行下的人做出来的程序居然没测试通过就发布，极大的损害了我们对工行的信任。</DIV>
<DIV>于是乎，系统重启后，把hhukcert的服务给关了，下次要用U盾的时候再打开即可~~。</DIV>
<DIV>工商银行做出来也不保障，失败啊，失败啊。</DIV><img src ="http://www.cnblogs.com/wildfish/aggbug/1249076.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42140/" target="_blank">[新闻]传IBM将以35亿美元至40亿美元收购北电</a>]]></description></item><item><title>两个iFrame同时打开</title><link>http://www.cnblogs.com/wildfish/archive/2008/05/06/1185134.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Tue, 06 May 2008 06:48:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/05/06/1185134.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1185134.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/05/06/1185134.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1185134.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1185134.html</trackback:ping><description><![CDATA[iframe是一个一个的打开<BR>有时候客户有不同的要求，就必须得用iframe<BR>但是iframe的打开速度实在是那个慢啊，后来搜搜搜，终于发现终极之道－javascipt在body 的onload的时候指定frame的location，发现速度快的不是一般的多．<BR>for example:<BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #008080">&nbsp;1</SPAN><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;!</SPAN><SPAN style="COLOR: #000000">DOCTYPE&nbsp;html&nbsp;PUBLIC&nbsp;</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">-//W3C//DTD&nbsp;XHTML&nbsp;1.0&nbsp;Transitional//EN</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">html&nbsp;xmlns</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">http://www.w3.org/1999/xhtml</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;3</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">head</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">script&nbsp;language</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">javascript</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;type</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">text/javascript</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;5</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function&nbsp;bodyLoad()<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;6</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_267_360_Open_Image onclick="this.style.display='none'; document.getElementById('Codehighlighter1_267_360_Open_Text').style.display='none'; document.getElementById('Codehighlighter1_267_360_Closed_Image').style.display='inline'; document.getElementById('Codehighlighter1_267_360_Closed_Text').style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_267_360_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_267_360_Closed_Text').style.display='none'; document.getElementById('Codehighlighter1_267_360_Open_Image').style.display='inline'; document.getElementById('Codehighlighter1_267_360_Open_Text').style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_267_360_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_267_360_Open_Text><SPAN style="COLOR: #000000">{<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;7</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mp3.location&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">mp3.htm</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;8</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myblog.location&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">Default.aspx</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">;<BR></SPAN><SPAN style="COLOR: #008080">&nbsp;9</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">10</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">11</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">script</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">12</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">head</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">14</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">body&nbsp;onload</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">bodyLoad();</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">15</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">iframe&nbsp;border</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;name</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">mp3</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;scrolling</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">no</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;marginwidth</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;framespacing</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;marginheight</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">16</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;frameborder</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;noresize&nbsp;width</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">100%</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;height</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">77px</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;vspale</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;allowtransparency</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">17</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">iframe</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">18</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">iframe&nbsp;border</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;name</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">myblog</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;scrolling</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">no</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;marginwidth</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;framespacing</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">19</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;marginheight</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;frameborder</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;noresize&nbsp;width</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">100%</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;height</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">1200</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;vspale</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #800000">0</SPAN><SPAN style="COLOR: #800000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">20</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;allowtransparency</SPAN><SPAN style="COLOR: #000000">&gt;&lt;/</SPAN><SPAN style="COLOR: #000000">iframe</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">21</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">body</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">22</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">html</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></DIV><img src ="http://www.cnblogs.com/wildfish/aggbug/1185134.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42139/" target="_blank">[新闻]Google卫星已经开始工作</a>]]></description></item><item><title> 如何向远程系统提交命令？</title><link>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032068.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Wed, 09 Jan 2008 07:14:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032068.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1032068.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032068.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1032068.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1032068.html</trackback:ping><description><![CDATA[&nbsp;如何向远程系统提交命令？<br>解答 我们知道，在分布式数据处理的环境下，对远程系统上文件内容的操作可以有很多方式，但是如果想简单地在本地对远程系统进行文件管理方面的操作，则可以由一条命令实现：SBMRMTCMD。现在介绍该命令的用法：<br><br>1. 首先确保双方系统上的分布式处理服务已启动：<br>STRTCPSVR SERVER（*DDM）<br><br>2. 为目标系统创建DDM文件：<br>CRTDDMF FILE(Lib/TESTAAA) RMTFILE(Lib/AAA) RMTLOCNAME(s102rncm *IP）<br>其中：TESTAAA是DDM文件名； AAA是远程系统s102rncm上要操作的文件的名称。<br><br>3. 在本地系统上运行文件管理方面的命令，例如：撤消用户USERBBB对文件AAA的所有权限：<br>SBMRMTCMD CMD('RVKOBJAUT OBJ(LIB/AAA) OBJTYPE(*FILE) USER(USERBBB) AUT(*ALL)') DDMFILE(LIB/TESTAAA)<br>这样，我们就能很方便地在本地系统上，实现远程系统上文件操作方面的管理。 <br><img src ="http://www.cnblogs.com/wildfish/aggbug/1032068.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42138/" target="_blank">[新闻]Chrome又曝漏洞 “保存为”功能“引狼入室”</a>]]></description></item><item><title> RUNRMTCMD命令使用</title><link>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032067.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Wed, 09 Jan 2008 07:13:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032067.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1032067.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032067.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1032067.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1032067.html</trackback:ping><description><![CDATA[&nbsp;RUNRMTCMD命令使用<br>解答 能够向client access发送命令的系统包括AS/400，VM，AIX以及其他版本的UNIX。<br><br>发送的命令应当预先在PC的DOS窗口运行，如果有输出，在把输出内容传送到OS/400并产生相应的spool file（QSYSPRT，使用的print file为QSYSPRT)；如果命令本身并不产生输出则也会产生一个spool file,内容是无输出。<br><br>从OS/400使用RUNRMTCMD命令性client access发送远程命令。PC端可以同时处理多个命令请求，按接收的顺序运行这些命令。<br><br>入局远程命令的目的是运行非交互式命令和程序。交互式命令或WINDOWS程序可以运行，并且看起来好象已经从请求系统运行成功，但可能仍在PC运行并等待与用户进行人机对话。<br><br>入局远程命令可以使用TCP/IP和SNA，不适用于IPX。<br><br>CWBRXD.EXE 用于使用TCP/IP通信时启动入局远程命令精灵程序。<br>CWBRXDSD.EXE 用于使用TCP/IP通信时停止入局远程命令精灵程序。<br>AREXECDW.EXE 用于象PCOM那样的WINCPIC兼容栈<br>AREXECDN.EXE 用于NetSoft栈<br><br>语法：<br>RUNRMTCMD CMD（’pc 命令‘）<br>----RMTLOCNAME('xxx.xxx.xxx.xxx' *IP)<br>----RMTUSER(remote user-id)<br>----RMTPWD(xxxxxx)<br>----CCSID(pc ccsid)<br><br>其中RMTUSER必须时PC上设定的有效用户[注1]。<br>如果用户和密码有小写，则必须用单引号'，否则全部转换成大写处理（NT是大小写敏感的）。<br>CCSID必须和PC端操作系统的语言相匹配，例如中文Win98、中文NT为1381，而英文Win98、英文NT为437。（用CHCP这个DOS命令看到的PC语言代码不十分可靠）<br><br>APPC格式：<br>RUNRMTCMD CMD（’pc 命令')<br>----RMTLOCNAME(appn.系统名 *SNA)<br>----RMTUSER(远程用户 ID）<br>----RMTPWD（‘口令’）<br>----CCSID（pc ccsid)<br><br>例：<br>RUNRMTCMD CMD(‘dir c:\/w') RMTLOCNAME('4.17.19.95' *IP) CCSID(437)<br>要求PC使用英文Win98，并且不需要用户和口令。<br><br>RUNRMTCMD CMD('copy c:\config.sys c:\config.bak') RMTLOCNAME('7.19.19.93' *IP)<br>RMTUSER(MOKCK) RMTPWD('ibmas400') CCSID(437)<br>spool file结果为’1 file copied'.<br><br>ADDJOBSCDE JOB(MYJOBD) CMD(RUNRMTCMD CMD("c:\mydir\daily.bat')<br>RMTLOCNAME(APPN.PC01 *SNA)) FRQ(*WEEKLY) SCDDAY(*ALL)<br>SCDTIME(180000)<br><br>RUNRMTCMD CMD('c:\progra~1\IBM\RTOPCB c:\MYDATA\MYTFR.TTO')<br>RMTLOCNAME(YOURNET.PC01 *SNA) RMTUSER(MOKCK)<br><br>RUNRMTCMD CMD('c:\windows\calc.exe') RMTLOCNAME(MYPC *IP) CCSID(437)<br>PC端的计算器会被激活，同时400端出现pending(等待），直到把PC端计算器关闭，400端作业才被释放。<br><br>[注1]<br>CHGPRTF FILE（QSYSPRT） IGCDTA（*YES）<br>在中文DBCS环境下运行RUNRMTCMD命令时，必须使得spool file的打印摸板QSYSPRT支持DBCS。<br>[注2]<br>在NT上运行RUNRMTCMD时必须指定要运行程序的全称路径，默认路径是C:\<br><br>用户设定：<br>在Win98端<br><br>默认情况下PC端没有任何关于‘入局远程命令的’设置。单击‘添加’<br><br>系统和用户支持*通配符。<br>系统名应当和DSPNETA中指定的系统名相同，用户则可以任意设置。<br>第2步：<br><br>如果不使用WIN95口令高速缓冲，则必须指定client access入局远程命令。<br><br>在NT中把登录client access入局远程命令的管理全部委托给NT的安全管理程序来管理，但要求有效的用户名不能超过10个字符。<br><br>启动入局远程命令：<br>Win98平台运行 c:\windows\cwbrxd.exe<br>NT把入局远程命令放到[control]==&gt;[service]中，使用start即可激活。<br><br>停止入局远程命令：<br>Win98平台运行 c:\windows\cwbrxdsd.exe<br>NT把入局远程命令放到[control]==&gt;[service]中，使用stop即可停止。<br><br><br>失败原因检查：<br><br>1、执行RUNRMTCMD调用NT端应用，返回‘无效的密码或用户’<br>检查该用户在NT上是否存在。<br>RUMRMTCMD中该用户的password是否大小写正确，是否使用了单引号。<br>在Win98上最好使用system = *,user=*的基本配置<br><br>2、RUNRMTCMD返回‘客户端没有启动’<br>检查RUNRMTCMD在PC端的server精灵程序是否已经启动。<br><br>3、SNA，anynet也可以使用RUNRMTCMD<br><br>4、如果NT支持GUEST 用户而且没有口令，则RUNRMTCMD时可以设置PWD（*NONE）。<br><br>5、在中国5250键盘的仿真中，\被解析成Y（人民币符号），无法通过客户化键盘的方式进行<br>修正，但在VT100的模式下可以不受影响。 <br><img src ="http://www.cnblogs.com/wildfish/aggbug/1032067.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42138/" target="_blank">[新闻]Chrome又曝漏洞 “保存为”功能“引狼入室”</a>]]></description></item><item><title> OS/400与UNIX功能相似的部分命令</title><link>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032058.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Wed, 09 Jan 2008 07:08:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032058.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1032058.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032058.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1032058.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1032058.html</trackback:ping><description><![CDATA[&nbsp;OS/400与UNIX功能相似的部分命令<br>解答 对于大多数SAP的用户，比较习惯UNIX及WINDOWS命令，而对于OS/400的命令缺少使用经验，这里结合SAP系统经常用到的命令，比较OS/400与UNIX功能相似的命令及其格式。<br><br>1.与文件系统有关的命令：<br><br>unix命令 对应的AS/400的命令<br>--------------------------------------------<br>cd ------CD (后跟路径名用单引号括起来）<br>ls ------WRKLNK<br>ls -l ---WRKLNK 命令，再用8，9或12选择项<br>more ----DSPSTMF<br>tail ----DSPSTMF 并按F17功能键<br>vi ------EDTF<br>cp ------CPY (拷贝的目标文件必须不存在）<br>mv ------MOV (目标文件必须不存在）<br>ren -----REN<br>rm ------DEL 删除文件；RD 删除目录<br>chgmod --CHUAUT<br>mount/ln ADDLNK<br>bdf -----WRKSYSSTS 或WRKDSKSTS查看存储空间<br><br>2.与进程有关的命令：<br><br>unix命令 对应的AS/400的命令<br>--------------------------------------------<br>ps ------WRKACTJOB 用来查看系统上所有的作业，WRKUSRJOB用来查看某个用户的作业;WRKSMBJOB *JOB 查看用户提交的所有作业<br>kill -9 -ENDJOB OPTION(*IMMED) LOGLMT(0)<br>执行程序 -CALL PGM(程序) PARM('参数')<br>程序&amp; ---SMBJOB<br>exit ----SIGNOFF ENDCNN(*YES)<br><br>3.与用户有关的命令：<br><br>passwd - CHGPWD用来修改自己的口令；CHGUSRPRF用来修改指定用户的口令<br><br>4.其它命令：<br>ftp ------FTP<br>telnet ---TELNET<br>ping -----PING<br>sqlplus --strsql 或SQLUTIL <br><img src ="http://www.cnblogs.com/wildfish/aggbug/1032058.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42138/" target="_blank">[新闻]Chrome又曝漏洞 “保存为”功能“引狼入室”</a>]]></description></item><item><title> 在5250上面实现复制粘贴</title><link>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032053.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Wed, 09 Jan 2008 07:07:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032053.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1032053.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032053.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1032053.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1032053.html</trackback:ping><description><![CDATA[<h4>
      编辑－－－键盘－－－自定义<br>　　　　　　　　　　定制－－－点Ｃ－－功能：编辑复制　－－〉到ＣＴＲＬ<br>　　　　　　　　　　　　　　　点Ｖ－－功能：编辑粘贴　－－〉到ＣＴＲＬ<br>保存，然后指定键盘的方式</h4><img src ="http://www.cnblogs.com/wildfish/aggbug/1032053.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42138/" target="_blank">[新闻]Chrome又曝漏洞 “保存为”功能“引狼入室”</a>]]></description></item><item><title> 关于文件的ShareODP和USROPN</title><link>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032056.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Wed, 09 Jan 2008 07:07:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032056.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1032056.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032056.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1032056.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1032056.html</trackback:ping><description><![CDATA[&nbsp;1．ShareODP:<br>在PF或者LF编译的时候，有个SHARE（Share Open Data Path）的参数，控制该文件是否共享其打开路径。<br>如果指定SHARE为*NO的话，程序在每次打开一个文件的时候，都会为该文件建立一次访问路径；如果指定SHARE为*YES的话，程序在第一次打开该文件的时候，系统建立该文件的访问路径，在同一个ActiveGroup中再打开该文件时，就不再重新建立该文件的访问路径，而是共享使用之前建立的路径，从而提高了程序运行的速度。<br>一般在编译的时候该参数设置为*NO，即不是共享打开。在需要共享打开的时候，使用OVRDBF对该参数进行更改。<br><br>使用ShareODP需要注意的一些东西：<br>1）.由于在不同的ActiveGroup之间不能ShareODP，所以如果几个程序在编译的时候没有加入到同一个ActivationGroup中，ShareODP就不会有什么效果。<br>2）. 如果PGMA打开FILEA并定位到了第一条记录，然后PGMA调用PGMB；PGMB也打开了FILEA并直接读FILEA，将读到第二条记录； PGMB运行完后PGMA又继续读FILEA下一条记录，此时它读到的将是第三条记录。而如果没有ShareODP的话，PGMA两次读到的会是第一条和第二条记录，PGMB读到的会是第一条记录。<br><br>ActiveGroup:<br>在CRTPGM 的时候，有个参数ACTGRP(ActivationGroup)，控制该PGM在运行的时候属于哪个ActiveGroup。如果指定*NEW，则该 PGM会重新建立一个ActiveGroup；如果指定为*CALLER，则该PGM会与调用它的PGM使用同一个ActiveGroup。<br><br>2．UserOpen:<br>RPG程序在使用F表引用外部文件的时候，有一个KeyWords是USROPN。<br>在没有使用USROPN的时候：系统会在每次运行该程序的时候自动打开所引用的文件；一般可以通过设置*LR为*ON来自动关闭文件，但是如果是SubProcedure，系统不会自动关闭所打开的文件。<br>如果指定了USROPN：则系统不再控制文件的打开与关闭，由用户手工进行文件的OPEN与CLOSE；如果一个模块已经打开还没有关闭文件的情况下，该模块将不能再对该文件做打开的操作。<br>USROPN比系统自动打开文件要慢一些。在打开同一个文件5000次的情况下，USROPN使用了400毫秒，系统自动打开只用了4毫秒。<br><br>使用UserOpen需要注意的一些东西：<br>1）.在OPEN之前最好使用 %OPEN(FileName) 检查要打开的文件是否已经打开，如果没有打开再执行OPEN的操作。<br>2）. CLOSE *ALL的命令可以关闭本模块打开的所有文件。如果一个文件没有指定为USROPN，Close *ALL也将关闭该文件。并且如果该模块是不参与RPG Cycle的程序，如一个SubProcedure，则在第二次运行本模块的时候，该文件将不会再自动打开，此时如果再对该文件做操作，就会出错。所以最好指定文件名来CLOSE，并注意只关闭USROPN的文件。 <br><img src ="http://www.cnblogs.com/wildfish/aggbug/1032056.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42138/" target="_blank">[新闻]Chrome又曝漏洞 “保存为”功能“引狼入室”</a>]]></description></item><item><title> 如何以某一关键字快速搜索AS/400 中的Message file</title><link>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032051.html</link><dc:creator>深渊野鱼</dc:creator><author>深渊野鱼</author><pubDate>Wed, 09 Jan 2008 07:06:00 GMT</pubDate><guid>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032051.html</guid><wfw:comment>http://www.cnblogs.com/wildfish/comments/1032051.html</wfw:comment><comments>http://www.cnblogs.com/wildfish/archive/2008/01/09/1032051.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/wildfish/comments/commentRss/1032051.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/wildfish/services/trackbacks/1032051.html</trackback:ping><description><![CDATA[&nbsp;用DSPMSGD命令可以查看某个已知某一个的Message ID的内容,但是它不能按照某个关键字查看一个message file中的所有message id,如何按某个关键字搜索整个Message file中的所有message id 呢？<br>解答 1.在AS/400命令行上输入命令：<br>DSPMSGD RANGE(*ALL) MSGF(QSYS/QCPFMSG) DETAIL(*BASIC) OUTPUT(*PRINT)<br>参数说明：<br>RANGE(*ALL): 列出所有的message id。<br><br>MSGF(QSYS/QCPFMSG): 查看QSYS目录下的QCPFMSG message file。<br><br>DETAIL(*BASIC)： DETAIL参数有两个选项，*FULL -&gt; 列出message的所有信息；<br>*BASIC -&gt; 仅列出message id,message的严重级别和message描述。<br><br>OUTPUT(*PRINT)： 将命令的执行结果生成一个Spool file。<br><br>2.命令执行完成之后，生成Spool file:QPMSGD。<br><br>3.在AS/400命令行上执行命令：<br>-----------WRKSPLF<br><br>4.在QPMSGD文件前输入 5（display），打开这个文件。<br><br>5.在“Find”处输入要搜索的关键字，如：艘索“password”关键字,按功能键F16,即可搜索所有Message file的内容。如下图所示：<br><br>File . . . . . : -QPMSGD -----------Page/Line --21/33<br>Control . . . . . ------------------Columns ----1 - 75<br>Find . . . . . . -password<br>*...+...1...+...2...+...3...+...4...+...5...+...6...+...7...+<br>CPC1E75 -0 -Some system options not changed. Some changed and require I<br>CPC1E76 -0 -Some passwords not changed. Try again later.<br>CPC1E77 -0 -Passwords successfully changed.<br>CPC1E78 -0 -System options successfully changed; IPL required.<br>CPC1E79 -0 -System options successfully changed.<br>CPC1115 50 -CPC1115 Class &amp;1 in library &amp;2 not found.<br>CPC1116 50 -CPC1116 Program &amp;1 in library &amp;2 not found.<br>CPC1117 50 -CPC1117 Routing data does not match routing entry.<br>CPC1118 50 -CPC1118 Maximum number active jobs for routing entry reache<br>CPC1119 50 -CPC1119 No authority to class &amp;1 in &amp;2.<br>CPC1120 50 -CPC1120 No authority to program &amp;1 in &amp;2.<br>CPC1121 50 -CPC1121 No storage requested for storage pool.<br>CPC1122 50 -CPC1122 Function check occurred while trying to start job.<br>CPC1123 60 -Subsystem &amp;1 cannot start prestart job &amp;2.<br>CPC1124 50 -ENDJOBABN issued against job &amp;3/&amp;2/&amp;1 by user &amp;4.<br>CPC1125 50 -Job &amp;3/&amp;2/&amp;1 was ended by user &amp;4.<br>--------------------------------------------------------------------More. <br><img src ="http://www.cnblogs.com/wildfish/aggbug/1032051.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42138/" target="_blank">[新闻]Chrome又曝漏洞 “保存为”功能“引狼入室”</a>]]></description></item></channel></rss>