Loop through a Macro?

Database
Enthusiast

Loop through a Macro?

Hi All,

I've created a small macro that I want to loop through increasing the invalue parameter (it is an integer) by one every time I loop through the macro.

Is this possible in TeraData?

Please let me know I should provide more information.

Thank you,

Mike
1 REPLY
Junior Contributor

Re: Loop through a Macro?

A macro can't be call itself, i.e. no recursion.

Possible solutions:
- Recursion within a BTEQ script, illegal, but working.
- Loop within a SP

Dieter