CA Easytrieve: How to invoke macros
search cancel

CA Easytrieve: How to invoke macros

book

Article ID: 211536

calendar_today

Updated On:

Products

Easytrieve Report Generator PanAudit Plus

Issue/Introduction

What is the best way to call or invoke a CA Easytrieve macro?

Is it  %macroname or by CALL macroname

 

Environment

CA Easytrieve Report Generator, release 11.6

Resolution

Regarding invoking macros, yes, this is done via the percent sign as you documented:

     %macroname

Regarding the CALL statement, that is in regards to calling a cobol program or an assembler program.

Here is the link, to the documentation on the CALL statement: 
https://techdocs.broadcom.com/us/en/ca-mainframe-software/devops/ca-easytrieve-report-generator/11-6/language-reference/statements/call-statement.html

The CALL statement provides a means to dynamically or statically invoke subprograms written in other programming languages.

So, to answer your question, macros may be invoked by the '%' sign.  These would also include macros which are delivered in the CA Easytrieve, Toolkit, or PanAudit Plus CAIMAC libraries.

Macros would not be called via the CALL statement.