Changes between Initial Version and Version 1 of Ticket #393, comment 4


Ignore:
Timestamp:
06/21/2026 11:56:18 PM (4 weeks ago)
Author:
Gary Dixon

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #393, comment 4

    initial v1  
    2323
    2424An abs_data structure is allocated whenever an exec_com script (or absentee job) begins execution.  That same structure is used for allocations while the script runs, unless an
    25 on-unit established by the script gets invoked by a signal in its CONDITION_list.
     25on-unit established by the script gets invoked by a signal in its CONDITION_LIST.
    2626          &on CONDITION_LIST &begin LINES &end
    2727To execute the LINES inside the on-unit, the absentee_listen_$execute_handler is called to establish a run-time environment in which to execute the on-unit lines.  This is the equivalent of pushing a new stack frame onto the user stack in which to run a PL/I on-unit.  The on-unit has access to the variables and labels setup by the outer script.  So when the execute_handler entry allocates a new abs_data structure, it copies all of the data from the outer-script's abs_data into the new abs_data structure to capture this outer information.  It then initializes some elements of the new structure for the on-unit's environment, while preserving data for the outer-script.