ISO/IEC 1989:2023 情報技術 — プログラミング言語、その環境およびシステム ソフトウェア インターフェイス — プログラミング言語 COBOL | ページ 2

※一部、英文及び仏文を自動翻訳した日本語訳を使用しています。

序文

ISO (国際標準化機構) と IEC (国際電気標準会議) は、世界標準化のための専門システムを形成しています。 ISO または IEC のメンバーである各国機関は、特定の技術活動分野に対処するためにそれぞれの組織によって設立された技術委員会を通じて国際規格の開発に参加しています。 ISO と IEC の技術委員会は、相互に関心のある分野で協力します。政府および非政府の他の国際機関も、ISO および IEC と連携してこの作業に参加しています。

この文書の作成に使用される手順と、そのさらなる保守を目的とした手順は、ISO/IEC 指令Part 1 部に記載されています。特に、さまざまな種類の文書に必要なさまざまな承認基準に注意する必要があります。この文書は、ISO/IEC 指令Part 2 部の編集規則に従って起草されました ( www.iso.org/directives or www.iec.ch/members_experts/refdocs を参照)

この文書の要素の一部が特許権の対象となる可能性があることに注意してください。 ISO および IEC は、かかる著作権または特許権の一部またはすべてを特定する責任を負わないものとします。文書の作成中に特定された特許権の詳細は、序論および/または受領した特許宣言の ISO リスト ( www.iso.org/patents を参照)、または受領した特許宣言の IEC リスト ( https://patents.iec.ch )

本書で使用されている商号は、ユーザーの便宜のために提供された情報であり、推奨を構成するものではありません。

規格の自主的な性質、適合性評価に関連する ISO 固有の用語と表現の意味、および貿易の技術的障壁 (TBT) における世界貿易機関 (WTO) 原則への ISO の準拠に関する情報については、 www を参照してください。 .iso.org/iso/foreword.html IEC については、 www.iec.ch/ Understanding-standards を参照してください。

この文書は、ISO/IEC JTC 1 合同技術委員会、情報技術、小委員会 SC 22 、プログラミング言語、その環境およびシステム ソフトウェア インターフェイスによって作成されました。

この第 3 版は、技術的に改訂された第 2 版 (ISO/IEC 1989:2014) を廃止し、置き換えるものです。

主な変更点は以下のとおりです。

  • 一般的な機能強化は次のとおりです。
    • SEND文とRECEIVE文を使用した非同期メッセージング機能
    • ブール排他的論理和演算子
    • ブールシフト演算子
    • COBOL ワードの長さは 63 文字になりました
    • PERFORM ステートメントが拡張され、プログラムを一時停止する期間を指定できるようになりました。
    • DELETE FILE ステートメント
    • 成功した入出力ステートメントに対する警告を処理する、致命的ではない EC-IO-WARNING 例外条件
    • プログラム間の EXTERNAL 属性チェック
    • UNTIL EXIT 句を使用した PERFORM ステートメントの無限ループ
    • PERFORM ステートメントの例外チェック形式を使用したインライン例外処理
    • 逆方向に検査するための拡張された INSPECT ステートメント
    • 行順ファイル構成
    • SET ステートメントが拡張され、動的な長さの基本項目の長さを設定できるようになりました。
    • ALTERNATE RECORD KEY 句の SUPPRESS WHEN 句を使用したインデックス付きファイルの代替キーの抑制
    • COMMIT ステートメントおよび ROLLBACK ステートメントを使用した、オプションのコミットおよびロールバック処理機能
    • USAGE 句の NO SIGN 句で定義された符号なしパック 10 進項目
    • PICTURE句のEDITING句を使用したユーザー定義のPICTURE句の編集
    • VALUE 句の機能強化と数値編集項目の変更
    • Type 宣言を外部項目にすることができるようになりました
  • 次の組み込み関数が追加または拡張されました。

    • BASECONVERT関数
    • CONCAT関数
    • CONVERT関数
    • EXCEPTION-FILE 関数と EXCEPTION-FILE-N 関数
    • 文字列検索関数
    • モジュール名関数
    • 最小代数関数
    • 置換関数
    • トリム機能
  • 追加のコンパイラ ディレクティブが追加されました。

    • COBOL WORDS ディレクティブ
    • DISPLAYディレクティブ
    • FLAG-14 指令
    • POPディレクティブ
    • PUSH ディレクティブ
    • REF-MOD-ZERO-LENGTH ディレクティブ

Foreword

ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work.

The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the different types of document should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives or www.iec.ch/members_experts/refdocs ).

Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such copyrights or patent rights. Details of any patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declarations received (see www.iso.org/patents ) or the IEC list of patent declarations received (see https://patents.iec.ch ).

Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement.

For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and expressions related to conformity assessment, as well as information about ISO's adherence to the World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT) see www.iso.org/iso/foreword.html . In the IEC, see www.iec.ch/understanding-standards .

This document was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 22, Programming languages, their environments and system software interfaces.

This third edition cancels and replaces the second edition (ISO/IEC 1989:2014), which has been technically revised.

The main changes are as follows:

  • The following were general enhancements:
    • An asynchronous messaging facility using the SEND statement and RECEIVE statement
    • Boolean exclusive or operators
    • Boolean shifting operators
    • COBOL words may now be 63 characters long
    • The PERFORM statement has been enhanced to specify a time period for pausing the program
    • A DELETE FILE statement
    • A nonfatal EC-I-O-WARNING exception condition to handle warnings for successful input-output statements
    • EXTERNAL attributes checking between programs
    • Infinite loop for the PERFORM statement using the UNTIL EXIT phrase
    • Inline exception handling using the exception-checking format of the PERFORM statement
    • An Enhanced INSPECT statement to inspect backwards
    • Line Sequential file organization
    • The SET statement has been enhanced to allow the setting of the length of a dynamic length elementary item
    • Alternate key suppression on indexed files using the SUPPRESS WHEN phrase of the ALTERNATE RECORD KEY clause
    • An optional Commit and rollback processing facility using the COMMIT statement and ROLLBACK statement
    • Unsigned Packed-Decimal items defined by the NO SIGN phrase of the USAGE clause
    • User-defined PICTURE clause editing using the EDITING phrase of the PICTURE clause
    • VALUE clause enhancements and changes for numeric-edited items
    • Type declarations may now be external items
  • The following intrinsic functions were added or enhanced:

    • BASECONVERT function
    • CONCAT function
    • CONVERT function
    • EXCEPTION-FILE function and EXCEPTION-FILE-N function
    • FIND-STRING function
    • MODULE-NAME function
    • SMALLEST-ALGEBRAIC function
    • SUBSTITUTE function
    • TRIM function
  • Additional compiler directives were added:

    • COBOL-WORDS directive
    • DISPLAY directive
    • FLAG-14 directive
    • POP directive
    • PUSH directive
    • REF-MOD-ZERO-LENGTH directive