- 15
- 0
- 约3.81万字
- 发布于安徽
- 举报
- 文档已下架,其它文档更精彩
第五章 在CL过程和程序中处理目标
5.1 在CL程序中访问目标
在CL程序命令和过程中引用目标的原则与在每个命令和分别处理不是在程序中使用目标的原则是一样的。目标名可用限定或非限定名,非限定目标名用库列表来查找。
在CL过程和程序中引用的大多数目标在运行引用它们时才访问。对限定名(库名/目标名)的目标,在命令运行引用它时必须在指定的库中,但在程序生成时不一定要在此库中,即CL语句中用的大部分目标是简单地基于运行时目标的位置。在5.1.1中给出一些特例。
如果在CL源语句中不用限定名而用库列表,就不用对所有目标做运行时的考虑。如果在编译时用库列表,那么在运行时目标可以在库列表中的任一库里,这就要求在不同库中不能有重复的目标名。如果用库列表,可以在过程生成和命令处理之间把目标移到不同的库中。
在命令运行时所引用的目标必须存在,而在编译时程序PAYROLL即时不存在,CL程序也能编译成功:
PGM /*TEST*/
DCL...
MONMSG...
.
.
.
CALL PGM(QGPL/PAYROLL)
.
.
.
ENDPGM
实际上,在程序TEST活动时,PAYROLL不一定存在,但在处理CALL命令时要存在。在调用
您可能关注的文档
最近下载
知传链电子书
- 真信马克思主义 坚信马克思主义.pdf
- On Value Security and the Overall National Security System.pdf
- Reform of International Monetary System and Construction of Global Monetary Security Mechanism: Connections and Problems.pdf
- Climate Change and the US Security Sector: the Securitization of Climate Change.pdf
- Three Modes of Thinking and Policy Orientation of Cultural Security.pdf
- Managing Power Transitions: Towards a 21^(st) Century Concert of Powers.pdf
- Theory of Land-Ocean Peaceful Cooperation: a Geopolitical Study of the Sustainable Security of One Belt One Road.pdf
- Building an Asia-Pacific Security Architecture: Objectives, Conditions and Visions.pdf
- Security, Development and International Co-Prosperity (Part I).pdf
- The Maritime Channel in Southeast Asia and China’s Strategic Pivots.pdf
原创力文档

文档评论(0)