免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2566 | 回复: 7
打印 上一主题 下一主题

关于400上的object解释。 [复制链接]

论坛徽章:
1
射手座
日期:2013-09-30 15:24:05
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-26 10:24 |只看该作者 |倒序浏览
库是不是一个object呢?
今天看一个文档上写的一句话。“库是一种目标,是唯一一种可包含目标的目标",不知道这种说法是否正确

论坛徽章:
0
2 [报告]
发表于 2009-03-26 11:01 |只看该作者
其实只要用命令WRKOBJ能看到的东东都是。

论坛徽章:
0
3 [报告]
发表于 2009-03-26 11:07 |只看该作者
A library (*LIB) on the AS/400 is an object that is used as a system directory to keep track of other objects. (It is also keeps track of PTFs in AS/400 system libraries.) (The other directories that can be used are the directory (*DIR) and folder (*FLR) objects.)

Objects are not actually stored in libraries. They're really nothing more than namespaces, but it's easier to refer to an object as being "in" or "stored in" a library.

Certain types of the object (database file, storage areas and executable program objects) can be compiled, copied, and stored into/from many different libraries concurrently, with the Library List hierarchy determining which instance of the object to use during execution of any application that utilizes that object name. There are commands to help move objects around, and objects may be qualified at compile time to point to specific other objects statically at runtime, in order to circumvent the Library List.

Other types of objects, designated as "system" objects cannot be replicated. Libraries are a "system" object, and therefore only one instance of any given Library "name" is possible. They're made to appear as if they're stored in the QSYS library. Other "system" objects include user profiles (*USRPRF), configuration objects (*LIND, *CTLD, & DEVD), etc.
fortunate 该用户已被删除
4 [报告]
发表于 2009-03-26 12:52 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
5 [报告]
发表于 2009-03-26 22:03 |只看该作者
object首先要有NAME,并且占用硬盘空间,是在存放在库下面的,当然Library也是object,400是单级的库结构,Library下面是不能再出现Library的,但实际上所有的Library也是在QSYS这个根下面的,而且定义object有个关键因素是object是有类型的,你可以看到Library的类型就是*LIB,名字就是LibraryName,肯定会在ASP中占用空间,所以Library也是个object。

论坛徽章:
0
6 [报告]
发表于 2009-03-27 10:45 |只看该作者
我的理解是说的是准确的

论坛徽章:
0
7 [报告]
发表于 2009-03-30 23:17 |只看该作者
当初我曾经不把LIB当OBJECT。

论坛徽章:
0
8 [报告]
发表于 2009-04-01 22:32 |只看该作者
OBJECT翻译成对象会比较好理解一些。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP