Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Migration Guide

Batch compilation

Compilation is not performed in PROCESS-delimited chunks, and this difference has the following consequences:

The following example demonstrates a batch compilation. In this case, the mismatches in b and x would be flagged by the new compiler only.

 *process opt(0);

  a: proc;
    dcl b ext entry(1,2 char(2), 2 char(2));
    dcl
      1 x ext,
        2 x1a char(2),
        2 x1b char(2);

    call b(x);
  end;

 *process opt(2);

  b: proc(p);
    dcl p pointer;
    dcl
      1 x ext,
        2 x1a bit(16),
        2 x1b bit(16);

  end;

You can imitate how batch compilations worked by using a program like the one in Appendix E. Batch processing sample.


Terms of use | Feedback

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