Does this modem have a line problem command?

Yes, the ATI11 command will Display Diagnostic Information for the last Modem Connection (i.e., DSP and Firmware version, LinkType, Line Speed, Serial Speed, Type of Error Correction/Data Compression, Number of past Retrains,etc.)