Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, プログラミング・ガイド

配列記述子

以下の宣言では、配列の上限は 15 として宣言されていますが、実際の上限は常に記述されている配列の次元数に一致しているということを理解する必要があります。

CMPAT(V1) 配列記述子の宣言は次のとおりです。

declare
  1 dso_v1  based( null() ),
    2 dso_v1_rvo      fixed bin(31),    /* relative virtual origin */
    2 dso_v1_data(1:15),
      3 dso_v1_stride fixed bin(31),    /*   multiplier            */
      3 dso_v1_hbound fixed bin(15),    /*   hbound                */
      3 dso_v1_lbound fixed bin(15);    /*   lbound                */

CMPAT(V2) 配列記述子の宣言は次のとおりです。

declare
  1 dso_v2  based( null() ),
    2 dso_v2_rvo      fixed bin(31),    /* relative virtual origin */
    2 dso_v2_data(1:15),
      3 dso_v2_stride fixed bin(31),    /*   multiplier            */
      3 dso_v2_hbound fixed bin(31),    /*   hbound                */
      3 dso_v2_lbound fixed bin(31);    /*   lbound                */

CMPAT(V3) 配列記述子の宣言は次のとおりです。

declare
  1 dso_v3  based( null() ),
    2 dso_v3_rvo      fixed bin(63),    /* relative virtual origin */
    2 dso_v3_data(1:15),
      3 dso_v3_stride fixed bin(63),    /*   multiplier            */
      3 dso_v3_hbound fixed bin(63),    /*   hbound                */
      3 dso_v3_lbound fixed bin(63);    /*   lbound                */

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)