Communications Blocks and Error Detection

This section describes the communication blocks and registers available under CA IDMS/DB and DC/UCF systems to return status information to an application program that requests database and data communication services.
idmscu
This section describes the communication blocks and registers available under CA IDMS/DB and DC/UCF systems to return status information to an application program that requests database and data communication services.
CA IDMS/DB and DC/UCF systems use the following facilities to communicate with your application program:
  • The IDMS Communications Blockreturns information from the database management system (DBMS) to your application program.
    TheERRSTAT Field and Codesfield of the IDMS communications block receives a status code that indicates the successful or unsuccessful execution of a DML command. You can test for the content of the ERRSTAT field in your database program.
  • The Logical-Record Request Control (LRC) Block returns information from the Logical Record Facility (LRF) to your application program when you are accessing logical records that have been created by LRF.
    The
    LRSTAT
    field of the LRC block returns the path status for a logical-record DML request. You can test for the contents of the LRSTAT field in your program.
  • Register 15
    is used by the DC/UCF system to return information regarding the successful or unsuccessful execution of DML commands that request data communication services. You can test for the content of register 15 to determine the outcome of a DC/UCF DML statement.
In addition to the above topics, this section lists the status codes returned by the DBMS for database requests and the return codes issued by DC/UCF system for data communications requests.