008D9582 The DEC DATATRIEVE SMG keyboard is not active. Explanation: When the DECwindows Motif interface is active, the DTR$DTR call is not valid. This call is valid only when the SMG keyboard interface is active. User Action: You must make the call DTR$FINISH_WINDOWS to exit the DECwindows Motif interface. You can then make the DTR$DTR call to enable the SMG interface. Once the SMG interface is active, you can make the remaining calls.