This chapter 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 ERRSTAT field 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 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.
In addition to the above topics, this chapter lists the status codes returned by the DBMS for database requests and the return codes issued by DC/UCF system for data communications requests.
This section contains the following topics:
Testing for DML Error-Status Codes
Logical-Record Request Control (LRC) Block
|
Copyright © 2014 CA.
All rights reserved.
|
|