What is the best way to call or invoke a macro within an Easytrieve program?
Is it %macroname or by CALL macroname?
Easytrieve Report Generator, release 11.6
PanAudit Plus, release 3.0
Easytrieve Plus Report Generator Toolkit, release 2.0
Regarding invoking macros, yes, this is done via the percent sign:
%macroname
Regarding the CALL statement, that is in regards to calling a cobol program or an assembler program.
So, to answer your question, macros may be invoked by the '%' sign. These would also include macros which are delivered in the Easytrieve CBAAMAC, Toolkit CAIMAC, or PanAudit Plus CAIMAC libraries.
Macros would not be called via the CALL statement.
Here is the link, to the documentation on the CALL statement:
Documentation on the CALL statement
The CALL statement provides a means to dynamically or statically invoke subprograms written in other programming languages.