Published on :
Macro CREATION_INTERNE

NOMPRINT Option Management (AHGnomprint)

This code is also available in: Deutsch Español Français
This macro declares a global variable 'ahgmprintflag', increments it via a call to an external macro '%AHGincr', displays the macro's name in the log, and disables the display of macro-generated code (NOMPRINT option). It is probably used to reduce log verbosity when executing nested processes.
Data Analysis

Type : CREATION_INTERNE


No data table manipulation. The code only manages macro variables and session options.

1 Code Block
MACRO
Explanation :
Macro definition that initializes a global flag, attempts to increment it (external dependency AHGincr), and applies the NOMPRINT system option.
Copied!
1%macro AHGnomprint;
2%global ahgmprintflag;
3%let ahgmprintflag=%AHGincr(ahgmprintflag);
4%put &sysmacroname;
5option nomprint;
6%mend;
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.