网站大量收购闲置独家精品文档,联系QQ:2885784924

系统编程工具REXX和CLIST.ppt

  1. 1、本文档共73页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Diagnostic函数 Sourceline() - Returns number of lines of code, or actual line of source code Condition() - Returns information depending on one of four arguments (C(condition), D(descriptive), I(instruction) and S(status)) Errortext() - Return text of REXX error message associated with argument number REXX special variable sigl - Assigned with line number where condition trap error occurred 测试 测试的数量取决于可能的最终用户规模 开始用少量数据测试 测试代码的所有部分 从错误中测试可恢复性 Use REXX aids to confirm the program flow - Trace instruction Trace指令 REXX Trace指令- 有用的选项: Trace R – “Results” – most useful Trace N – “Normal” – traces negative return codes Trace O – “Off” – turns tracing off Trace I – Intermediates – most information 其它Trace选项: - A, C, E, F, L, S, ?, !, +n, -n Trace - 不修改代码 - TSO命令 EXECUTIL TS – 运行可执行程序之前 REXX Trace()函数: - trace_actions_in_effect = Trace() 交互式调试 Trace ? 在每个指令处停止: - Press enter to continue - type “=” to re-execute last clause - type anything else – like REXXTRY – process line immediately Trace n – skip n pause (n is a whole number) 其他调试工具 Attention mode(PA1) immediate commands - HE – halt execution - HI – halt interpretation - TS – trace start - TE – trace end - HT – halt typing - RT – resume typing 数据栈(Stack) Data stack stores data: stack or queue Stack = LIFO (Last In First Out) Queue = FIFO (Last In First Out) The data stack can be treated as a stack: the last element added to the stack is the first removed (LIFO). Alternatively, you may treat it as queue: first element added to the stack is the first removed (FIFO). Data Stack的使用 三个基本指令  - PUSH – put one item of data on top of stack - QUEUE – put item on bottom of stack - PULL – remove item from top of stack 空栈 You read data from the top of the stack with PULL keyword instruction. Note that this removes (or destroys) the data (unlike variable access). Unfortunately, when the stack is empty, REXX will expect to find input data from the terminal

文档评论(0)

186****6410 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档