亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 1581 | 回復(fù): 0
打印 上一主題 下一主題

顯示和理解和理解庫(kù)表 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2012-09-21 09:38 |只看該作者 |倒序?yàn)g覽
本帖最后由 jiangjinsong 于 2012-09-21 09:46 編輯

Authoravid Mount

########## 請(qǐng)保留下面信息   ####################
出處:http://www.texas400.com/BSliblst.html
翻譯:Eric Kong mail:eric_cc@qq.ccom
關(guān)鍵字: 葡萄牙語(yǔ) Mainframe AS400 Java 廣州 求職 招聘 獵頭 www.puyufanyi.com
備注:本人Java高級(jí)工程師,初學(xué)AS400,有好的職位,可以跟我聯(lián)系,文章如果翻譯不正確,敬請(qǐng)?zhí)岢?br /> ################################################

Display and understand your Library List
顯示和理解庫(kù)表

The library list on the AS/400 is similar to the "path" on PC's. Mainframe programmers may compare it to the "steplib" or "joblib". It defines the order of libraries that the operating system uses to find objects.
在AS/400中的庫(kù)表就像PC的路徑,Mainframe的程序員會(huì)拿steplib或者joblib來(lái)跟它做對(duì)比,它定義了操作系統(tǒng)尋找對(duì)象的順序.


When you execute a command or call a program, the AS/400 must know where to find the command or program. Sometimes, you specify the library explicitly. But if you don't, the AS/400 will find your command or program but looking in each library in your library list. It will use the first one that it finds.

當(dāng)你執(zhí)行一個(gè)命令或者凋用一個(gè)程序的時(shí)候,AS400必須知道怎么樣去尋找這個(gè)命令或者程序,有時(shí)侯,你必須顯性地指出對(duì)應(yīng)的庫(kù),假如你沒(méi)有這樣做,AS400會(huì)搜索你的庫(kù)表中的所有的庫(kù),調(diào)用第一個(gè)它所找到的命令或程序.


This is very handy for testing. If you are testing a version of a program, you can put it in a test library which is at the top of your library list. Then, whenever you specify a program or refer to a file, the system will use any object it can find in the test library. If it can't find it there, it will look further through your library list until it finds it.

這對(duì)于測(cè)試來(lái)說(shuō)非常方便,假如你測(cè)試某個(gè)版本的程序,你只需要將你測(cè)試的庫(kù)放在你的庫(kù)表的最上方就可以了,這樣一來(lái),當(dāng)你調(diào)用程序的時(shí)候,系統(tǒng)就會(huì)調(diào)用調(diào)用測(cè)試庫(kù)來(lái)運(yùn)行,假如找不到,系統(tǒng)會(huì)進(jìn)一步在庫(kù)表里面找,直至找到.

So, setting up a test environment is as simple as:
1) Create a test library.
2) Put objects that you want to test in the library. These can be files, menus, programs or any AS/400 object.
3) Insert the test library name in your library list before your production libraries.

所以,建立一個(gè)測(cè)試環(huán)境是這樣的簡(jiǎn)單:
1)建立一個(gè)測(cè)試的庫(kù).
2)將所有對(duì)象放入你所建的測(cè)試庫(kù)里面,這些可以是文件,菜單,程序或者其他AS400的對(duì)象.
3)插入這個(gè)測(cè)試庫(kù)到你的庫(kù)表里面,位于所有生產(chǎn)環(huán)境庫(kù)之前.


Now you can execute test programs and modify test data. The best part is that you don't need to copy production programs or files into the test library unless they will be affected by the test. That is, all those supporting database files that you need to run a program, but that are used for input only, do not need to be copied to the test library. Of course, if you are unsure if a file will be modified during your test procedure, copy it to the test library anyway.

現(xiàn)在你就可以執(zhí)行程序和修改測(cè)試數(shù)據(jù)了,這里比較好的一點(diǎn)就是,你沒(méi)有需要復(fù)制生產(chǎn)環(huán)境的程序或者文件到測(cè)試庫(kù),除非他們測(cè)試后需要被修改,當(dāng)然了,假如你不能夠肯定某些數(shù)據(jù)在你的測(cè)試過(guò)程中是否會(huì)被修改,那你還是把他們復(fù)制到測(cè)試庫(kù)里面去吧.

Once you have inserted the test library name in your library list, you will want to make sure everything is in the proper order. Use the DSPLIBL command to see your library list. You will probably see three types of list entries:

一旦你把測(cè)試庫(kù)放入你的庫(kù)表中,你必須確定所有這些東西按照正確順序排列,用DSPLIBL命令去看一下你的庫(kù)表,你會(huì)看到下面3種類型的庫(kù)

1) The SYS libraries have operating system objects. This is where the AS/400 commands and menus live.
2) The CUR library is your current library. This is your first user library and is where objects are created if you don't specify which library to use.
3) The USR libraries list your other user libraries.

1)SYS系統(tǒng)庫(kù),包含了操作系統(tǒng)的對(duì)象,AS400命令和菜單的對(duì)象就在里面
2)CUR當(dāng)前庫(kù),默認(rèn)的存放用戶庫(kù)的地方,假如你沒(méi)有特別的指定,你所建立的庫(kù)就是放在這里了.
3)USR用戶庫(kù),列出了你用的其他用戶庫(kù)

Use EDTLIBL to change your USR libraries. You can rearrange the list, remove libraries or add libraries. Notice that you can't see the SYS or CUR libraries when you use EDTLIBL. The only way to change the current library is with the CHGCURLIB command.

用EDTLIBL來(lái)修改你的用戶庫(kù),你可以重新排列這個(gè)表,刪除庫(kù)或者添加庫(kù),注意到你是不能用EDTLIBL查看系統(tǒng)庫(kù)和當(dāng)前庫(kù)的,你想修改當(dāng)前庫(kù)的話,要用CHGCURLIB命令.
The WRKOBJ command will help see which object is being used. This command is similar to the directory ("dir" command on PC's. Use it to list objects in your library list.

WRKOBJ命令幫助你查看你正在使用那些對(duì)象,就像你用的PC的dir命令,用它來(lái)列出你庫(kù)表所有的庫(kù)
So, if you have three copies of a program, "AYCALC", in different libraries, use the command WRKOBJ PAYCALC to see which copy of "AYCALC" will be used. The command will list all objects named "AYCALC" in the sequence that the AS/400 finds them. If you ever say to yourself in frustration, "I know I changed the program but it looks like I'm still running the original program", it's a pretty good bet that you're executing a different copy of the program than you think. This is only a fraction of the power of the WRKOBJ command. It is the easiest way to navigate through an undocumented system.

這樣,假如不同的庫(kù)中,你有程序PAYCALC的三個(gè)副本,你可以用命令 WRKOBJ PAYCALC來(lái)查看你正在使用哪個(gè)庫(kù)中PAYCALC,這個(gè)命令列出AS400按順序所找到的PAYCALC的對(duì)象,假如有這樣沮喪的經(jīng)歷,明明修改了某個(gè)程序,但是好像總是運(yùn)行著舊的原來(lái)那個(gè).那執(zhí)行這個(gè)命令就十分有用了,這是WRKOBJ命令強(qiáng)大的作用之一,對(duì)于那些沒(méi)有做好文檔管理的系統(tǒng)是十分有用的

DSPLIBL - Display complete library list

EDTLIBL - Edit library list

CHGCURLIB - Change Current Library

WRKOBJ - Work with objects (similar to PC "dir"



您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP