PCL allows manipulation of instream data for DD * statements with IF logic. Is it possible to achieve the same for DD DATA statements?

Document ID : KB000055336
Last Modified Date : 14/02/2018
Show Technical Document Details


Instream data for DD * statements can be interrupted by any other PCL commands, for example, IF. For DD DATA statements, the instream IF statements will not be interpreted as PCL but simply as JCL to be included instream.

HOWEVER, The desired results can be obtained by concatenating a DD * to the DD DATA statement.

  • To embed "//" PCL commands, DD * must be used, rather than DD DATA.
  • To have embedded "//" lines treated as data, DD DATA must be used.

This Frequently Asked Question applies to all supported releases of ESP Alchemist.