Chinaunix首页 | 论坛 | 博客
  • 博客访问: 183731
  • 博文数量: 39
  • 博客积分: 1950
  • 博客等级: 中尉
  • 技术积分: 445
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-04 10:28
文章分类

全部博文(39)

文章存档

2017年(1)

2011年(1)

2010年(37)

分类:

2010-04-21 15:30:30

概念介绍:
/COPY (Positions 7-11)
The /COPY compiler directive causes records from other files to be inserted, at the
point where the /COPY occurs, with the file being compiled. The inserted files may
contain any valid specification including /COPY up to the maximum nesting depth
specified by the COPYNEST keyword (32 when not specified).
 
举例:
C/COPY MBR1 .1/
I/COPY SRCFIL,MBR2 .2/
O/COPY SRCLIB/SRCFIL,MBR3 .3/
O/COPY "SRCLIB!"/"SRC>3","MBR¬3" .4/
Figure 3. Examples of the /COPY Compiler Directive Statement
.1/ Copies from member MBR1 in source file QRPGLESRC. The current
library list is used to search for file QRPGLESRC.
.2/ Copies from member MBR2 in file SRCFIL. The current library list is
used to search for file SRCFIL. Note that the comma is used to separate
the file name from the member name.
.3/ Copies from member MBR3 in file SRCFIL in library SRCLIB.
.4/ Copies from member "MBR¬3" in file "SRC>3" in library "SRCLIB!"
阅读(1664) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~