Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

EMPTY

EMPTY returns an area of zero extent. It can be used to free all allocations in an area.

Read syntax diagramSkip visual syntax diagram>>-EMPTY--+----+-----------------------------------------------><
          '-()-'
 

The value of this function is assigned to an area variable when the variable is allocated. Consider this example:

  declare A area,
          I based (P),
          J based (Q);

  allocate I in(A), J in (A);
  A = empty();

  /* Equivalent to:  free I in (A), J in (A); */

Terms of use | Feedback

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