Rational Developer for System z
Enterprise PL/I for z/OS, Version 4.1, Programming Guide

ONSNAP

Read syntax diagramSkip visual syntax diagram   .-NOONSNAP--------------------------.
   |            .-+---+-----------.    |
   |            | '-,-'           |    |
   |            V                 |    |
>>-+-ONSNAP--(----+-STRINGRANGE-+-+--)-+-----------------------><
                  '-STRINGSIZE--'
 

For a PROCEDURE with either the OPTIONS(MAIN) or the OPTIONS(FROMALIEN) attribute. the ONSNAP option specifies that the compiler should insert an ON STRINGRANGE SNAP; or ON STRINGSIZE SNAP; statement (or both) into the prologue code for that PROCEDURE. This can make it easier to determine the calling chain if the corresponding conditions are raised in other routines called from such a PROCEDURE.

The ONSNAP option has no affect on a PROCEDURE without either of these attributes.


Terms of use | Feedback

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