Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Monitoring the EDT session with monitoring job variables

&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
indicator

Return
code

Spin-off
mechanism

No message
Note
Function error
Syntax error

Normal

$T

0000
1002
1005
1010

No

Interruption

Abnormal
by the user

$A

2050

Yes

Fatal
Fatal with DUMP
Initialization error

Abnormal

2100
2150
3200

The value and meaning of the last 3 digits of the return code correspond to subcode 2 (SC2) of the command return code.