使用されているコマンドに関連する条件
- *CRTBNDRPG
- この条件は、ユーザーのプログラムが、プログラムを作成する CRTBNDRPG
コマンドによってコンパイル中である場合に定義されます。
/IF DEFINED(*CRTBNDRPG) H DFTACTGRP(*NO) /ENDIF - *CRTRPGMOD
- この条件は、ユーザーのプログラムが、モジュールを作成する CRTRPGMOD
コマンドによってコンパイル中である場合に定義されます。
* This code might appear in a generic Control specification * contained in a /COPY file. The module that contains the * main procedure would define condition THIS_IS_MAIN before * coding the /COPY directive. * If the CRTRPGMOD command is not being used, or if * THIS_IS_MAIN is defined, the NOMAIN keyword will not * be used in this Control specification. /IF DEFINED(*CRTRPGMOD) /IF NOT DEFINED(THIS_IS_MAIN) H NOMAIN /ENDIF /ENDIF