Method for representing and signaling run-time program conditions
    1.
    发明授权
    Method for representing and signaling run-time program conditions 失效
    用于表示和指示运行时程序条件的方法

    公开(公告)号:US5455949A

    公开(公告)日:1995-10-03

    申请号:US755708

    申请日:1991-09-06

    摘要: An improved method and system is described for generalized handling of conditions occurring during program execution in a computer system having a multi-language Condition Manager (CM). A general signaling routine having object code for an external entry point suitable for linking to application programs written in any language supporting external calls is used. The signaling routine may be used by programs to eliminate the step of checking return codes from subroutines by coding the subroutine to automatically signal the proper condition to the CM which in conjunction with user defined condition handlers takes proper actions in response to the condition. A general condition token which may be used as a feedback token is defined as a condition identifier, a format code for the condition identifier, a severity code for the condition, a control code for a facility identifier, a facility identifier and an optional handle for instance specific information. The signaling routine and the feedback token are used by subroutines which can optionally provide for passing an address, where a feedback token can be stored. The subroutine signals conditions if the severity of the condition is greater than a threshold or else stores a feedback token at the address.

    摘要翻译: 描述了一种改进的方法和系统,用于在具有多语言条件管理器(CM)的计算机系统中对在程序执行期间发生的状况的广义处理。 使用具有用于外部入口点的目标代码的通用信令程序,该外部入口点适于链接到以支持外部呼叫的任何语言编写的应用程序。 程序可以使用信令程序来消除通过对子程序进行编码来检查子程序的返回代码的步骤,以自动向CM指示适当的条件,其结合用户定义的条件处理程序响应该条件采取适当的动作。 可以用作反馈令牌的通用条件令牌被定义为条件标识符,条件标识符的格式代码,条件的严重性代码,设施标识符的控制代码,设施标识符和可选句柄 实例具体信息。 信令例程和反馈令牌由子程序使用,子程序可以可选地提供传递地址,其中可以存储反馈令牌。 如果条件的严重性大于阈值,则子程序发出信号,或者在地址处存储反馈令牌。

    Condition handling in a multi-language computer program
    2.
    发明授权
    Condition handling in a multi-language computer program 失效
    多语言计算机程序中的条件处理

    公开(公告)号:US5630137A

    公开(公告)日:1997-05-13

    申请号:US387494

    申请日:1995-02-13

    摘要: A condition handling method and means capable of handling programs written in a plurality computer programming languages is created by a set of routines which implement the Common Condition Handling (CCH) function. These routines have entry points which are declared as external or entry variables which enables application programs to link to them. The compilers and application programs can then interact with the condition handling process by calling or branching to the entry points in the common condition handling code when the program is executing. Language specific condition handling routines and user condition handlers are invoked using a last-in-first-out (LIFO) queue to associate the handlers with the current stack frame. Any handler may respond to the CCH with one of three types of requests: Resume, Percolate, and Promote. A separate means is provided for registering Exit Handlers and to move the resume cursor.

    摘要翻译: 一种能够处理以多个计算机编程语言编写的程序的条件处理方法和装置由实现公共条件处理(CCH)功能的一组例程创建。 这些例程具有被声明为外部或入口变量的入口点,使得应用程序能够链接到它们。 然后,当程序执行时,编译器和应用程序可以通过调用或分支到公共条件处理代码中的入口点来与条件处理过程进行交互。 使用先进先出(LIFO)队列调用语言特定条件处理例程和用户条件处理程序,以将处理程序与当前堆栈帧相关联。 任何处理程序都可以使用三种请求之一来回复CCH:恢复,渗透和升级。 提供了一个单独的方法来注册退出处理程序并移动简历光标。

    Optimizing cobol object code instruction path length with respect to
perform statements
    3.
    发明授权
    Optimizing cobol object code instruction path length with respect to perform statements 失效
    针对执行语句优化cobol目标代码指令路径长度

    公开(公告)号:US4567574A

    公开(公告)日:1986-01-28

    申请号:US474909

    申请日:1983-03-14

    IPC分类号: G06F9/45 G06F9/00 G06F9/30

    CPC分类号: G06F8/443

    摘要: A method for optimizing instruction path lengths in a compilation of COBOL source code with reference to PERFORM statements requires a two-step procedure in which the control transfer relationship among the PERFORM statements and associated procedures is characterized as a vector of attributes, and a second step in which the vectors are interpreted for any given PERFORM statement such that, where indicated, the code of the procedure or simplified linkage code will be substituted for the PERFORM statement.

    摘要翻译: 参考PERFORM语句的COBOL源代码编译中优化指令路径长度的方法需要一个两步过程,其中PERFORM语句和相关过程之间的控制传递关系被表征为属性向量,第二步 其中向量被解释为任何给定的PERFORM语句,使得如果指示的话,过程的代码或简化的链接代码将被替换为PERFORM语句。