﻿<?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>BlogJava-The NoteBook of EricKong-随笔分类-AS400</title><link>http://www.blogjava.net/jjshcc/category/51806.html</link><description>桑巴葡语翻译工作室是广州市最专业葡萄牙语翻译机构-www.puyufanyi.com-欢迎寻找Java,As400,Mainframe的猎头eric_cc#qq.ccom(把#换成@)</description><language>zh-cn</language><lastBuildDate>Mon, 11 Nov 2013 06:45:19 GMT</lastBuildDate><pubDate>Mon, 11 Nov 2013 06:45:19 GMT</pubDate><ttl>60</ttl><item><title>Telnet或者PCOM软件显示登陆界面太慢</title><link>http://www.blogjava.net/jjshcc/archive/2013/11/11/406212.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Mon, 11 Nov 2013 06:29:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/11/11/406212.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/406212.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/11/11/406212.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/406212.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/406212.html</trackback:ping><description><![CDATA[<div><span style="font-family: Arial, 宋体, Helvetica, sans-serif, Verdana; line-height: 22px; font-size: 12px; color: #666666; "><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><strong><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">故障现象：</span></span></strong></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 宋体; ">&nbsp;</span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 宋体; ">Telnet</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 宋体; ">或者<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Pcom</span>软件显示登陆界面太慢</span></span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 宋体; ">&nbsp;</span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; "><strong><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 宋体; ">适用系统版本：</span></strong><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 宋体; ">&nbsp;V4R4<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;&nbsp;</span>V4R5</span></span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: 宋体; ">&nbsp;</span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">对于<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">V4R4</span>或者<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">V4R5</span>系统，我们通过<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">telnet</span>客户端登陆<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">AS/400</span>的时候，经常会很久才能显示<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">signon</span>登陆界面，但是一旦<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">signon</span>界面出来后，接着的交互式操作相应速度都很正常。</span></span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; ">&nbsp;<br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; ">负责<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Telnet</span>登陆的初始程序是<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">QTVDEVICE,&nbsp;</span>该作业的默认运行级别是<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">50</span>。虽然该作业在绝大多数系统上运行的挺好，但是，在一些拥有大量的批处理左右的系统中，作业<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">QTVDEVICE</span>会同批处理作业去抢占<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">CPU</span>资源，从而影响了<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">signon</span>屏幕的相应。</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12pt; color: black; font-family: 宋体; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">解决这个问题的方法，通常是增加<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">QTVDEVICE&nbsp;</span>作业的运行优先级到<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">20</span>。</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br /><br /></span></span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">如果你打了补丁<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;SF62558 (V4R4)&nbsp;</span>或者<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">&nbsp;SF62559 (V4R5)&nbsp;</span>，或者更高的补丁版本，这些补丁会调整该作业的运行优先级到<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">20</span>。</span></span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; ">&nbsp;</span></p><p style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0pt; margin-left: 0cm; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">使用下面的步骤命令来调整运行优先级路由条目到<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">20</span>：</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br /><br /><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">ADDRTGE SBSD(QSYS/QSYSWRK) SEQNBR(2517) CMPVAL('TELNETD' 1)<br />PGM(QSYS/QCMD) CLS(QSYS/QSYSCLS20)<br />-<br /></span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">如果<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">PTF</span>没有应用，使用下面的命令改变优先级路由条目到<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">20</span>：</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br /><br /><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">ADDRTGE SBSD(QSYS/QSYSWRK) SEQNBR(2517) CMPVAL('QCMDI' 1)<br />PGM(QSYS/QCMD) CLS(QSYS/QSYSCLS20)<br />-<br /></span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">注意<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">: Telnet</span>服务和<span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">QTVDEVICE</span>作业必须结束，系统重启后，优先级才能改变。</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><br /></span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12pt; color: black; font-family: 宋体; ">-</span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12pt; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">Additional Information:</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">-</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">Previous to the PTFs being applied the QTVDEVICE jobs are submitted with a compare value of QCMDI. &nbsp;If the performance issues occurred, the circumvention noted above was to add a Routing Entry with a compare value for QCMDI that will reference a Class with a higher run priority. &nbsp;A drawback to this is that other jobs, the Pass-through server for example, are submitted to the QSYSWRK subsystem with a compare value of QCMDI. &nbsp;So the QCMDI Routing Entry affected more than just Telnet.</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">-</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">Mindful of the potential side effects of the first circumvention, a unique compare value of TELNETD was added to the QTVDEVICE job submission via PTF. &nbsp;This allows the run priority of the Telnet QTVDEVICE jobs to be changed without affecting any other programs. &nbsp;A real consideration with these PTFs, which are on the current Cumulative Packages, is that if you previously had added the QCMDI Routing Entry to address this issue, and the new Routing Entry is not added, the same performance lags that were experienced before will reappear.</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">-</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">If you had previously added the QCMDI Routing Entry at sequence number 2517, the recommendation is to remove that Routing Entry and add the one for TELNETD at sequence number 2517. &nbsp;Because in future releases of OS/400 the install of TCP/IP Connectivity Utilities will add the Routing Entry for TELNETD at sequence number 2517. &nbsp;If you still want jobs that are submitted to the QSYSWRK subsystem with a compare value of QCMDI to run at a priority other than 50, then add that Routing Entry back at any</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">available sequence number.</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; ">-</span></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: Arial, sans-serif; "><br /></span><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: small; "><span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: black; font-family: 宋体; ">For tuning the System performance further, the run priority can be customized by replacing the QSYSCLS20 class with a different class, either system provided or user created, that references a different run priority. &nbsp;And with the new PTFs applied, that change will only affect the Telnet server jobs. &nbsp;</span></span></p></span></div><img src ="http://www.blogjava.net/jjshcc/aggbug/406212.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-11-11 14:29 <a href="http://www.blogjava.net/jjshcc/archive/2013/11/11/406212.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>如何查看OS/400的系统值是否被修改</title><link>http://www.blogjava.net/jjshcc/archive/2013/11/11/406211.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Mon, 11 Nov 2013 06:21:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/11/11/406211.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/406211.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/11/11/406211.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/406211.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/406211.html</trackback:ping><description><![CDATA[<div><div>产品: OS/400,i5/OS</div><div>平台: i5，iSeries, AS/400&nbsp;</div><div>版本: V5RxMx</div><div>问题</div><div>如何发现哪些OS/400系统值被修改了，什么时候被哪个用户修改的？</div><div>解答</div><div>每次一个OS/400系统值被修改，系统会自动向历史日志（QHST）写入一条信息：CPF1805, CPF1806, CPF1815 或 CPF1823 ；如果系统无法确认这次系统值的修改是否成功，还会向历史日志（QHST）再写入一些信息，如 CPF1807, CPF1808 或 CPF1824。</div><div>请用如下方法来定位在特定时间里是否有这些信息产生了：</div><div>（1）DSPLOG ＋ F4 ＋ F10 调出所有参数，填写希望查看的时间段</div><div>（2）注意最后一页的参数"MSGID"，请填入"CPF1805, CPF1806, CPF1807, CPF1808, CPF1815, CPF1823, CPF1824"</div><div>（3）在所有列出的信息里，如果想进一步了解某条信息，把光标定在这条信息下，按F1查看附加信息；再按F9查看详细信息，可知是哪个作业更改的这个系统值</div></div><img src ="http://www.blogjava.net/jjshcc/aggbug/406211.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-11-11 14:21 <a href="http://www.blogjava.net/jjshcc/archive/2013/11/11/406211.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>配置通过IE来访问AS/400 5250界面</title><link>http://www.blogjava.net/jjshcc/archive/2013/11/11/406210.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Mon, 11 Nov 2013 06:06:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/11/11/406210.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/406210.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/11/11/406210.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/406210.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/406210.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 配置通过IE来访问AS/400&nbsp;5250界面&nbsp;很多刚开始接触AS/400的用户很不习惯AS/400传统的5250黑屏界面。下面我们介绍如何通过IE来访问AS/400的5250界面。&nbsp;要实现这个功能需要启用AS/400的WSG服务。&nbsp;WSG是一个包含在IC/400内部的后台精灵程序，WSG能够自动地将送往特定TCP/IP端口(port，目前一般为5061）的5...&nbsp;&nbsp;<a href='http://www.blogjava.net/jjshcc/archive/2013/11/11/406210.html'>阅读全文</a><img src ="http://www.blogjava.net/jjshcc/aggbug/406210.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-11-11 14:06 <a href="http://www.blogjava.net/jjshcc/archive/2013/11/11/406210.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>创建一个物理文件(有或者没有Key字段)</title><link>http://www.blogjava.net/jjshcc/archive/2013/09/04/403664.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Wed, 04 Sep 2013 08:59:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/09/04/403664.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/403664.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/09/04/403664.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/403664.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/403664.html</trackback:ping><description><![CDATA[<div><address>Create a Physical File with or without a key field&nbsp;</address><div></div><address>创建一个物理文件(有或者没有Key字段)<br /><br /></address><div></div><address>The AS/400 database, DB2/400 is part of the AS/400 operating system. It is a relational database and has features similar to other databases you may have used such as Microsoft Access, Oracle or Dbase. The standard method of creating files is to define the specifications of the file using DDS. Of course DDS is used for other things on the AS/400 like defining display files and print files.&nbsp;</address><div></div><address>AS/400数据库,DB2/400是AS/400操作系统的一部分,它是一个关系性数据库.和其他的数据库相比,例如Microsoft Access, Oracle or Dbase有着相似的特性.用DSS文件编写说明语句是创建数据库文件的标准方法.当然,也可以使用DSS在AS400做其他东西,例如创建显示文件或者打印文件<br /><br /></address><div></div><address>To create a physical database file, enter your source statements in a DDS source file member. For example, name the member "CUS" for customer file. Make sure the member type is "PF". This tells the compiler that this is for a physical file. Notice that the first record has an "R" in position 17. This means that this line is specifying the record name, in this case "CUREC". The "TEXT" is optional but helps to document the file.&nbsp;</address><div></div><address>创建一个物理文件数据库,你需要在DSS文件中输入你的数据描述代码.例如,以一个Customer文件为例,命名为CUS的Member,要确保这个member的类型是"PF",这是为了告诉编译器,这是一个物理文件.注意到在第一行中,位置17的地方有个"R"的标记,这一行指明了记录的名字,这里记录名字就是CUREC.而Text不是一定要,但是也对文档化比较有用.<br /><br /></address><div></div><address>After the line naming the record, each line describes a field. The field name is followed by the field length and its data type.</address><div></div><address>这一行命名了记录之后,下面的每一行描述了一个字段,字段名称后面是字段的长度和数据类型<br /><br /></address><div></div><address>The three most used data types are "A" for alpha or character, "S" for numeric and "P" for packed decimal. For numeric fields, you must also specify the number of decimal positions. So here, the company number field is a three digit number with no decimal places. The customer number and zip code are also numeric fields with no decimal places. The credit limit is a numeric, packed decimal field with 9 digits, of which two are after the decimal point. The rest of the fields are character fields.&nbsp;</address><div></div><address>最常用的数据类型是下面的三种, "A"代表字符,"S"代表数值, "P"代表packed decimal,对于数值字段,你必须指明小数点的位置,这里,公司号码字段就是一个3个数字的号码,没有小数点,客户号码和邮政编码同样是数字,也是没有小数,而信用额度是一个数值,它一个有9个数字,其中两位数值位于小数点后面,其他的都是字符的定义<br /><br /></address><div></div><address>Once you have entered the DDS source code, you must compile it. You do this by keying option 14 next to your member name on the PDM screen. If you pay attention you will see that the AS/400 is actually executing the CRTPF (Create Physical File) command. It knows to use this command because the member type of the source code is "PF".&nbsp;</address><div></div><address>一旦你输入完DDS代码,你必须编译它,在PDM界面中,在你要编译Member名字的后面输入14.假如你细心一点,你会发现AS400实际执行了CRTPF (Create Physical File)命令,这是因为这个Member的类型是"PF"<br /><br /></address><div></div><address>You now have a database physical file, see Figure 1. This file has built into it the fields and their attributes. Let's modify this file definition to add key fields. If a physical file has key fields, programs can randomly access the records or read them sequentially in the order of the key fields.</address><address>现在你已经有了数据库物理文件,如图1,这个文件包含了字段和他们的属性,现在我们就为文件增加key字段,假如这个物理文件包含了key字段,那么程序就可以通过Key随即的访问或者顺许的访问记录<br /><br /></address><div></div><div></div><address>You can see in Figure 2 that it is simple to add key fields.&nbsp;</address><address>看图2,建立key字段是非常简单的<br /><br /></address><div></div><address>The "UNIQUE" record at the beginning of the source is used if you want the AS/400 to insist on having no records with duplicate keys. This is optional. At the end of the source code, there are two lines with "K" in position 17. These lines define the key fields. So, this file will build a key using the company number and then the customer number. Further, it will not allow a duplicate company number / customer number record to be written.&nbsp;</address><div></div><address>开头的那个"UNIQUE"表明了你要AS400不能含有重复key的Record,这是可选的. 代码的末尾最后两行,在位置17的有两个"K",这两个"K"就是定义key字段了,那么,这个文件就会用公司号码和客户号码来建立key,进一步来说,文件不允许含有公司号码和客户号码都相同的recored.<br /><br /></address><div></div><address>The records are written to the file in arrival sequence. If you read the data by specifying keyed access, the records will read as though they have been sorted by company number and customer number. Also, your programs can randomly retrieve records. For example, a "CHAIN" instruction in RPG can now randomly read the record for a specific company number / customer number.&nbsp;</address><div></div><address>Record是按顺序写入文件的,而假如你读取数据的时候指明key,读取的数据是已经按照公司号码和客户号码排好顺序,同时,你也可以随即读取Record,例如,RPG的"CHAIN"说明符就可以用公司号码和客户号码随即读取文件<br /><br /></address><div></div><address>Figure 1 - DDS for Physical File Without Key&nbsp;</address><div></div><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;R CUREC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER FILE') &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUCO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3S 0 &nbsp; &nbsp; &nbsp;TEXT('COMPANY #') &nbsp; &nbsp; &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUSTS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('STATUS CODE') &nbsp; &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUNUM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5S 0 &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER #') &nbsp; &nbsp; &nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUNAME &nbsp; &nbsp; &nbsp; &nbsp;30A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER NAME') &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUADR &nbsp; &nbsp; &nbsp; &nbsp; 30A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER ADDRESS')&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUCITY &nbsp; &nbsp; &nbsp; &nbsp;18A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER CITY') &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUSTAT &nbsp; &nbsp; &nbsp; &nbsp; 2A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER STATE') &nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUZIP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;9S 0 &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER ZIP') &nbsp; &nbsp; &nbsp; &nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUCRLM &nbsp; &nbsp; &nbsp; &nbsp; 9P 2 &nbsp; &nbsp; &nbsp;TEXT('CUST CREDIT LIMIT') &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</address><div></div><address>Figure 2 - DDS for Physical File With Key Fields</address><div></div><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UNIQUE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;R CUREC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER FILE') &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUCO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3S 0 &nbsp; &nbsp; &nbsp;TEXT('COMPANY #') &nbsp; &nbsp; &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUSTS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('STATUS CODE') &nbsp; &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUNUM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5S 0 &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER #') &nbsp; &nbsp; &nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUNAME &nbsp; &nbsp; &nbsp; &nbsp;30A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER NAME') &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUADR &nbsp; &nbsp; &nbsp; &nbsp; 30A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER ADDRESS')&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUCITY &nbsp; &nbsp; &nbsp; &nbsp;18A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER CITY') &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUSTAT &nbsp; &nbsp; &nbsp; &nbsp; 2A &nbsp; &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER STATE') &nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUZIP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;9S 0 &nbsp; &nbsp; &nbsp;TEXT('CUSTOMER ZIP') &nbsp; &nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;CUCRLM &nbsp; &nbsp; &nbsp; &nbsp; 9P 2 &nbsp; &nbsp; &nbsp;TEXT('CUST CREDIT LIMIT') &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</address><address>&nbsp;&nbsp; &nbsp; &nbsp;* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;K CUCO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</address><address>&nbsp;&nbsp; &nbsp; A &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;K CUNUM&nbsp;</address><div></div></div><img src ="http://www.blogjava.net/jjshcc/aggbug/403664.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-09-04 16:59 <a href="http://www.blogjava.net/jjshcc/archive/2013/09/04/403664.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>debug rpgle programms(AS400视频教程-如何调试RPGLE程序)</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402471.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 09:44:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402471.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402471.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402471.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402471.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402471.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/YdNL6bEJ2Bc" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402471.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 17:44 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402471.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - CRTSRCPF（AS400视频教程-如何创建物理文件）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402467.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 09:21:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402467.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402467.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402467.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402467.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402467.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/-J_6HLuHmL0" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402467.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 17:21 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402467.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - CRTLIB （AS400视频教程-如何创建Lib）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402464.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 09:14:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402464.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402464.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402464.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402464.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402464.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/fJ9CV2yBF-8" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402464.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 17:14 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402464.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - PWRDWNSYS（AS400视频教程，如何关机）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402463.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 09:12:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402463.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402463.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402463.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402463.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402463.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/TyONz0TuYls" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402463.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 17:12 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402463.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400视频教程，关于历史日志的东西</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402461.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 09:06:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402461.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402461.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402461.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402461.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402461.html</trackback:ping><description><![CDATA[<object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="498" codebase="http://active.macromedia.com/flash7/cabs/ swflash.cab#version=9,0,28,0">
 <param name="src" value="http://www.midrangejumpstart.com/flash/historylog/historylog.swf"/> <param name="bgcolor" value="#1a1a1a"/>
 <param name="quality" value="best"/>
 <param name="allowScriptAccess" value="always"/>
 <param name="allowFullScreen" value="true"/>
 <param name="scale" value="showall"/>
 <param name="flashVars" value="autostart=false"/>
 <embed name="csSWF" src="http://www.midrangejumpstart.com/flash/historylog/historylog.swf" width="640" height="498" bgcolor="#1a1a1a" quality="best" allowScriptAccess="always" allowFullScreen="true" scale="showall" flashVars="autostart=false" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed> </object><img src ="http://www.blogjava.net/jjshcc/aggbug/402461.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 17:06 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402461.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400视频教程，关于AS400作业的一些东西</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402458.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 08:57:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402458.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402458.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402458.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402458.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402458.html</trackback:ping><description><![CDATA[<object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="800" height="618" codebase="http://active.macromedia.com/flash7/cabs/ swflash.cab#version=9,0,28,0">
 <param name="src" value="http://www.midrangejumpstart.com/flash/PSJSJobs/PSJSJobs.swf"/> <param name="bgcolor" value="#1a1a1a"/>
 <param name="quality" value="best"/>
 <param name="allowScriptAccess" value="always"/>
 <param name="allowFullScreen" value="true"/>
 <param name="scale" value="showall"/>
 <param name="flashVars" value="autostart=false"/>
 <embed name="csSWF" src="http://www.midrangejumpstart.com/flash/PSJSJobs/PSJSJobs.swf" width="800" height="618" bgcolor="#1a1a1a" quality="best" allowScriptAccess="always" allowFullScreen="true" scale="showall" flashVars="autostart=false" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed> </object><img src ="http://www.blogjava.net/jjshcc/aggbug/402458.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 16:57 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402458.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - Create Source Physical File Member（AS400视频教程，创建物理文件源代码）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402457.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 08:34:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402457.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402457.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402457.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402457.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402457.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/iaVsxA9Rk3M" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402457.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 16:34 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402457.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - SNDBRKMSG （AS400视频教程-如何给用户发送信息）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402455.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 08:03:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402455.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402455.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402455.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402455.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402455.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/CEj7yWJpK7Q" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402455.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 16:03 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402455.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - Spool File Priority and WRKSPLF（AS400视频教程-脱机文件有限级和WRKSPLF命令）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402454.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 07:56:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402454.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402454.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402454.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402454.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402454.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/wT2BVa0o3Ow" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402454.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 15:56 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402454.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - Saving Spool File（AS400视频教程，保存脱机文件）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402452.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 07:42:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402452.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402452.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402452.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402452.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402452.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/TDtRsI5Td04" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402452.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 15:42 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402452.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - Running Job Priority（AS400视频教程-改变作业优先权）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402451.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 07:38:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402451.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402451.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402451.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402451.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402451.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="//www.youtube.com/embed/HFUpisfD1Mw" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402451.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 15:38 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402451.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - Coding a Database File（AS400视频教程，一个数据库文件的编码）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402450.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 07:22:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402450.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402450.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402450.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402450.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402450.html</trackback:ping><description><![CDATA[<iframe width="560" height="315" src="//www.youtube.com/embed/D2-QTmyL4ds?list=UUP01v1-4zX7nO8oxflWhOUA" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402450.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 15:22 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402450.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - Compile DDS Database File（AS4视频教程-编译DDS数据库文件）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402449.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 07:14:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402449.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402449.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402449.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402449.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402449.html</trackback:ping><description><![CDATA[<iframe width="560" height="315" src="//www.youtube.com/embed/q3lJk5PNpkM?list=UUP01v1-4zX7nO8oxflWhOUA" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402449.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 15:14 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402449.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - WRKSYSSTS（AS400 视频教程，如何察看系统状态）</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402447.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 07:08:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402447.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402447.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402447.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402447.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402447.html</trackback:ping><description><![CDATA[<iframe width="560" height="315" src="//www.youtube.com/embed/V6IzhbqtUsY?list=UUP01v1-4zX7nO8oxflWhOUA" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402447.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 15:08 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402447.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - ENDSBS &amp; STRSBS(AS400视频教程，如何开始和终止作业)</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/06/402446.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 06 Aug 2013 07:07:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/06/402446.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402446.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/06/402446.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402446.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402446.html</trackback:ping><description><![CDATA[<iframe width="560" height="315" src="//www.youtube.com/embed/StNb1mlv8qM?list=UUP01v1-4zX7nO8oxflWhOUA" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.blogjava.net/jjshcc/aggbug/402446.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 15:07 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/06/402446.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS/400 第九章: Subfiles 子文件</title><link>http://www.blogjava.net/jjshcc/archive/2013/08/02/402286.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Fri, 02 Aug 2013 02:34:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/08/02/402286.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402286.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/08/02/402286.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402286.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402286.html</trackback:ping><description><![CDATA[<div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div><div>With subfiles you can create a display file with lists of items. Let's see how that's done.</div><div>利用子文件我们可以创建带有列表项目的显示文件，现在我们就看看是如何创建的</div><div>A subfile is a display file where you can place a listing of values and process changes on the list. The list of members that you can see in the PDM is an example of a subfile.</div><div>子文件是一个显示文件，它能够帮助你显示列表和在列表上作相应的处理，你在PDM上能看到的列表成员就是你的一个子文件</div><div>In this chapter we'll create a subfile which will show all the cards from a client given its ID. To make the manipulation of several tables easier, we'll create a view with the fields we'll use on the subfile. In STRSQL insert this code:</div><div>在这一章，我们将要创建一个子文件，它用于根据特定的ID显示所有的卡，为了更好地维护几张表，我们创建一个表包含多个我们将要用在子文件的字段，在STRSQL中输入这些代码</div><div>CREATE VIEW CLICARD AS SELECT CL.ID_CLI, CR.ID_CRD, SH.NAME_SHP, CR.SHOP_CRD&nbsp;</div><div>FROM DEMO/CLIENTS CL, DEMO/SHOP SH, DEMO/CARDS CR&nbsp;</div><div>WHERE CL.ID_CLI = CR.CLIENT_CRD AND CR.SHOP_CRD = SH.ID_SHP</div><div>Open SDA (STRSDA) and create a new member:</div><div>打开SDA创建一个新的成员</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-C0-YT4RxV00/US5N7QuHaXI/AAAAAAAAkrs/N4wS1W7LXSY/s1600/as400_9_01.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-C0-YT4RxV00/US5N7QuHaXI/AAAAAAAAkrs/N4wS1W7LXSY/s1600/as400_9_01.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Create a BOTTOM record that should look like this:</div><div>创建一个Bottom记录像如下</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-UOC4-Rk2TwY/US5OBh66_HI/AAAAAAAAkr0/k11H5ULayL0/s1600/as400_9_02.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-UOC4-Rk2TwY/US5OBh66_HI/AAAAAAAAkr0/k11H5ULayL0/s1600/as400_9_02.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div>And the TOP record like this: 和Top记录</div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-cFe84MNgNj4/US5OSdug5DI/AAAAAAAAkr8/SHYumIosT-Y/s1600/as400_9_03.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-cFe84MNgNj4/US5OSdug5DI/AAAAAAAAkr8/SHYumIosT-Y/s1600/as400_9_03.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Let's create the subfile now. Create a new record, name it LIST, the record type is SFL:</div><div>现在我们开始创建子文件了，创建一个新的记录，名字为LIST，记录的类型是SFL</div></div><div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://1.bp.blogspot.com/-Z1DZAFZ4LU4/US5ObFk1VHI/AAAAAAAAksE/uDSkHevI-5k/s1600/as400_9_04.gif" imageanchor="1"><img border="0" src="http://1.bp.blogspot.com/-Z1DZAFZ4LU4/US5ObFk1VHI/AAAAAAAAksE/uDSkHevI-5k/s1600/as400_9_04.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>When you press Enter a new record appears. Write SFLCTL on it:</div><div>现在我们按下回车，一个新的记录出现如下，在上面写下SFLCTL如图</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-otPyFfL5gLA/US5Od7IePDI/AAAAAAAAksM/mnjEzVu2SUk/s1600/as400_9_05.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-otPyFfL5gLA/US5Od7IePDI/AAAAAAAAksM/mnjEzVu2SUk/s1600/as400_9_05.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div><div>This field creates a subfile control record, which works like the heading on the list.</div><div>这个字段用来创建子文件控制记录，就像列表的头部</div><div>You have to activate some options now: 现在你需要激活下面的选项</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://1.bp.blogspot.com/--cKdDtbvZLY/US5OeLdYs_I/AAAAAAAAksU/_9tO3ViIkpM/s1600/as400_9_06.gif" imageanchor="1"><img border="0" src="http://1.bp.blogspot.com/--cKdDtbvZLY/US5OeLdYs_I/AAAAAAAAksU/_9tO3ViIkpM/s1600/as400_9_06.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>On the General Keywords menu insert the data you see below:</div><div>在General Keywords菜单输入输入如下</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-8utAUSyRJj8/US5OjsPwjTI/AAAAAAAAksc/2RrZiXPqEbw/s1600/as400_9_07.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-8utAUSyRJj8/US5OjsPwjTI/AAAAAAAAksc/2RrZiXPqEbw/s1600/as400_9_07.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>These indicators allow us to manipulate the status of the subfile from the RPG code. Press Enter to go back to the previous screen. Select Subfile display layout.</div><div>这些指示器允许我们利用RPG代码维护控制控制子文件的状态，输入回车我们会返回之前的屏幕界面，现在选择子文件的显示布局</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-kxMN_BWVBb0/US5OlThuRcI/AAAAAAAAksk/A6DW1srYWnw/s1600/as400_9_08.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-kxMN_BWVBb0/US5OlThuRcI/AAAAAAAAksk/A6DW1srYWnw/s1600/as400_9_08.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>On subfile maximum size type 9999 and on the number of records for page type 9:</div><div>在子文件的最大值输入9999和页面的最大记录数输入9</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-EQNwSjziVOA/US5OnKVDZII/AAAAAAAAkss/uZLtb1jR7jc/s1600/as400_9_09.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-EQNwSjziVOA/US5OnKVDZII/AAAAAAAAkss/uZLtb1jR7jc/s1600/as400_9_09.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Press enter to go back. Select the option Select Record Keyword:</div><div>输入回车返回，然后选择字段关键字选项</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-e-CvUF_pzxk/US5Oonk94FI/AAAAAAAAks0/kM_cGjYwcnY/s1600/as400_9_10.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-e-CvUF_pzxk/US5Oonk94FI/AAAAAAAAks0/kM_cGjYwcnY/s1600/as400_9_10.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div>Choose Overlay keywords: 选择覆盖关键字</div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-Xjq1Q3sxzqI/US5OqQAcLKI/AAAAAAAAks8/FGy74uRaW6o/s1600/as400_9_11.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-Xjq1Q3sxzqI/US5OqQAcLKI/AAAAAAAAks8/FGy74uRaW6o/s1600/as400_9_11.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div>Select Overlay without erasing: 选择覆盖但不擦除选项</div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-nHHmNcvCNxU/US5OsAGEyaI/AAAAAAAAktE/Dd2GRskra0A/s1600/as400_9_12.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-nHHmNcvCNxU/US5OsAGEyaI/AAAAAAAAktE/Dd2GRskra0A/s1600/as400_9_12.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div>Press Enter until you're back on this screen: 输入回车，然后返回如下&nbsp;</div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-koQlgtE30lc/US5OteFy18I/AAAAAAAAktM/Yl77n3v_wUo/s1600/as400_9_13.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-koQlgtE30lc/US5OteFy18I/AAAAAAAAktM/Yl77n3v_wUo/s1600/as400_9_13.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Open the SFLCTL record. By default the record list is already visible on the design screen. Select to visualize the other 2 records, TOM and BOTTOM (F9).</div><div>打开SFLCTL记录，默认是这个记录显示在设计界面上，选择To和Bottom进行可视化(按下F9)</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://1.bp.blogspot.com/-4AzFdDO4eK8/US5OvQIlSGI/AAAAAAAAktU/co_V2OudZzY/s1600/as400_9_14.gif" imageanchor="1"><img border="0" src="http://1.bp.blogspot.com/-4AzFdDO4eK8/US5OvQIlSGI/AAAAAAAAktU/co_V2OudZzY/s1600/as400_9_14.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Back to the design screen, write at the top &#8220;Client Nr.&#8221;. Select the fields from CLICARD view for input/output (F10) and select the ID_CLI field:</div><div>返回设计界面，在上面写上&#8220;Client Nr.&#8221;，在CLICARD试图中选择字段ID_CLI作为输入和输出，</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-QA4C8TIITO0/US5PHWATeOI/AAAAAAAAkuE/TeSJM7JVPl4/s1600/as400_9_15.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-QA4C8TIITO0/US5PHWATeOI/AAAAAAAAkuE/TeSJM7JVPl4/s1600/as400_9_15.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Type the titles of the subfile's columns and a separating line:</div><div>输入分割线和子文件的字段标题</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-1jpN_gV0_Jc/US5O_cDywMI/AAAAAAAAktk/iXe8VToImRo/s1600/as400_9_16.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-1jpN_gV0_Jc/US5O_cDywMI/AAAAAAAAktk/iXe8VToImRo/s1600/as400_9_16.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Let's add some proprieties to the Client ID field. Place an * before to the left of the field.</div><div>现在我们添加一些新的属性给与Client ID字段，在这个字段的左边输入一个*</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-cZF3TEZAo_I/US5PCRNB1FI/AAAAAAAAkts/EtiEjJiYyaM/s1600/as400_9_17.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-cZF3TEZAo_I/US5PCRNB1FI/AAAAAAAAkts/EtiEjJiYyaM/s1600/as400_9_17.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>We're going to add an indicator to this field, which will be activated when no record is found for an ID inserted (either the ID doesn't exist or it doesn't have any associated cards). Option Error Messages:</div><div>现在我们需要为这个字段添加一个指示器，当值一个指定的ID没有找到记录（这个ID并不存在或者根据这个ID找不到记录）的时候，这个指示器将被激活，在错误描述选项的地方输入Y</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-HrlxxxsdNBg/US5PE_VaPEI/AAAAAAAAkt0/8xgx1kmujvw/s1600/as400_9_18.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-HrlxxxsdNBg/US5PE_VaPEI/AAAAAAAAkt0/8xgx1kmujvw/s1600/as400_9_18.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Insert the following information:</div><div>输入下面的信息</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-ic6AzgevA74/US5PHpV8uOI/AAAAAAAAkt8/BVcVxMhj6u0/s1600/as400_9_19.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-ic6AzgevA74/US5PHpV8uOI/AAAAAAAAkt8/BVcVxMhj6u0/s1600/as400_9_19.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Close this record and open the LIST record. Select the TOP and BOTTOM records for display (F9):</div><div>选择这个记录并且同时打开这个LIST记录，选择Top和Bottom记录作显示（按下F9）</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-nfhfxsJn0iI/US5PRA6TGiI/AAAAAAAAkuM/H-D6w_nI00Q/s1600/as400_9_20.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-nfhfxsJn0iI/US5PRA6TGiI/AAAAAAAAkuM/H-D6w_nI00Q/s1600/as400_9_20.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>To create an input field, where the user will type the options, type '+i' on the same position as in the following image and press Enter.</div><div>创建一个输入字段，用户我在这里输入选项，我们在如下图的位置输入&#8216;+i&#8217;然后按下回车</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-1wze_L83qSM/US5PT0ikfPI/AAAAAAAAkuY/YQW807j6C7k/s1600/as400_9_21.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-1wze_L83qSM/US5PT0ikfPI/AAAAAAAAkuY/YQW807j6C7k/s1600/as400_9_21.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Notice how the field spread across the 9 line you previously defined as the subfile page size.</div><div>注意你之前是如何定义子文件的每页大小为9行</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/---L-veF-FsQ/US5PVdruVYI/AAAAAAAAkug/34qfgKu5ECM/s1600/as400_9_23.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/---L-veF-FsQ/US5PVdruVYI/AAAAAAAAkug/34qfgKu5ECM/s1600/as400_9_23.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div><div>Select the records from CLICARD view for output.</div><div>从CLICARD视图中选择记录作为输入</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/---L-veF-FsQ/US5PVdruVYI/AAAAAAAAkug/34qfgKu5ECM/s1600/as400_9_23.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/---L-veF-FsQ/US5PVdruVYI/AAAAAAAAkug/34qfgKu5ECM/s1600/as400_9_23.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div><div>The fields will probably be listed twice, because the SDA will show you the field that had been previously loaded from I/O in the SFLCTL record. You should select the fields further to the right, because they are the last ones loaded. You must be careful selecting the fields.</div><div>这些字段大概会本显示两次，因为SDA会把之前加载的字段也被显示出来，因此选择字段的时候需要小心一点，尽量选择那些比较靠右的字段，因为他们是最后被加载的，</div><div>If there are more fields than the ones that can fit the message line, a plus (+) sign will appear at the end of the line. Press Page Down to see the remaining fields.</div><div>假如有很多的字段，消息行显示不完，在行尾会显示一个+号，按下翻页键就可以看到剩下的那些没有显示的字段。</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-EaOmvsV5too/US5PVUrBNHI/AAAAAAAAkuk/U_wvJv_TQLQ/s1600/as400_9_24.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-EaOmvsV5too/US5PVUrBNHI/AAAAAAAAkuk/U_wvJv_TQLQ/s1600/as400_9_24.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div>Place the fields on their positions: 将字段放在相关的位置</div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-O1Y8ICWiQvo/US5PWzf67OI/AAAAAAAAkuo/0-dxBJHStvE/s1600/as400_9_25.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-O1Y8ICWiQvo/US5PWzf67OI/AAAAAAAAkuo/0-dxBJHStvE/s1600/as400_9_25.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><div>The final result: 最后的结果</div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://1.bp.blogspot.com/-QmEwm-cqxV8/US5PYYwYW_I/AAAAAAAAkus/jiRd5EMCAf0/s1600/as400_9_26.gif" imageanchor="1"><img border="0" src="http://1.bp.blogspot.com/-QmEwm-cqxV8/US5PYYwYW_I/AAAAAAAAkus/jiRd5EMCAf0/s1600/as400_9_26.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div><div>Don't forget to activate the indicator 03 at file-level so that &#8220;F3=Exit&#8221; can work and add the keyword INDARA to the code. Check out the Display file chapter if you don't remember how to do this.</div><div>不要忘记激活03指示器，在文件的层面，使得&#8220;F3=Exit&#8221;生效，同时添加关键字INDARA到代码中去，假如你忘记了怎么做的话，回头看看第八章的显示文件创建。</div><div>You must add the red line to the SFLCTL record:</div><div>你必须为SFLCTL记录添加红线</div><div>A R SFLCTL SFLCTL(LIST)</div><div>A SFLSIZ(9999)</div><div>A SFLPAG(0009)</div><div>A OVERLAY</div><div>A 30 SFLDSP</div><div>A 31 SFLDSPCTL</div><div>A 35 SFLCLR</div><div>A 33 SFLEND(*MORE)</div><div>A 4 8'Client Nr.'</div><div>A ID_CLI R B 4 19REFFLD(CLICARD/ID_CLI DEMO/CLICARD)</div><div>A 90 ERRMSG('No Data Found')</div><div>A 6 4'Op.'</div><div>A 6 12'Card Nr.'</div><div>A 6 27'Shop Nr.'</div><div>A 6 42'Shop Name'</div><div>A 7 2'__________________________________-</div><div>A ___________________________________-</div><div>A __________'</div><div>A RRN 4S 0H SFLRCDNBR(CURSOR)</div><div>In the LIST record change the name of the input field to OPTION. By default it must be named FLD001, or something like it.</div><div>在LIST记录中，你必须修改默认的输入字段的名字，因为默认是FLD001，或者像如下</div><div>A R LIST SFL</div><div>A OPTION 1A I 9 5</div><div>(...)</div><div>Executing the subfile 执行子文件</div><div>To run the subfile you must create an RPGLE member. Check out the file QRPGLESRC.SHW_SFL for more details on how to write this member.</div><div>要运行子文件，你必须创建一个RPGLE的成员，检出文件QRPGLESRC.SHW_SFL 查看一下细节，看看是如何写这个文件</div><div>When you run the RPGLE code: 当你运行RPGLE代码后可以看到下面的结果</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-pux5dKkrVpE/US5PbH4fs1I/AAAAAAAAkuw/oDU1QUmTj4I/s1600/as400_9_27.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-pux5dKkrVpE/US5PbH4fs1I/AAAAAAAAkuw/oDU1QUmTj4I/s1600/as400_9_27.gif" alt="" /></a></p></div><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><h3>Attachments</h3><ul><li><a href="https://drive.google.com/uc?export=&amp;confirm=no_antivirus&amp;id=0Bxp1PlM4alaxUmVCMTYwZ0syY28">as400_code.zip</a></li></ul></div></div><img src ="http://www.blogjava.net/jjshcc/aggbug/402286.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-02 10:34 <a href="http://www.blogjava.net/jjshcc/archive/2013/08/02/402286.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400第八章:Display Files如何创建显示文件</title><link>http://www.blogjava.net/jjshcc/archive/2013/07/30/402166.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Tue, 30 Jul 2013 09:07:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/07/30/402166.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402166.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/07/30/402166.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402166.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402166.html</trackback:ping><description><![CDATA[<div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div><div>Display files are DDS files that enable us to create AS/400 menus and screens to interact with the user. Display files can have several records. Each record defines part of the screen's appearance. These records may or may not overlap each other.</div><div>显示文件是一些帮助我们创建和用户进行交互的AS400菜单和屏幕界面的DDS文件。显示文件能够包含多个纪录，每个记录定义了屏幕界面的一部分。这些记录或者相互覆盖。</div><div>The SDA application allows us to &#8220;draw&#8221; what should show up on the screen and creates the DDS code from our &#8220;drawing&#8221;. Next we'll create a screen with DDS and afterward we'll look at some code excerpts, because sometimes it's easier to alter the screen through its code.</div><div>SDA程序允许我们在屏幕上&#8220;画草稿&#8221;，它会根据我们所画的&#8220;草稿&#8221;生成相应的DDS代码。下面，我们将要创建利用DDS创建一个屏幕界面，然后查看这些代码的片断，因为，有些时候，利用代码来修改界面还是比较容易些。</div><div>In this chapter ，we'll create a screen to show a clients data.</div><div>在这一章，我们将创建一个显示客户数据的界面。</div><div>To open SDA type STRSDA on the system prompt. This screen should appear:</div><div>在系统命令行输入STRDA就可以打开SDA程序了，如下图显示：</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-cc4cECicxLw/US5MEpouAaI/AAAAAAAAkog/ODTQA6dNtrM/s1600/as400_8_01.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-cc4cECicxLw/US5MEpouAaI/AAAAAAAAkog/ODTQA6dNtrM/s1600/as400_8_01.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Choose option 1 and type the options as you see them on the image below. Source file is the file where the code will be stored. Member is the name of member we're creating.</span></p></div><div><div>选择1，然后输入相关的选项，如下图，Source file就是代码保存的文件了，在Member输入我们想要创建的成员（Member）。</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://1.bp.blogspot.com/-WkRXh18GB5g/US5MFM4qSPI/AAAAAAAAkos/wwRenDNlwb4/s1600/as400_8_02.gif" imageanchor="1"><img border="0" src="http://1.bp.blogspot.com/-WkRXh18GB5g/US5MFM4qSPI/AAAAAAAAkos/wwRenDNlwb4/s1600/as400_8_02.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Create file 创建文件</span></p></div><div><div>Press Enter. A new screen appears. Add a new record, named TOP, typing what you see on the image bellow.</div><div>按下回车键，然后我们添加记录，命名为Top，如下图</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-3UWRED8L8j4/US5MNLO9k8I/AAAAAAAAko0/En0dU5Hjh78/s1600/as400_8_03.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-3UWRED8L8j4/US5MNLO9k8I/AAAAAAAAko0/En0dU5Hjh78/s1600/as400_8_03.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Now specify the record type, in this case it's RECORD:</span></p></div><div><div>接着我们输入记录类型，在这个例子中我们输入Record</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-aJgcZwbMkyc/US5MU8we4II/AAAAAAAAko8/mhyUtFu73n8/s1600/as400_8_04.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-aJgcZwbMkyc/US5MU8we4II/AAAAAAAAko8/mhyUtFu73n8/s1600/as400_8_04.gif" alt="" /></a></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div><div>After the Enter an empty screen appears. In this screen you can &#8220;draw&#8221; the top record. Add the content you see on the image bellow.</div><div>按下回车，现在我们就可以&#8220;草绘&#8221; top记录，添加内容了，如下图：</div><div>When you type a string you should place it between apostrophes. If you don't each word will be handled like a different field. Placing the apostrophes allows you to manipulate all the words as a single field.</div><div>当你想输入一个字符串的时候，请问打上单引号，假如你不这样做的话，系统会把他们当作分开的不同字符串。</div><div>The *USER function shows the username on the screen. There are other functions that retrieve information from the system: *DATE (shows the system current date), *TIME(shows the system current time), *SYSNAME (shows the system name).</div><div>*USER用来在屏幕上显示用户名</div><div>*DATE用来在屏幕上显示系统当前日期。</div><div>*TIME 用来在屏幕上显示系统的当前时间。</div><div>*SYSNAME 用来在屏幕上显示系统名称。</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-_hXx-qhEJ2k/US5MmZ9tefI/AAAAAAAAkpE/EMeS0IdnV1k/s1600/as400_8_05.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-_hXx-qhEJ2k/US5MmZ9tefI/AAAAAAAAkpE/EMeS0IdnV1k/s1600/as400_8_05.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">After typing what you see on the image press Enter. Always check what you've done before pressing Enter, because after that you can only alter the screen by manipulating its code. You can also exit the record editing without saving your work, but then you'll lose all you've done since you last opened the record for editing.</span></p></div><div><div>按照上图输入完成后按下回车，就可以看到下图了，请在按下回车之前仔细检查，因为按下回车之后，只能用代码进行修改了，当然，你也可以退出这条记录而不保存，但是你就会丢失这些工作成果。</div><div>Moving a field 移动字段</div><div>You can move a field to the right placing &#8220;&gt;&#8221; characters to the right of the field. The number of &gt; you type will be the number of columns the field will move. To move the field to the left place &lt; signs on the left side of the field.</div><div>你可以通过在字段右边的输入〉来使字段向后移动，你输入〉符号的数量就是字段向右移动的位移量，向左是同样的道理。</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-8zdKwt_lCkQ/US5Mn-YHvoI/AAAAAAAAkpI/qGRvQrAoyRc/s1600/as400_8_06.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-8zdKwt_lCkQ/US5Mn-YHvoI/AAAAAAAAkpI/qGRvQrAoyRc/s1600/as400_8_06.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Centering a field 字段居中</span></p></div><div><div>To center a field on the screen place an 'ac' at the left of the field and the 'c' must be overlapping the first character of the field. Then press Enter.</div><div>Press F3 to finish editing this record. Choose option 1 to save your work:</div><div>要是想将字段居中，你可以在字段的左边输入ac，c必须覆盖字段字段的第一个字符，然后按下回车，按下F3结束你对字段的编辑，选择1保存你的工作成果。</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://1.bp.blogspot.com/-SQlIdIUHltQ/US5MsnOzToI/AAAAAAAAkpQ/yeT8m7DwC98/s1600/as400_8_07.gif" imageanchor="1"><img border="0" src="http://1.bp.blogspot.com/-SQlIdIUHltQ/US5MsnOzToI/AAAAAAAAkpQ/yeT8m7DwC98/s1600/as400_8_07.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Create another record named BOTTOM, the same way you've created the TOP record.</span></p></div><div><div>现在我们创建另外一个记录叫做Bottom，方法是跟创建TOP字段是一样的。</div><div>When you open the new record for editing press F9. This menu will appear:</div><div>当你打开按下F9对新的记录，我们可以看见菜单显示出来了</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-bzoMqbcePrE/US5NSWY9GMI/AAAAAAAAkpc/LlAsOU3kj-M/s1600/as400_8_08.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-bzoMqbcePrE/US5NSWY9GMI/AAAAAAAAkpc/LlAsOU3kj-M/s1600/as400_8_08.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">So that you don't overlap the records you can choose to visualize other records in the menu. You can see that the status of the BOTTOM record is &#8220;In Use&#8221; which means it is the one currently being edited. You can select at most 3 records to visualize. To do so place numbers 1 to 3 on the records you want. Select the TOP record and press Enter.</span></p></div><div><div></div><div>为了不要覆盖你的其他记录，你可以选择在菜单中对其他记录可视化，你可以发现Bottom记录处于正在使用&#8220;In Use&#8221;状态，意味着这正是我们正在编辑的记录，你可以选择最到3条记录进行可视化，将1，2，3 放在你想可视化的记录上面，然后按回车</div><div></div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-5udnMLNZtug/US5NXJFV74I/AAAAAAAAkpk/hJU-NKyt1FE/s1600/as400_8_09.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-5udnMLNZtug/US5NXJFV74I/AAAAAAAAkpk/hJU-NKyt1FE/s1600/as400_8_09.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">The names of the selected fields appear on the bottom of the screen. Don't forget you are only &#8220;drawing&#8221; on the record in use. The other records only help you place your elements on the right place.</span></p></div><div><div>可以看到，你所选的字段显示在屏幕的底部了，但是你不要忘记了，你只能&#8220;草绘&#8221;那个正在使用（&#8220;In Use&#8221;）的记录，其它记录只能辅佐那个正在使用的字段放置合适的位置而已。&nbsp;</div><div>&#8220;Draw&#8221; something similar to what you see in the next image. Use the underscore to make the line.</div><div>像下图那样&#8220;草绘&#8221;我们的需要的界面，我们使用下划线描述出一条直线来</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-7QGJJNRCpiQ/US5NZNpJ77I/AAAAAAAAkps/b3qMXaO0vNk/s1600/as400_8_10.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-7QGJJNRCpiQ/US5NZNpJ77I/AAAAAAAAkps/b3qMXaO0vNk/s1600/as400_8_10.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Changing field proprieties修改字段属性</span></p></div><div><div></div><div>We're going to edit the proprieties of the &#8220;F3=Exit&#8221; field. Place an '*' at the left of the field and press Enter:</div><div>我们现在修改&#8220;F3=Exit&#8221; 字段的属性，在这个字段的左边输入*, 然后按下回车。</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-Fn1tx7KyyOo/US5Nb0qlxKI/AAAAAAAAkp0/vgm0abPcz9M/s1600/as400_8_11.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-Fn1tx7KyyOo/US5Nb0qlxKI/AAAAAAAAkp0/vgm0abPcz9M/s1600/as400_8_11.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">This screen appears. Place an 'Y' in the Colors option. We're going to change the color of the characters.</span></p></div><div><div>当出现了下面的界面，在颜色选项中输入Y，</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://1.bp.blogspot.com/-wH7QRNi5pME/US5Ndh96QYI/AAAAAAAAkqA/2ShGfGtqDpc/s1600/as400_8_12.gif" imageanchor="1"><img border="0" src="http://1.bp.blogspot.com/-wH7QRNi5pME/US5Ndh96QYI/AAAAAAAAkqA/2ShGfGtqDpc/s1600/as400_8_12.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Place an 1 in the Blue field:</span></p></div><div><div>在蓝色选项那里输入1</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/--JyNb0ril3c/US5NnjEcOzI/AAAAAAAAkqg/SCkxEvtrwUk/s1600/as400_8_13.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/--JyNb0ril3c/US5NnjEcOzI/AAAAAAAAkqg/SCkxEvtrwUk/s1600/as400_8_13.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Select blue color 选择蓝色</span></p></div><div><div>Press Enter until you're back in the editing screen. The field is now blue. Exit the editing screen (F3) and save your work.</div><div>按回车返回，直至你返回编辑界面，现在可以看到字段已经变成蓝色了，按F3退出编辑界面然后保存你的工作成果。</div><div>Create a new record, MIDDLE, the same way you've created the previous records.</div><div>创建一个新的记录，MIDDLE，方法跟你之前的事一样的</div><div>Press F9 to visualize the records you already created:</div><div>按F9可视化你刚刚创建的记录</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-l02e39V390w/US5NgVgb6pI/AAAAAAAAkqM/TmWfMCQFJ4o/s1600/as400_8_14.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-l02e39V390w/US5NgVgb6pI/AAAAAAAAkqM/TmWfMCQFJ4o/s1600/as400_8_14.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Draw what you can see in the following image. Press Enter when you're done.</span></p></div><div><div>按照下图草绘界面，完成后按回车</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-PZGhO5zGEeM/US5NjNWer9I/AAAAAAAAkqU/cnaP2B6tW6Y/s1600/as400_8_15.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-PZGhO5zGEeM/US5NjNWer9I/AAAAAAAAkqU/cnaP2B6tW6Y/s1600/as400_8_15.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Add fields</span></p></div><div><div>添加字段</div><div>Using table records</div><div>使用表记录</div><div>We're going to select the fields from the Clients table to show them on the screen. Press F10. On that menu select the Database File Clients for output (option 3). You can also select fields for input or input/output choosing one of the other options. You should write this on the menu and press Enter:</div><div>现在我们将要在客户表中选择我们想要的字段，将他们显示在界面上面，按下F10，现在第3项（select the Database File Clients for output），你也可以为其它的选项，选择字段作为输出和输入。</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-7PTzKsr-mzw/US5NmZo07gI/AAAAAAAAkqc/PCCaAVroF1o/s1600/as400_8_16.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-7PTzKsr-mzw/US5NmZo07gI/AAAAAAAAkqc/PCCaAVroF1o/s1600/as400_8_16.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Select the table 选择表</span></p></div><div><div>On the bottom of the screen there's a message with all the Client's field names preceded by a number. To use a field on the screen you should write its correspondent number preceded with an '&amp;'. You can see it in the next image. Be careful, because if you write a number and press Enter the order of the list on the bottom will change.</div><div>在下图中，你可以看到一条信息显示在最下面，显示了客户表的所有字段和字面名字前面附带着号码，要将这些字段显示在界面的，你需要将相关的字段的号码写在屏幕界面上，前边带上一个&#8216;&amp;&#8217;的符号，如下图，</div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-be1mOeFDK1M/US5QI6NkGQI/AAAAAAAAkvs/-v-04oytl9o/s1600/as400_8_17.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-be1mOeFDK1M/US5QI6NkGQI/AAAAAAAAkvs/-v-04oytl9o/s1600/as400_8_17.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">The final result: 最后结果</span></p></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-olGOaP6jIYE/US5NpZDZHDI/AAAAAAAAkqo/tQs7-YYj_9A/s1600/as400_8_18.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-olGOaP6jIYE/US5NpZDZHDI/AAAAAAAAkqo/tQs7-YYj_9A/s1600/as400_8_18.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Exit the record editing. We now need to make a few adjustments to the file options.</span></p></div><div><div>推出记录编辑，我们需要对文件选项进行一些修改</div><div>Record level options (overlay) 记录层面选项（覆盖）</div><div>Choose option 8 to the TOP record: 在Top记录选择选项8</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-kEfOEa7UQTA/US5NrWsFXBI/AAAAAAAAkqw/j1xMhB9EFZE/s1600/as400_8_19.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-kEfOEa7UQTA/US5NrWsFXBI/AAAAAAAAkqw/j1xMhB9EFZE/s1600/as400_8_19.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Change overlay option 修改覆盖选项</span></p></div><div><div>Select option Overlay Keywords: 选择覆盖关键字</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-F2eT_harxAI/US5Nvjo_SDI/AAAAAAAAkq4/tBIn76ezZWU/s1600/as400_8_20.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-F2eT_harxAI/US5Nvjo_SDI/AAAAAAAAkq4/tBIn76ezZWU/s1600/as400_8_20.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Change overlay option step 2 &nbsp;修改覆盖选项第二步</span></p></div><div><div>Place an Y at the option Overlay without erasing. This option allows to display this record on the screen together with the others. Press Enter until you reach the menu with the record listing. Activate this option on the other records.</div><div>在选项（Overlay without erasing）的地方输入Y，这个选项允许你在屏幕界面中同时显示其他的记录。一路回车直至你看到记录列表，在其他界面中激活这个选项</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://4.bp.blogspot.com/-3GZWUDxTLoU/US5NxinIoII/AAAAAAAAkrA/f8fCYav8cTY/s1600/as400_8_21.gif" imageanchor="1"><img border="0" src="http://4.bp.blogspot.com/-3GZWUDxTLoU/US5NxinIoII/AAAAAAAAkrA/f8fCYav8cTY/s1600/as400_8_21.gif" alt="" /></a></p><p><span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Change overlay option step 3</span></p></div><div><div>修改覆盖属性步骤3</div><div>File level options (indicators) 文件层面的选项（指示器）</div><div>We need to declare the indicator 03 (so that &#8220;F3=Exit&#8221; works) at the file level. On the menu with the record listing press F14 (F13=shift+F1; F14=shift+F2; F15=shift+F3, etc.). On the following screen choose the option Indicator Keywords.</div><div>要实现&#8220;F3=Exit&#8221;的功能，我们需要需要在文件的层面声明指示器03，在字段列表的菜单中我们输入F14 (F13=shift+F1; F14=shift+F2; F15=shift+F3, etc.).然后，我们选择指示器选项关键字，如下图</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-Fj4AMWNE82o/US5N2MsWMMI/AAAAAAAAkrE/toPHec8VbM4/s1600/as400_8_22.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-Fj4AMWNE82o/US5N2MsWMMI/AAAAAAAAkrE/toPHec8VbM4/s1600/as400_8_22.gif" alt="" /></a></p><p>&nbsp;<span class="Apple-style-span" style="font-family: verdana, 'courier new'; font-size: 14px; line-height: 21px; ">Insert the data you see on the image below:按照下图输入</span></p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://2.bp.blogspot.com/-ZRlvcx9123M/US5N3mWtH-I/AAAAAAAAkrU/PdU9PgQIh7Q/s1600/as400_8_23.gif" imageanchor="1"><img border="0" src="http://2.bp.blogspot.com/-ZRlvcx9123M/US5N3mWtH-I/AAAAAAAAkrU/PdU9PgQIh7Q/s1600/as400_8_23.gif" alt="" /></a></p><p>&nbsp;</p></div><div><div>Press Enter until you've reached the starting menu. Press F3 and save the file.</div><div>一路回车直至看到开始菜单，按F3保存文件。</div><div>Display Files DDS code 显示DDS文件的代码</div><div>You can check out the code from this display at QDDSSRC, the member is SHW_CLI. At the beginning of the file should be something like this:</div><div>你可以查看上面步骤产生的DDS代码，位置在QDDSSRC，成员名字是SHW_CLI，在文件的开头我们可以看到这样两行：</div><div>A DSPSIZ(24 80 *DS3)</div><div>A CF03(03 'Exit')</div><div>These are the file-level options. You should add a line to this area that later will allow you to rename the indicators used. Add this line after the DSPSIZ line:</div><div>这是文件层面的选项，你迟些可以在这里增加一行，它允许你重命名这个已经用了的指示器，在DSPSIZ后面添加一行，如下</div><div>A INDARA</div><div>You should also have some lines like these: 你也可以添加几行像下面的：</div><div>A R TOP</div><div>A OVERLAY</div><div>A 1 65USER</div><div>A 3 27'Client Details:'</div><div>In these four lines are the definitions to the TOP record. Notice the OVERLAY option we had defined in SDA. The keyword USER is placed on the 1st line, column 65.</div><div>上面四行是关于TOP 记录的定义，要注意的是OVERLAY 选项是我们在SDA中定义的，关键字USER被放在第一行，第65列。</div><div>Look at this line from MIDDLE record: 现在我们看看MIDDLE的记录</div><div>A ID_CLI R O 8 23REFFLD(CLIENTS/ID_CLI DEMO/CLIENTS)</div><div>Here you have a reference to the ID_CLI field on the CLIENTS table and this reference is positioned at line 8 column 23, an can only be accessed for reading (O).</div><div>这里你定义了一个引用，指向CLIENTS表的ID_CL字段，这个字段的位置在第8行，第23列，是一个只读的字段。</div><div>Compile the file (option 14) after you've closed the member.</div><div>关闭了这个成员之后，你可以按F14编译这个文件。</div><div>Executing display files 执行显示文件</div><div>To run the screen you must create an RPGLE member which will handle all the possible events (pressing F3 for example). Check out the file QRPGLESRC.SHW_CLI to see how this member should be defined. Create a file like QRPGLESRC.SHW_CLI and run it. The result should be something like this:</div><div>要运行这个界面，你必须创建一个RPGLE成员，来处理所有可能的事件（例如按下F3），打开文件QRPGLESRC.SHW_CLI，看看我们英文怎么定义这个成员，创建一个像QRPGLESRC.SHW_CLI文件，然后我们运行，结果如下图，</div></div><div></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-JeFKRBB188o/US5N5aCwrfI/AAAAAAAAkrc/upxMXdkz5Mk/s1600/as400_8_24.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-JeFKRBB188o/US5N5aCwrfI/AAAAAAAAkrc/upxMXdkz5Mk/s1600/as400_8_24.gif" alt="" /></a></p><p>Execute display file 1</p></div><p style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; ">If you press Enter:</p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a href="http://3.bp.blogspot.com/-KedreY9S-ng/US5N5xgqulI/AAAAAAAAkrk/IsexIAGZcuc/s1600/as400_8_25.gif" imageanchor="1"><img border="0" src="http://3.bp.blogspot.com/-KedreY9S-ng/US5N5xgqulI/AAAAAAAAkrk/IsexIAGZcuc/s1600/as400_8_25.gif" alt="" /></a></p></div><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><ul><li><a href="https://drive.google.com/uc?export=&amp;confirm=no_antivirus&amp;id=0Bxp1PlM4alaxUmVCMTYwZ0syY28">as400_code.zip</a></li></ul></div></div><img src ="http://www.blogjava.net/jjshcc/aggbug/402166.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-07-30 17:07 <a href="http://www.blogjava.net/jjshcc/archive/2013/07/30/402166.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>IBM提供的400环境 </title><link>http://www.blogjava.net/jjshcc/archive/2013/07/26/402010.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Fri, 26 Jul 2013 08:51:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2013/07/26/402010.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/402010.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2013/07/26/402010.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/402010.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/402010.html</trackback:ping><description><![CDATA[<div><span style="font-family: 宋体, Arial; line-height: 26px; font-size: 12px; color: #666666; ">IBM提供的400环境！ 1、用IE访问400的地址如下：<a href="http://iseriesd.dfw.ibm.com/webaccess/iWA5250" style="word-wrap: break-word; text-decoration: none; color: #565656; ">http://iseriesd.dfw.ibm.com/webaccess/iWA5250</a>&nbsp;2、用PCOM400的配置如下：主机IP： iSeriesD.DFW.IBM.COM端 口： 23 用 户： WUSER密 码： DEMO2PWD</span></div><img src ="http://www.blogjava.net/jjshcc/aggbug/402010.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2013-07-26 16:51 <a href="http://www.blogjava.net/jjshcc/archive/2013/07/26/402010.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AS400 Tutorial - Navigation, Menus and FKeys </title><link>http://www.blogjava.net/jjshcc/archive/2012/05/25/379230.html</link><dc:creator>Eric_jiang</dc:creator><author>Eric_jiang</author><pubDate>Fri, 25 May 2012 06:57:00 GMT</pubDate><guid>http://www.blogjava.net/jjshcc/archive/2012/05/25/379230.html</guid><wfw:comment>http://www.blogjava.net/jjshcc/comments/379230.html</wfw:comment><comments>http://www.blogjava.net/jjshcc/archive/2012/05/25/379230.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.blogjava.net/jjshcc/comments/commentRss/379230.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/jjshcc/services/trackbacks/379230.html</trackback:ping><description><![CDATA[<embed src="http://www.youtube.com/v/7980eoVjz08?version=3&amp;hl=en_US&amp;rel=0" width="420" height="315" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always"></embed> <img src ="http://www.blogjava.net/jjshcc/aggbug/379230.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/jjshcc/" target="_blank">Eric_jiang</a> 2012-05-25 14:57 <a href="http://www.blogjava.net/jjshcc/archive/2012/05/25/379230.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>