FCMND program instruction DDCMP Command Codes 500 Return information about DDCMP status. (This FCMND is present in all eV+ systems that support DDCMP.) The FCMND reply string may be parsed using INTB and LNGB functions to extract the binary data, as described in the following code. When the instruction FCMND (lun,500) "", $reply is executed, the string variable $reply receives packed binary data regarding the DDCMP line attached on the specified logical unit. Then the functions shown in the following table can be used to extract the data.
DDCMP Status Format eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 223 Function Notes INTB($reply,1) DDCMP network state (0, 1, or 2) 0 = Line is closed 1 = Line is open but waiting for remote 2 = Line is active INTB($reply,3) Not used LNGB($reply,5) Local media error count LNGB($reply,9) Local timing error count LNGB($reply,13) Local format error count LNGB($reply,17) Remote media error count LNGB($reply,21) Remote timing error count LNGB($reply,25) Remote format error count LNGB($reply,29) Count of blocks sent LNGB($reply,33) Count of blocks received