锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲乱码日产精品BD在线观看,亚洲人配人种jizz,亚洲V无码一区二区三区四区观看http://www.tkk7.com/jjshcc/category/51806.html妗戝反钁¤緲昏瘧宸ヤ綔瀹ゆ槸騫垮窞甯傛渶涓撲笟钁¤悇鐗欒緲昏瘧鏈烘瀯-www.puyufanyi.com-嬈㈣繋瀵繪壘Java,As400,Mainframe鐨勭寧澶磂ric_cc#qq.ccom(鎶?鎹㈡垚@)zh-cnMon, 11 Nov 2013 06:45:19 GMTMon, 11 Nov 2013 06:45:19 GMT60Telnet鎴栬匬COM杞歡鏄劇ず鐧婚檰鐣岄潰澶參http://www.tkk7.com/jjshcc/archive/2013/11/11/406212.htmlEric_jiangEric_jiangMon, 11 Nov 2013 06:29:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/11/11/406212.htmlhttp://www.tkk7.com/jjshcc/comments/406212.htmlhttp://www.tkk7.com/jjshcc/archive/2013/11/11/406212.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/406212.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/406212.html

鏁呴殰鐜拌薄錛?/span>

 

Telnet鎴栬?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> V4R4  V4R5

 

瀵逛簬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; ">V4R5緋葷粺錛屾垜浠氳繃telnet瀹㈡埛绔櫥闄?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 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 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鐣岄潰鍑烘潵鍚庯紝鎺ョ潃鐨勪氦浜掑紡鎿嶄綔鐩稿簲閫熷害閮藉緢姝e父銆?/span>

 
璐熻矗Telnet鐧婚檰鐨勫垵濮嬬▼搴忔槸QTVDEVICE, 璇ヤ綔涓氱殑榛樿榪愯綰у埆鏄?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銆傝櫧鐒惰浣滀笟鍦ㄧ粷澶у鏁扮郴緇熶笂榪愯鐨勬尯濂斤紝浣嗘槸錛屽湪涓浜涙嫢鏈夊ぇ閲忕殑鎵瑰鐞嗗乏鍙崇殑緋葷粺涓紝浣滀笟QTVDEVICE浼氬悓鎵瑰鐞嗕綔涓氬幓鎶㈠崰CPU璧勬簮錛屼粠鑰屽獎鍝嶄簡signon灞忓箷鐨勭浉搴斻?/span>


瑙e喅榪欎釜闂鐨勬柟娉曪紝閫氬父鏄鍔?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 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 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; "> SF62558 (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; "> SF62559 (V4R5) 錛屾垨鑰呮洿楂樼殑琛ヤ竵鐗堟湰錛岃繖浜涜ˉ涓佷細璋冩暣璇ヤ綔涓氱殑榪愯浼樺厛綰у埌20銆?/span>

 

浣跨敤涓嬮潰鐨勬楠ゅ懡浠ゆ潵璋冩暣榪愯浼樺厛綰ц礬鐢辨潯鐩埌20錛?/span>

ADDRTGE SBSD(QSYS/QSYSWRK) SEQNBR(2517) CMPVAL('TELNETD' 1)
PGM(QSYS/QCMD) CLS(QSYS/QSYSCLS20)
-
濡傛灉PTF娌℃湁搴旂敤錛屼嬌鐢ㄤ笅闈㈢殑鍛戒護鏀瑰彉浼樺厛綰ц礬鐢辨潯鐩埌20錛?/span>

ADDRTGE SBSD(QSYS/QSYSWRK) SEQNBR(2517) CMPVAL('QCMDI' 1)
PGM(QSYS/QCMD) CLS(QSYS/QSYSCLS20)
-
娉ㄦ剰: Telnet鏈嶅姟鍜?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>
-
Additional Information:
-
Previous to the PTFs being applied the QTVDEVICE jobs are submitted with a compare value of QCMDI.  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.  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.  So the QCMDI Routing Entry affected more than just Telnet.
-
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.  This allows the run priority of the Telnet QTVDEVICE jobs to be changed without affecting any other programs.  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.
-
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.  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.  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
available sequence number.
-
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.  And with the new PTFs applied, that change will only affect the Telnet server jobs.  



Eric_jiang 2013-11-11 14:29 鍙戣〃璇勮
]]>
濡備綍鏌ョ湅OS/400鐨勭郴緇熷兼槸鍚﹁淇敼http://www.tkk7.com/jjshcc/archive/2013/11/11/406211.htmlEric_jiangEric_jiangMon, 11 Nov 2013 06:21:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/11/11/406211.htmlhttp://www.tkk7.com/jjshcc/comments/406211.htmlhttp://www.tkk7.com/jjshcc/archive/2013/11/11/406211.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/406211.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/406211.html
浜у搧: OS/400,i5/OS
騫沖彴: i5錛宨Series, AS/400 
鐗堟湰: V5RxMx
闂
濡備綍鍙戠幇鍝簺OS/400緋葷粺鍊艱淇敼浜嗭紝浠涔堟椂鍊欒鍝釜鐢ㄦ埛淇敼鐨勶紵
瑙g瓟
姣忔涓涓狾S/400緋葷粺鍊艱淇敼錛岀郴緇熶細鑷姩鍚戝巻鍙叉棩蹇楋紙QHST錛夊啓鍏ヤ竴鏉′俊鎭細CPF1805, CPF1806, CPF1815 鎴?CPF1823 錛涘鏋滅郴緇熸棤娉曠‘璁よ繖嬈$郴緇熷肩殑淇敼鏄惁鎴愬姛錛岃繕浼氬悜鍘嗗彶鏃ュ織錛圦HST錛夊啀鍐欏叆涓浜涗俊鎭紝濡?CPF1807, CPF1808 鎴?CPF1824銆?/div>
璇風敤濡備笅鏂規硶鏉ュ畾浣嶅湪鐗瑰畾鏃墮棿閲屾槸鍚︽湁榪欎簺淇℃伅浜х敓浜嗭細
錛?錛塂SPLOG 錛?F4 錛?F10 璋冨嚭鎵鏈夊弬鏁幫紝濉啓甯屾湜鏌ョ湅鐨勬椂闂存
錛?錛夋敞鎰忔渶鍚庝竴欏電殑鍙傛暟"MSGID"錛岃濉叆"CPF1805, CPF1806, CPF1807, CPF1808, CPF1815, CPF1823, CPF1824"
錛?錛夊湪鎵鏈夊垪鍑虹殑淇℃伅閲岋紝濡傛灉鎯寵繘涓姝ヤ簡瑙f煇鏉′俊鎭紝鎶婂厜鏍囧畾鍦ㄨ繖鏉′俊鎭笅錛屾寜F1鏌ョ湅闄勫姞淇℃伅錛涘啀鎸塅9鏌ョ湅璇︾粏淇℃伅錛屽彲鐭ユ槸鍝釜浣滀笟鏇存敼鐨勮繖涓郴緇熷?/div>


]]>閰嶇疆閫氳繃IE鏉ヨ闂瓵S/400 5250鐣岄潰http://www.tkk7.com/jjshcc/archive/2013/11/11/406210.htmlEric_jiangEric_jiangMon, 11 Nov 2013 06:06:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/11/11/406210.htmlhttp://www.tkk7.com/jjshcc/comments/406210.htmlhttp://www.tkk7.com/jjshcc/archive/2013/11/11/406210.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/406210.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/406210.html闃呰鍏ㄦ枃

]]>
鍒涘緩涓涓墿鐞嗘枃浠?鏈夋垨鑰呮病鏈塊ey瀛楁)http://www.tkk7.com/jjshcc/archive/2013/09/04/403664.htmlEric_jiangEric_jiangWed, 04 Sep 2013 08:59:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/09/04/403664.htmlhttp://www.tkk7.com/jjshcc/comments/403664.htmlhttp://www.tkk7.com/jjshcc/archive/2013/09/04/403664.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/403664.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/403664.html
Create a Physical File with or without a key field 
鍒涘緩涓涓墿鐞嗘枃浠?鏈夋垨鑰呮病鏈塊ey瀛楁)

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. 
AS/400鏁版嵁搴?DB2/400鏄疉S/400鎿嶄綔緋葷粺鐨勪竴閮ㄥ垎,瀹冩槸涓涓叧緋繪ф暟鎹簱.鍜屽叾浠栫殑鏁版嵁搴撶浉姣?渚嬪Microsoft Access, Oracle or Dbase鏈夌潃鐩鎬技鐨勭壒鎬?鐢―SS鏂囦歡緙栧啓璇存槑璇彞鏄垱寤烘暟鎹簱鏂囦歡鐨勬爣鍑嗘柟娉?褰撶劧,涔熷彲浠ヤ嬌鐢―SS鍦ˋS400鍋氬叾浠栦笢瑗?渚嬪鍒涘緩鏄劇ず鏂囦歡鎴栬呮墦鍗版枃浠?br />
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. 
鍒涘緩涓涓墿鐞嗘枃浠舵暟鎹簱,浣犻渶瑕佸湪DSS鏂囦歡涓緭鍏ヤ綘鐨勬暟鎹弿榪頒唬鐮?渚嬪,浠ヤ竴涓狢ustomer鏂囦歡涓轟緥,鍛藉悕涓篊US鐨凪ember,瑕佺‘淇濊繖涓猰ember鐨勭被鍨嬫槸"PF",榪欐槸涓轟簡鍛婅瘔緙栬瘧鍣?榪欐槸涓涓墿鐞嗘枃浠?娉ㄦ剰鍒板湪絎竴琛屼腑,浣嶇疆17鐨勫湴鏂規湁涓?R"鐨勬爣璁?榪欎竴琛屾寚鏄庝簡璁板綍鐨勫悕瀛?榪欓噷璁板綍鍚嶅瓧灝辨槸CUREC.鑰孴ext涓嶆槸涓瀹氳,浣嗘槸涔熷鏂囨。鍖栨瘮杈冩湁鐢?

After the line naming the record, each line describes a field. The field name is followed by the field length and its data type.
榪欎竴琛屽懡鍚嶄簡璁板綍涔嬪悗,涓嬮潰鐨勬瘡涓琛屾弿榪頒簡涓涓瓧孌?瀛楁鍚嶇О鍚庨潰鏄瓧孌電殑闀垮害鍜屾暟鎹被鍨?br />
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. 
鏈甯哥敤鐨勬暟鎹被鍨嬫槸涓嬮潰鐨勪笁縐? "A"浠h〃瀛楃,"S"浠h〃鏁板? "P"浠h〃packed decimal,瀵逛簬鏁板煎瓧孌?浣犲繀欏繪寚鏄庡皬鏁扮偣鐨勪綅緗?榪欓噷,鍏徃鍙風爜瀛楁灝辨槸涓涓?涓暟瀛楃殑鍙風爜,娌℃湁灝忔暟鐐?瀹㈡埛鍙風爜鍜岄偖鏀跨紪鐮佸悓鏍鋒槸鏁板瓧,涔熸槸娌℃湁灝忔暟,鑰屼俊鐢ㄩ搴︽槸涓涓暟鍊?瀹冧竴涓湁9涓暟瀛?鍏朵腑涓や綅鏁板間綅浜庡皬鏁扮偣鍚庨潰,鍏朵粬鐨勯兘鏄瓧絎︾殑瀹氫箟

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". 
涓鏃︿綘杈撳叆瀹孌DS浠g爜,浣犲繀欏葷紪璇戝畠,鍦≒DM鐣岄潰涓?鍦ㄤ綘瑕佺紪璇慚ember鍚嶅瓧鐨勫悗闈㈣緭鍏?4.鍋囧浣犵粏蹇冧竴鐐?浣犱細鍙戠幇AS400瀹為檯鎵ц浜咰RTPF (Create Physical File)鍛戒護,榪欐槸鍥犱負榪欎釜Member鐨勭被鍨嬫槸"PF"

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.
鐜板湪浣犲凡緇忔湁浜嗘暟鎹簱鐗╃悊鏂囦歡,濡傚浘1,榪欎釜鏂囦歡鍖呭惈浜嗗瓧孌靛拰浠栦滑鐨勫睘鎬?鐜板湪鎴戜滑灝變負鏂囦歡澧炲姞key瀛楁,鍋囧榪欎釜鐗╃悊鏂囦歡鍖呭惈浜唊ey瀛楁,閭d箞紼嬪簭灝卞彲浠ラ氳繃Key闅忓嵆鐨勮闂垨鑰呴『璁哥殑璁塊棶璁板綍

You can see in Figure 2 that it is simple to add key fields. 
鐪嬪浘2,寤虹珛key瀛楁鏄潪甯哥畝鍗曠殑

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. 
寮澶寸殑閭d釜"UNIQUE"琛ㄦ槑浜嗕綘瑕丄S400涓嶈兘鍚湁閲嶅key鐨凴ecord,榪欐槸鍙夌殑. 浠g爜鐨勬湯灝炬渶鍚庝袱琛?鍦ㄤ綅緗?7鐨勬湁涓や釜"K",榪欎袱涓?K"灝辨槸瀹氫箟key瀛楁浜?閭d箞,榪欎釜鏂囦歡灝變細鐢ㄥ叕鍙稿彿鐮佸拰瀹㈡埛鍙風爜鏉ュ緩绔媖ey,榪涗竴姝ユ潵璇?鏂囦歡涓嶅厑璁稿惈鏈夊叕鍙稿彿鐮佸拰瀹㈡埛鍙風爜閮界浉鍚岀殑recored.

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. 
Record鏄寜欏哄簭鍐欏叆鏂囦歡鐨?鑰屽亣濡備綘璇誨彇鏁版嵁鐨勬椂鍊欐寚鏄巏ey,璇誨彇鐨勬暟鎹槸宸茬粡鎸夌収鍏徃鍙風爜鍜屽鎴峰彿鐮佹帓濂介『搴?鍚屾椂,浣犱篃鍙互闅忓嵆璇誨彇Record,渚嬪,RPG鐨?CHAIN"璇存槑絎﹀氨鍙互鐢ㄥ叕鍙稿彿鐮佸拰瀹㈡埛鍙風爜闅忓嵆璇誨彇鏂囦歡

Figure 1 - DDS for Physical File Without Key 
     A          R CUREC                    TEXT('CUSTOMER FILE')   
     A            CUCO           3S 0      TEXT('COMPANY #')       
     A            CUSTS          1A        TEXT('STATUS CODE')     
     A            CUNUM          5S 0      TEXT('CUSTOMER #')      
     A            CUNAME        30A        TEXT('CUSTOMER NAME')   
     A            CUADR         30A        TEXT('CUSTOMER ADDRESS') 
     A            CUCITY        18A        TEXT('CUSTOMER CITY')   
     A            CUSTAT         2A        TEXT('CUSTOMER STATE')  
     A            CUZIP          9S 0      TEXT('CUSTOMER ZIP')        
     A            CUCRLM         9P 2      TEXT('CUST CREDIT LIMIT')         
                      
Figure 2 - DDS for Physical File With Key Fields
     A                                     UNIQUE                  
     A          R CUREC                    TEXT('CUSTOMER FILE')   
     A            CUCO           3S 0      TEXT('COMPANY #')       
     A            CUSTS          1A        TEXT('STATUS CODE')     
     A            CUNUM          5S 0      TEXT('CUSTOMER #')      
     A            CUNAME        30A        TEXT('CUSTOMER NAME')   
     A            CUADR         30A        TEXT('CUSTOMER ADDRESS') 
     A            CUCITY        18A        TEXT('CUSTOMER CITY')   
     A            CUSTAT         2A        TEXT('CUSTOMER STATE')  
     A            CUZIP          9S 0      TEXT('CUSTOMER ZIP')    
     A            CUCRLM         9P 2      TEXT('CUST CREDIT LIMIT')              
      *                                                             
     A          K CUCO                                              
     A          K CUNUM 


Eric_jiang 2013-09-04 16:59 鍙戣〃璇勮
]]>
debug rpgle programms(AS400瑙嗛鏁欑▼-濡備綍璋冭瘯RPGLE紼嬪簭)http://www.tkk7.com/jjshcc/archive/2013/08/06/402471.htmlEric_jiangEric_jiangTue, 06 Aug 2013 09:44:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402471.htmlhttp://www.tkk7.com/jjshcc/comments/402471.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402471.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402471.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402471.html

Eric_jiang 2013-08-06 17:44 鍙戣〃璇勮
]]>
AS400 Tutorial - CRTSRCPF錛圓S400瑙嗛鏁欑▼-濡備綍鍒涘緩鐗╃悊鏂囦歡錛?/title><link>http://www.tkk7.com/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.tkk7.com/jjshcc/archive/2013/08/06/402467.html</guid><wfw:comment>http://www.tkk7.com/jjshcc/comments/402467.html</wfw:comment><comments>http://www.tkk7.com/jjshcc/archive/2013/08/06/402467.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/jjshcc/comments/commentRss/402467.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/jjshcc/services/trackbacks/402467.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="http://www.youtube.com/embed/-J_6HLuHmL0" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.tkk7.com/jjshcc/aggbug/402467.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 17:21 <a href="http://www.tkk7.com/jjshcc/archive/2013/08/06/402467.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>AS400 Tutorial - CRTLIB 錛圓S400瑙嗛鏁欑▼-濡備綍鍒涘緩Lib錛?/title><link>http://www.tkk7.com/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.tkk7.com/jjshcc/archive/2013/08/06/402464.html</guid><wfw:comment>http://www.tkk7.com/jjshcc/comments/402464.html</wfw:comment><comments>http://www.tkk7.com/jjshcc/archive/2013/08/06/402464.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/jjshcc/comments/commentRss/402464.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/jjshcc/services/trackbacks/402464.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="http://www.youtube.com/embed/fJ9CV2yBF-8" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.tkk7.com/jjshcc/aggbug/402464.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 17:14 <a href="http://www.tkk7.com/jjshcc/archive/2013/08/06/402464.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>AS400 Tutorial - PWRDWNSYS錛圓S400瑙嗛鏁欑▼錛屽浣曞叧鏈猴級http://www.tkk7.com/jjshcc/archive/2013/08/06/402463.htmlEric_jiangEric_jiangTue, 06 Aug 2013 09:12:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402463.htmlhttp://www.tkk7.com/jjshcc/comments/402463.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402463.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402463.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402463.html

Eric_jiang 2013-08-06 17:12 鍙戣〃璇勮
]]>
AS400瑙嗛鏁欑▼錛屽叧浜庡巻鍙叉棩蹇楃殑涓滆タhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402461.htmlEric_jiangEric_jiangTue, 06 Aug 2013 09:06:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402461.htmlhttp://www.tkk7.com/jjshcc/comments/402461.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402461.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402461.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402461.html

Eric_jiang 2013-08-06 17:06 鍙戣〃璇勮
]]>
AS400瑙嗛鏁欑▼錛屽叧浜嶢S400浣滀笟鐨勪竴浜涗笢瑗?/title><link>http://www.tkk7.com/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.tkk7.com/jjshcc/archive/2013/08/06/402458.html</guid><wfw:comment>http://www.tkk7.com/jjshcc/comments/402458.html</wfw:comment><comments>http://www.tkk7.com/jjshcc/archive/2013/08/06/402458.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/jjshcc/comments/commentRss/402458.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/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.tkk7.com/jjshcc/aggbug/402458.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 16:57 <a href="http://www.tkk7.com/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錛圓S400瑙嗛鏁欑▼錛屽垱寤虹墿鐞嗘枃浠舵簮浠g爜錛?/title><link>http://www.tkk7.com/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.tkk7.com/jjshcc/archive/2013/08/06/402457.html</guid><wfw:comment>http://www.tkk7.com/jjshcc/comments/402457.html</wfw:comment><comments>http://www.tkk7.com/jjshcc/archive/2013/08/06/402457.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/jjshcc/comments/commentRss/402457.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/jjshcc/services/trackbacks/402457.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="http://www.youtube.com/embed/iaVsxA9Rk3M" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.tkk7.com/jjshcc/aggbug/402457.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 16:34 <a href="http://www.tkk7.com/jjshcc/archive/2013/08/06/402457.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>AS400 Tutorial - SNDBRKMSG 錛圓S400瑙嗛鏁欑▼-濡備綍緇欑敤鎴峰彂閫佷俊鎭級http://www.tkk7.com/jjshcc/archive/2013/08/06/402455.htmlEric_jiangEric_jiangTue, 06 Aug 2013 08:03:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402455.htmlhttp://www.tkk7.com/jjshcc/comments/402455.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402455.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402455.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402455.html

Eric_jiang 2013-08-06 16:03 鍙戣〃璇勮
]]>
AS400 Tutorial - Spool File Priority and WRKSPLF錛圓S400瑙嗛鏁欑▼-鑴辨満鏂囦歡鏈夐檺綰у拰WRKSPLF鍛戒護錛?/title><link>http://www.tkk7.com/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.tkk7.com/jjshcc/archive/2013/08/06/402454.html</guid><wfw:comment>http://www.tkk7.com/jjshcc/comments/402454.html</wfw:comment><comments>http://www.tkk7.com/jjshcc/archive/2013/08/06/402454.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/jjshcc/comments/commentRss/402454.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/jjshcc/services/trackbacks/402454.html</trackback:ping><description><![CDATA[<iframe width="420" height="315" src="http://www.youtube.com/embed/wT2BVa0o3Ow" frameborder="0" allowfullscreen=""></iframe><img src ="http://www.tkk7.com/jjshcc/aggbug/402454.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-06 15:56 <a href="http://www.tkk7.com/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錛圓S400瑙嗛鏁欑▼錛屼繚瀛樿劚鏈烘枃浠訛級http://www.tkk7.com/jjshcc/archive/2013/08/06/402452.htmlEric_jiangEric_jiangTue, 06 Aug 2013 07:42:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402452.htmlhttp://www.tkk7.com/jjshcc/comments/402452.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402452.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402452.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402452.html

Eric_jiang 2013-08-06 15:42 鍙戣〃璇勮
]]>
AS400 Tutorial - Running Job Priority錛圓S400瑙嗛鏁欑▼-鏀瑰彉浣滀笟浼樺厛鏉冿級http://www.tkk7.com/jjshcc/archive/2013/08/06/402451.htmlEric_jiangEric_jiangTue, 06 Aug 2013 07:38:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402451.htmlhttp://www.tkk7.com/jjshcc/comments/402451.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402451.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402451.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402451.html

Eric_jiang 2013-08-06 15:38 鍙戣〃璇勮
]]>
AS400 Tutorial - Coding a Database File錛圓S400瑙嗛鏁欑▼錛屼竴涓暟鎹簱鏂囦歡鐨勭紪鐮侊級http://www.tkk7.com/jjshcc/archive/2013/08/06/402450.htmlEric_jiangEric_jiangTue, 06 Aug 2013 07:22:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402450.htmlhttp://www.tkk7.com/jjshcc/comments/402450.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402450.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402450.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402450.html

Eric_jiang 2013-08-06 15:22 鍙戣〃璇勮
]]>
AS400 Tutorial - Compile DDS Database File錛圓S4瑙嗛鏁欑▼-緙栬瘧DDS鏁版嵁搴撴枃浠訛級http://www.tkk7.com/jjshcc/archive/2013/08/06/402449.htmlEric_jiangEric_jiangTue, 06 Aug 2013 07:14:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402449.htmlhttp://www.tkk7.com/jjshcc/comments/402449.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402449.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402449.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402449.html

Eric_jiang 2013-08-06 15:14 鍙戣〃璇勮
]]>
AS400 Tutorial - WRKSYSSTS錛圓S400 瑙嗛鏁欑▼錛屽浣曞療鐪嬬郴緇熺姸鎬侊級http://www.tkk7.com/jjshcc/archive/2013/08/06/402447.htmlEric_jiangEric_jiangTue, 06 Aug 2013 07:08:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402447.htmlhttp://www.tkk7.com/jjshcc/comments/402447.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402447.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402447.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402447.html

Eric_jiang 2013-08-06 15:08 鍙戣〃璇勮
]]>
AS400 Tutorial - ENDSBS & STRSBS(AS400瑙嗛鏁欑▼錛屽浣曞紑濮嬪拰緇堟浣滀笟)http://www.tkk7.com/jjshcc/archive/2013/08/06/402446.htmlEric_jiangEric_jiangTue, 06 Aug 2013 07:07:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/08/06/402446.htmlhttp://www.tkk7.com/jjshcc/comments/402446.htmlhttp://www.tkk7.com/jjshcc/archive/2013/08/06/402446.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402446.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402446.html

Eric_jiang 2013-08-06 15:07 鍙戣〃璇勮
]]>
AS/400 絎節绔? Subfiles 瀛愭枃浠?/title><link>http://www.tkk7.com/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.tkk7.com/jjshcc/archive/2013/08/02/402286.html</guid><wfw:comment>http://www.tkk7.com/jjshcc/comments/402286.html</wfw:comment><comments>http://www.tkk7.com/jjshcc/archive/2013/08/02/402286.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/jjshcc/comments/commentRss/402286.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/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>鍦ㄨ繖涓绔狅紝鎴戜滑灝嗚鍒涘緩涓涓瓙鏂囦歡錛屽畠鐢ㄤ簬鏍規嵁鐗瑰畾鐨処D鏄劇ず鎵鏈夌殑鍗★紝涓轟簡鏇村ソ鍦扮淮鎶ゅ嚑寮犺〃錛屾垜浠垱寤轟竴涓〃鍖呭惈澶氫釜鎴戜滑灝嗚鐢ㄥ湪瀛愭枃浠剁殑瀛楁錛屽湪STRSQL涓緭鍏ヨ繖浜涗唬鐮?/div><div>CREATE VIEW CLICARD AS SELECT CL.ID_CLI, CR.ID_CRD, SH.NAME_SHP, CR.SHOP_CRD </div><div>FROM DEMO/CLIENTS CL, DEMO/SHOP SH, DEMO/CARDS CR </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 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>鍒涘緩涓涓狟ottom璁板綍鍍忓涓?/div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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: 鍜孴op璁板綍</div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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>鐜板湪鎴戜滑寮濮嬪垱寤哄瓙鏂囦歡浜嗭紝鍒涘緩涓涓柊鐨勮褰曪紝鍚嶅瓧涓篖IST錛岃褰曠殑綾誨瀷鏄疭FL</div></div><div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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>鐜板湪鎴戜滑鎸変笅鍥炶濺錛屼竴涓柊鐨勮褰曞嚭鐜板涓嬶紝鍦ㄤ笂闈㈠啓涓婼FLCTL濡傚浘</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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 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>鍦℅eneral Keywords鑿滃崟杈撳叆杈撳叆濡備笅</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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>榪欎簺鎸囩ず鍣ㄥ厑璁告垜浠埄鐢≧PG浠g爜緇存姢鎺у埗鎺у埗瀛愭枃浠剁殑鐘舵侊紝杈撳叆鍥炶濺鎴戜滑浼氳繑鍥炰箣鍓嶇殑灞忓箷鐣岄潰錛岀幇鍦ㄩ夋嫨瀛愭枃浠剁殑鏄劇ず甯冨眬</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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>鍦ㄥ瓙鏂囦歡鐨勬渶澶у艱緭鍏?999鍜岄〉闈㈢殑鏈澶ц褰曟暟杈撳叆9</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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 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 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 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 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鍜孊ottom榪涜鍙鍖?鎸変笅F9)</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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 “Client Nr.”. Select the fields from CLICARD view for input/output (F10) and select the ID_CLI field:</div><div>榪斿洖璁捐鐣岄潰錛屽湪涓婇潰鍐欎笂“Client Nr.”錛屽湪CLICARD璇曞浘涓夋嫨瀛楁ID_CLI浣滀負杈撳叆鍜岃緭鍑猴紝</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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 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>鐜板湪鎴戜滑娣誨姞涓浜涙柊鐨勫睘鎬х粰涓嶤lient ID瀛楁錛屽湪榪欎釜瀛楁鐨勫乏杈硅緭鍏ヤ竴涓?</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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娌℃湁鎵懼埌璁板綍錛堣繖涓狪D騫朵笉瀛樺湪鎴栬呮牴鎹繖涓狪D鎵句笉鍒拌褰曪級鐨勬椂鍊欙紝榪欎釜鎸囩ず鍣ㄥ皢琚縺媧伙紝鍦ㄩ敊璇弿榪伴夐」鐨勫湴鏂硅緭鍏</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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 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鍜孊ottom璁板綍浣滄樉紺猴紙鎸変笅F9錛?/div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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>鍒涘緩涓涓緭鍏ュ瓧孌碉紝鐢ㄦ埛鎴戝湪榪欓噷杈撳叆閫夐」錛屾垜浠湪濡備笅鍥劇殑浣嶇疆杈撳叆‘+i’鐒跺悗鎸変笅鍥炶濺</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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>娉ㄦ剰浣犱箣鍓嶆槸濡備綍瀹氫箟瀛愭枃浠剁殑姣忛〉澶у皬涓?琛?/div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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>浠嶤LICARD瑙嗗浘涓夋嫨璁板綍浣滀負杈撳叆</div></div></p><div style="font-family: 'Times New Roman'; line-height: normal; font-size: medium; "><p><a 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>榪欎簺瀛楁澶ф浼氭湰鏄劇ず涓ゆ錛屽洜涓篠DA浼氭妸涔嬪墠鍔犺澆鐨勫瓧孌典篃琚樉紺哄嚭鏉ワ紝鍥犳閫夋嫨瀛楁鐨勬椂鍊欓渶瑕佸皬蹇冧竴鐐癸紝灝介噺閫夋嫨閭d簺姣旇緝闈犲彸鐨勫瓧孌碉紝鍥犱負浠栦滑鏄渶鍚庤鍔犺澆鐨勶紝</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 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 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 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 “F3=Exit” 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>涓嶈蹇樿嬋媧?3鎸囩ず鍣紝鍦ㄦ枃浠剁殑灞傞潰錛屼嬌寰?#8220;F3=Exit”鐢熸晥錛屽悓鏃舵坊鍔犲叧閿瓧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>鍦↙IST璁板綍涓紝浣犲繀欏諱慨鏀歸粯璁ょ殑杈撳叆瀛楁鐨勫悕瀛楋紝鍥犱負榛樿鏄疐LD001錛屾垨鑰呭儚濡備笅</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>瑕佽繍琛屽瓙鏂囦歡錛屼綘蹇呴』鍒涘緩涓涓猂PGLE鐨勬垚鍛橈紝媯鍑烘枃浠禥RPGLESRC.SHW_SFL 鏌ョ湅涓涓嬬粏鑺傦紝鐪嬬湅鏄浣曞啓榪欎釜鏂囦歡</div><div>When you run the RPGLE code: 褰撲綘榪愯RPGLE浠g爜鍚庡彲浠ョ湅鍒頒笅闈㈢殑緇撴灉</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 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 >as400_code.zip</a></li></ul></div></div><img src ="http://www.tkk7.com/jjshcc/aggbug/402286.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/jjshcc/" target="_blank">Eric_jiang</a> 2013-08-02 10:34 <a href="http://www.tkk7.com/jjshcc/archive/2013/08/02/402286.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>AS400絎叓绔?Display Files濡備綍鍒涘緩鏄劇ず鏂囦歡http://www.tkk7.com/jjshcc/archive/2013/07/30/402166.htmlEric_jiangEric_jiangTue, 30 Jul 2013 09:07:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/07/30/402166.htmlhttp://www.tkk7.com/jjshcc/comments/402166.htmlhttp://www.tkk7.com/jjshcc/archive/2013/07/30/402166.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402166.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402166.html

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.
鏄劇ず鏂囦歡鏄竴浜涘府鍔╂垜浠垱寤哄拰鐢ㄦ埛榪涜浜や簰鐨凙S400鑿滃崟鍜屽睆騫曠晫闈㈢殑DDS鏂囦歡銆傛樉紺烘枃浠惰兘澶熷寘鍚涓邯褰曪紝姣忎釜璁板綍瀹氫箟浜嗗睆騫曠晫闈㈢殑涓閮ㄥ垎銆傝繖浜涜褰曟垨鑰呯浉浜掕鐩栥?/div>
The SDA application allows us to “draw” what should show up on the screen and creates the DDS code from our “drawing”. 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.
SDA紼嬪簭鍏佽鎴戜滑鍦ㄥ睆騫曚笂“鐢昏崏紼?#8221;錛屽畠浼氭牴鎹垜浠墍鐢葷殑“鑽夌ǹ”鐢熸垚鐩稿簲鐨凞DS浠g爜銆備笅闈紝鎴戜滑灝嗚鍒涘緩鍒╃敤DDS鍒涘緩涓涓睆騫曠晫闈紝鐒跺悗鏌ョ湅榪欎簺浠g爜鐨勭墖鏂紝鍥犱負錛屾湁浜涙椂鍊欙紝鍒╃敤浠g爜鏉ヤ慨鏀圭晫闈㈣繕鏄瘮杈冨鏄撲簺銆?/div>
In this chapter 錛寃e'll create a screen to show a clients data.
鍦ㄨ繖涓绔狅紝鎴戜滑灝嗗垱寤轟竴涓樉紺哄鎴鋒暟鎹殑鐣岄潰銆?/div>
To open SDA type STRSDA on the system prompt. This screen should appear:
鍦ㄧ郴緇熷懡浠よ杈撳叆STRDA灝卞彲浠ユ墦寮SDA紼嬪簭浜嗭紝濡備笅鍥炬樉紺猴細

 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.

閫夋嫨1錛岀劧鍚庤緭鍏ョ浉鍏崇殑閫夐」錛屽涓嬪浘錛孲ource file灝辨槸浠g爜淇濆瓨鐨勬枃浠朵簡錛屽湪Member杈撳叆鎴戜滑鎯寵鍒涘緩鐨勬垚鍛橈紙Member錛夈?/div>

 Create file 鍒涘緩鏂囦歡

Press Enter. A new screen appears. Add a new record, named TOP, typing what you see on the image bellow.
鎸変笅鍥炶濺閿紝鐒跺悗鎴戜滑娣誨姞璁板綍錛屽懡鍚嶄負Top錛屽涓嬪浘

 Now specify the record type, in this case it's RECORD:

鎺ョ潃鎴戜滑杈撳叆璁板綍綾誨瀷錛屽湪榪欎釜渚嬪瓙涓垜浠緭鍏ecord

After the Enter an empty screen appears. In this screen you can “draw” the top record. Add the content you see on the image bellow.
鎸変笅鍥炶濺錛岀幇鍦ㄦ垜浠氨鍙互“鑽夌粯” top璁板綍錛屾坊鍔犲唴瀹逛簡錛屽涓嬪浘錛?/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>
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).
*USER鐢ㄦ潵鍦ㄥ睆騫曚笂鏄劇ず鐢ㄦ埛鍚?/div>
*DATE鐢ㄦ潵鍦ㄥ睆騫曚笂鏄劇ず緋葷粺褰撳墠鏃ユ湡銆?/div>
*TIME 鐢ㄦ潵鍦ㄥ睆騫曚笂鏄劇ず緋葷粺鐨勫綋鍓嶆椂闂淬?/div>
*SYSNAME 鐢ㄦ潵鍦ㄥ睆騫曚笂鏄劇ず緋葷粺鍚嶇О銆?/div>

 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.

鎸夌収涓婂浘杈撳叆瀹屾垚鍚庢寜涓嬪洖杞︼紝灝卞彲浠ョ湅鍒頒笅鍥句簡錛岃鍦ㄦ寜涓嬪洖杞︿箣鍓嶄粩緇嗘鏌ワ紝鍥犱負鎸変笅鍥炶濺涔嬪悗錛屽彧鑳界敤浠g爜榪涜淇敼浜嗭紝褰撶劧錛屼綘涔熷彲浠ラ鍑鴻繖鏉¤褰曡屼笉淇濆瓨錛屼絾鏄綘灝變細涓㈠け榪欎簺宸ヤ綔鎴愭灉銆?/div>
Moving a field 縐誨姩瀛楁
You can move a field to the right placing “>” characters to the right of the field. The number of > you type will be the number of columns the field will move. To move the field to the left place < signs on the left side of the field.
浣犲彲浠ラ氳繃鍦ㄥ瓧孌靛彸杈圭殑杈撳叆銆夋潵浣垮瓧孌靛悜鍚庣Щ鍔紝浣犺緭鍏ャ夌鍙風殑鏁伴噺灝辨槸瀛楁鍚戝彸縐誨姩鐨勪綅縐婚噺錛屽悜宸︽槸鍚屾牱鐨勯亾鐞嗐?/div>

 Centering a field 瀛楁灞呬腑

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.
Press F3 to finish editing this record. Choose option 1 to save your work:
瑕佹槸鎯沖皢瀛楁灞呬腑錛屼綘鍙互鍦ㄥ瓧孌電殑宸﹁竟杈撳叆ac錛宑蹇呴』瑕嗙洊瀛楁瀛楁鐨勭涓涓瓧絎︼紝鐒跺悗鎸変笅鍥炶濺錛屾寜涓婩3緇撴潫浣犲瀛楁鐨勭紪杈戯紝閫夋嫨1淇濆瓨浣犵殑宸ヤ綔鎴愭灉銆?/div>

Create another record named BOTTOM, the same way you've created the TOP record.

鐜板湪鎴戜滑鍒涘緩鍙﹀涓涓褰曞彨鍋欱ottom錛屾柟娉曟槸璺熷垱寤篢OP瀛楁鏄竴鏍風殑銆?/div>
When you open the new record for editing press F9. This menu will appear:
褰撲綘鎵撳紑鎸変笅F9瀵規柊鐨勮褰曪紝鎴戜滑鍙互鐪嬭鑿滃崟鏄劇ず鍑烘潵浜?/div>

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 “In Use” 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.

涓轟簡涓嶈瑕嗙洊浣犵殑鍏朵粬璁板綍錛屼綘鍙互閫夋嫨鍦ㄨ彍鍗曚腑瀵瑰叾浠栬褰曞彲瑙嗗寲錛屼綘鍙互鍙戠幇Bottom璁板綍澶勪簬姝e湪浣跨敤“In Use”鐘舵侊紝鎰忓懗鐫榪欐鏄垜浠鍦ㄧ紪杈戠殑璁板綍錛屼綘鍙互閫夋嫨鏈鍒?鏉¤褰曡繘琛屽彲瑙嗗寲錛屽皢1錛?錛? 鏀懼湪浣犳兂鍙鍖栫殑璁板綍涓婇潰錛岀劧鍚庢寜鍥炶濺

The names of the selected fields appear on the bottom of the screen. Don't forget you are only “drawing” on the record in use. The other records only help you place your elements on the right place.

鍙互鐪嬪埌錛屼綘鎵閫夌殑瀛楁鏄劇ず鍦ㄥ睆騫曠殑搴曢儴浜嗭紝浣嗘槸浣犱笉瑕佸繕璁頒簡錛屼綘鍙兘“鑽夌粯”閭d釜姝e湪浣跨敤錛?#8220;In Use”錛夌殑璁板綍錛屽叾瀹冭褰曞彧鑳借緟浣愰偅涓鍦ㄤ嬌鐢ㄧ殑瀛楁鏀劇疆鍚堥傜殑浣嶇疆鑰屽凡銆?nbsp;
“Draw” something similar to what you see in the next image. Use the underscore to make the line.
鍍忎笅鍥鵑偅鏍?#8220;鑽夌粯”鎴戜滑鐨勯渶瑕佺殑鐣岄潰錛屾垜浠嬌鐢ㄤ笅鍒掔嚎鎻忚堪鍑轟竴鏉$洿綰挎潵

Changing field proprieties淇敼瀛楁灞炴?/span>

We're going to edit the proprieties of the “F3=Exit” field. Place an '*' at the left of the field and press Enter:
鎴戜滑鐜板湪淇敼“F3=Exit” 瀛楁鐨勫睘鎬э紝鍦ㄨ繖涓瓧孌電殑宸﹁竟杈撳叆*, 鐒跺悗鎸変笅鍥炶濺銆?/div>

This screen appears. Place an 'Y' in the Colors option. We're going to change the color of the characters.

褰撳嚭鐜頒簡涓嬮潰鐨勭晫闈紝鍦ㄩ鑹查夐」涓緭鍏錛?/div>

Place an 1 in the Blue field:

鍦ㄨ摑鑹查夐」閭i噷杈撳叆1

Select blue color 閫夋嫨钃濊壊

Press Enter until you're back in the editing screen. The field is now blue. Exit the editing screen (F3) and save your work.
鎸夊洖杞﹁繑鍥烇紝鐩磋嚦浣犺繑鍥炵紪杈戠晫闈紝鐜板湪鍙互鐪嬪埌瀛楁宸茬粡鍙樻垚钃濊壊浜嗭紝鎸塅3閫鍑虹紪杈戠晫闈㈢劧鍚庝繚瀛樹綘鐨勫伐浣滄垚鏋溿?/div>
Create a new record, MIDDLE, the same way you've created the previous records.
鍒涘緩涓涓柊鐨勮褰曪紝MIDDLE錛屾柟娉曡窡浣犱箣鍓嶇殑浜嬩竴鏍風殑
Press F9 to visualize the records you already created:
鎸塅9鍙鍖栦綘鍒氬垰鍒涘緩鐨勮褰?/div>

 Draw what you can see in the following image. Press Enter when you're done.

鎸夌収涓嬪浘鑽夌粯鐣岄潰錛屽畬鎴愬悗鎸夊洖杞?/div>

Add fields

娣誨姞瀛楁
Using table records
浣跨敤琛ㄨ褰?/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:
鐜板湪鎴戜滑灝嗚鍦ㄥ鎴瘋〃涓夋嫨鎴戜滑鎯寵鐨勫瓧孌碉紝灝嗕粬浠樉紺哄湪鐣岄潰涓婇潰錛屾寜涓婩10錛岀幇鍦ㄧ3欏癸紙select the Database File Clients for output錛夛紝浣犱篃鍙互涓哄叾瀹冪殑閫夐」錛岄夋嫨瀛楁浣滀負杈撳嚭鍜岃緭鍏ャ?/div>

Select the table 閫夋嫨琛?/span>

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 '&'. 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.
鍦ㄤ笅鍥句腑錛屼綘鍙互鐪嬪埌涓鏉′俊鎭樉紺哄湪鏈涓嬮潰錛屾樉紺轟簡瀹㈡埛琛ㄧ殑鎵鏈夊瓧孌靛拰瀛楅潰鍚嶅瓧鍓嶉潰闄勫甫鐫鍙風爜錛岃灝嗚繖浜涘瓧孌墊樉紺哄湪鐣岄潰鐨勶紝浣犻渶瑕佸皢鐩稿叧鐨勫瓧孌電殑鍙風爜鍐欏湪灞忓箷鐣岄潰涓婏紝鍓嶈竟甯︿笂涓涓?#8216;&’鐨勭鍙鳳紝濡備笅鍥撅紝

 The final result: 鏈鍚庣粨鏋?/span>

 Exit the record editing. We now need to make a few adjustments to the file options.

鎺ㄥ嚭璁板綍緙栬緫錛屾垜浠渶瑕佸鏂囦歡閫夐」榪涜涓浜涗慨鏀?/div>
Record level options (overlay) 璁板綍灞傞潰閫夐」錛堣鐩栵級
Choose option 8 to the TOP record: 鍦═op璁板綍閫夋嫨閫夐」8

Change overlay option 淇敼瑕嗙洊閫夐」

Select option Overlay Keywords: 閫夋嫨瑕嗙洊鍏抽敭瀛?/div>

Change overlay option step 2  淇敼瑕嗙洊閫夐」絎簩姝?/span>

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.
鍦ㄩ夐」錛圤verlay without erasing錛夌殑鍦版柟杈撳叆Y錛岃繖涓夐」鍏佽浣犲湪灞忓箷鐣岄潰涓悓鏃舵樉紺哄叾浠栫殑璁板綍銆備竴璺洖杞︾洿鑷充綘鐪嬪埌璁板綍鍒楄〃錛屽湪鍏朵粬鐣岄潰涓縺媧昏繖涓夐」

Change overlay option step 3

淇敼瑕嗙洊灞炴ф楠?
File level options (indicators) 鏂囦歡灞傞潰鐨勯夐」錛堟寚紺哄櫒錛?/div>
We need to declare the indicator 03 (so that “F3=Exit” 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.
瑕佸疄鐜?#8220;F3=Exit”鐨勫姛鑳斤紝鎴戜滑闇瑕侀渶瑕佸湪鏂囦歡鐨勫眰闈㈠0鏄庢寚紺哄櫒03錛屽湪瀛楁鍒楄〃鐨勮彍鍗曚腑鎴戜滑杈撳叆F14 (F13=shift+F1; F14=shift+F2; F15=shift+F3, etc.).鐒跺悗錛屾垜浠夋嫨鎸囩ず鍣ㄩ夐」鍏抽敭瀛楋紝濡備笅鍥?/div>

 Insert the data you see on the image below:鎸夌収涓嬪浘杈撳叆

 

Press Enter until you've reached the starting menu. Press F3 and save the file.
涓璺洖杞︾洿鑷崇湅鍒板紑濮嬭彍鍗曪紝鎸塅3淇濆瓨鏂囦歡銆?/div>
Display Files DDS code 鏄劇ずDDS鏂囦歡鐨勪唬鐮?/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:
浣犲彲浠ユ煡鐪嬩笂闈㈡楠や駭鐢熺殑DDS浠g爜錛屼綅緗湪QDDSSRC錛屾垚鍛樺悕瀛楁槸SHW_CLI錛屽湪鏂囦歡鐨勫紑澶存垜浠彲浠ョ湅鍒拌繖鏍蜂袱琛岋細
A DSPSIZ(24 80 *DS3)
A CF03(03 'Exit')
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:
榪欐槸鏂囦歡灞傞潰鐨勯夐」錛屼綘榪熶簺鍙互鍦ㄨ繖閲屽鍔犱竴琛岋紝瀹冨厑璁鎬綘閲嶅懡鍚嶈繖涓凡緇忕敤浜嗙殑鎸囩ず鍣紝鍦―SPSIZ鍚庨潰娣誨姞涓琛岋紝濡備笅
A INDARA
You should also have some lines like these: 浣犱篃鍙互娣誨姞鍑犺鍍忎笅闈㈢殑錛?/div>
A R TOP
A OVERLAY
A 1 65USER
A 3 27'Client Details:'
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.
涓婇潰鍥涜鏄叧浜嶵OP 璁板綍鐨勫畾涔夛紝瑕佹敞鎰忕殑鏄疧VERLAY 閫夐」鏄垜浠湪SDA涓畾涔夌殑錛屽叧閿瓧USER琚斁鍦ㄧ涓琛岋紝絎?5鍒椼?/div>
Look at this line from MIDDLE record: 鐜板湪鎴戜滑鐪嬬湅MIDDLE鐨勮褰?/div>
A ID_CLI R O 8 23REFFLD(CLIENTS/ID_CLI DEMO/CLIENTS)
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).
榪欓噷浣犲畾涔変簡涓涓紩鐢紝鎸囧悜CLIENTS琛ㄧ殑ID_CL瀛楁錛岃繖涓瓧孌電殑浣嶇疆鍦ㄧ8琛岋紝絎?3鍒楋紝鏄竴涓彧璇葷殑瀛楁銆?/div>
Compile the file (option 14) after you've closed the member.
鍏抽棴浜嗚繖涓垚鍛樹箣鍚庯紝浣犲彲浠ユ寜F14緙栬瘧榪欎釜鏂囦歡銆?/div>
Executing display files 鎵ц鏄劇ず鏂囦歡
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:
瑕佽繍琛岃繖涓晫闈紝浣犲繀欏誨垱寤轟竴涓猂PGLE鎴愬憳錛屾潵澶勭悊鎵鏈夊彲鑳界殑浜嬩歡錛堜緥濡傛寜涓婩3錛夛紝鎵撳紑鏂囦歡QRPGLESRC.SHW_CLI錛岀湅鐪嬫垜浠嫳鏂囨庝箞瀹氫箟榪欎釜鎴愬憳錛屽垱寤轟竴涓儚QRPGLESRC.SHW_CLI鏂囦歡錛岀劧鍚庢垜浠繍琛岋紝緇撴灉濡備笅鍥撅紝

Execute display file 1

If you press Enter:



]]>IBM鎻愪緵鐨?00鐜 http://www.tkk7.com/jjshcc/archive/2013/07/26/402010.htmlEric_jiangEric_jiangFri, 26 Jul 2013 08:51:00 GMThttp://www.tkk7.com/jjshcc/archive/2013/07/26/402010.htmlhttp://www.tkk7.com/jjshcc/comments/402010.htmlhttp://www.tkk7.com/jjshcc/archive/2013/07/26/402010.html#Feedback0http://www.tkk7.com/jjshcc/comments/commentRss/402010.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/402010.htmlIBM鎻愪緵鐨?00鐜錛?1銆佺敤IE璁塊棶400鐨勫湴鍧濡備笅錛?a style="word-wrap: break-word; text-decoration: none; color: #565656; ">http://iseriesd.dfw.ibm.com/webaccess/iWA5250 2銆佺敤PCOM400鐨勯厤緗涓嬶細涓繪満IP錛?iSeriesD.DFW.IBM.COM绔?鍙o細 23 鐢?鎴鳳細 WUSER瀵?鐮侊細 DEMO2PWD


]]>AS400 Tutorial - Navigation, Menus and FKeys http://www.tkk7.com/jjshcc/archive/2012/05/25/379230.htmlEric_jiangEric_jiangFri, 25 May 2012 06:57:00 GMThttp://www.tkk7.com/jjshcc/archive/2012/05/25/379230.htmlhttp://www.tkk7.com/jjshcc/comments/379230.htmlhttp://www.tkk7.com/jjshcc/archive/2012/05/25/379230.html#Feedback1http://www.tkk7.com/jjshcc/comments/commentRss/379230.htmlhttp://www.tkk7.com/jjshcc/services/trackbacks/379230.html

]]>
主站蜘蛛池模板: 亚洲精品中文字幕麻豆| 亚洲一区二区三区免费观看| 亚洲国产最大av| 精品亚洲综合久久中文字幕| 四虎永久免费网站免费观看| 美女视频黄免费亚洲| 无码国产精品一区二区免费vr | 中文字幕永久免费视频| WWW亚洲色大成网络.COM| avtt天堂网手机版亚洲| 91亚洲自偷手机在线观看| 亚洲无人区午夜福利码高清完整版| 成人免费视频国产| 成人奭片免费观看| 日韩国产免费一区二区三区| 99国产精品免费视频观看| av永久免费网站在线观看| 波霸在线精品视频免费观看| caoporn成人免费公开| 日韩大片免费观看视频播放 | 久草视频免费在线| 18pao国产成视频永久免费| 久久免费观看国产99精品| 日本免费A级毛一片| 二区久久国产乱子伦免费精品| 国产精品免费久久| 久久国产精品免费| a级毛片免费播放| 久久性生大片免费观看性| 亚洲免费一区二区| 97无码人妻福利免费公开在线视频| 中文字幕在线免费观看视频| 国产在线观a免费观看| 成人片黄网站色大片免费观看APP| 热久久这里是精品6免费观看| 国产啪精品视频网站免费尤物| 久久精品视频免费看| 久久久久久精品免费看SSS| 性短视频在线观看免费不卡流畅| 日本精品人妻无码免费大全| 免费观看毛片视频|