- 論壇徽章:
- 0
|
########## 請保留下面信息 ####################
作者 avid Mount
出處:http://www.texas400.com/b400tip18.html
翻譯:Eric Kong
E-Mail:eric_cc@qq.ccom
關鍵字: 葡萄牙語 Mainframe AS400 Java 廣州 求職 招聘 獵頭 www.puyufanyi.com
備注:本人Java高級工程師,初學AS400,有好的職位(廣州),可以跟我聯(lián)系,文章如果翻譯不正確,敬請?zhí)岢?br />
################################################
Physical Files and Logical Files
物理文件和邏輯文件
Physical files hold the actual data of a database file. The data is written in arrival sequence.
物理文件保存了數(shù)據(jù)庫文件的實際數(shù)據(jù),這些數(shù)據(jù)以數(shù)據(jù)到達順序來保存
Physical files are not required to have keyed fields. If a physical file has key fields, this is the order that an RPG program will read the data if the File Spec in the program indicates to read the data in keyed sequence.
物理文件不一定需要擁有Key字段,但假如一個物理文件自身擁有Key字段,而且在程序中File Spec又表明用key的字段來讀取,那么程序就會用Key來讀取數(shù)據(jù),而不是默認的順序讀取.
Also, with a keyed field, an RPG program can CHAIN, SETLL, READE and READP.
而且,因為有了Key字段,那么RPG程序就可以用進行CHAIN, SETLL, READE and READP的操作.
A simple logical file is a different view of the physical file. It is actually a list of pointers to the physical file. Most of the time, a logical file is nothing more than a way of accessing the physical file with different key fields.
一個簡單的邏輯文件是物理文件的一個視圖,它實際是物理文件的一個指針的列表,指向?qū)嶋H的數(shù)據(jù),絕大多數(shù)的情況下,邏輯文件只不過是用不同的Key字段來訪問物理文件的方法.
With the standard AS/400 supplied tools, it is hard to see the logical file. One way is to use the copy file CPYF to copy the logical file to a new physical file. Then, look at the physical file... it will be in the same order as the logical file.
利用AS/400系統(tǒng)自身提供的工具,很難去查看邏輯文件.其中一種方法是,使用CPYF命令去復制邏輯文件到一個物理文件,然后,查看這個物理文件.
The AS/400 Database is full featured. Logical files can join multiple files and select and create new fields.
AS/400的數(shù)據(jù)庫是全功能的,邏輯文件可以連接不同的文件和選擇,創(chuàng)建新的字段.
|
|