Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
トランザクション処理エラー
COMMIT 操作と ROLLBACK 操作は、多くのデータ ファイルに作用します。そのため、1 つのデータ ファイルのファイル状態を調べるだけでは、COMMIT 操作や ROLLBACK 操作が正常に実行されたかどうかを確認することはできません。その代わりに、入口点、 fs_status を呼び出して、COMMIT 操作や ROLLBACK 操作の状態を判断します。
以下の形式で呼び出してください。
call "fs_status" returning t-status
この場合のパラメーターは、次のように定義します。
01 t-status pic x(2) comp-x.
0 以外の値が返された場合は、COMMIT 操作または ROLLBACK 操作が失敗したことを示します。ネットワークを介した複数のファイルを対象としたトランザクション処理は複雑であるため、Fileshare では、発生したトランザクション処理エラーに関する決定的な情報は提供されません。