Loading...
   
      
 
                    Select Version
                  
                   
                
                          &pagelevel(3)&pagelevel
EDT execution can be monitored with a BS2000 job variable.
/START-EDTU MONJV=jvname
If a monitoring job variable is specified when EDT is started then this is filled with a value when EDT terminates.
The value of the job variable consists of
a 3-byte status display,
a 4-byte return code display,
The following table indicates the values which EDT may assign to the job variable.
Error class  |  Termination  |  Status  |  Return  |  Spin-off  |  
No message  |  Normal  |  $T  |  0000  |  No  |  
Interruption  |  Abnormal  |  $A  |  2050  |  Yes  |  
Fatal  |  Abnormal  |  2100  |  
The value and meaning of the last 3 digits of the return code correspond to subcode 2 (SC2) of the command return code.