Admin Production rocket
Current Publication

LIMITED-SEARCH, LS

Enterprise Developer for Visual Studio 2019 (Japanese) V8.0
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.

LIMITED-SEARCH, LS

コピーブックの検索の対象を COPCPY 環境変数で指定したディレクトリに限定します。この指令を使用すると、環境変数 COBCPY で指定されるディレクトリと COPYEXT 指令で指定されるファイル拡張子の両方について、どう設定するかを入念に検討することにより、検索対象となるファイルの数を大幅に削減することができます。

構文:

制約事項: この統合プリプロセッサはネイティブ COBOL でのみサポートされます。
>>------.----.--LIMITED-SEARCH-------><
        +-NO-+

プロパティ:

デフォルト: NOLIMITED-SEARCH

コメント:

この指令では、コピーブックの検索の対象を COPCPY 環境変数で指定したディレクトリに限定します。

そのため、コンパイル時間を短縮することができます。指令がセットされた場合は、次のように動作します。

  • コピーブックは、COBCPY で指定したディレクトリのみを対象に検索されます。ソースが置かれているディレクトリは省略されます。
  • OSEXT 指令で指定した拡張子のコピーブックは、検索の対象から外されます (COPYEXT で指定した拡張子のコピーブックは対象となります)。