Extending Control (from Fraktal SAS Programming)
Now, with proper declaration, it is safe to run your MACRO as a component in a validated system. However, it is still difficult to follow its results and discover failure risks or un-wanted misbehavior.
You might therefore find it useful to add functionality such as:
- Apply Logic: Check, branch and loop for specified parameters’ values
- Process Metadata: Navigate through the ecosystem by reading and processing metadata
- Workflow Documentation: Document workflow by writing comments to the LOG and generated code to a program file
- Realtime Information: Inform responsibles about invocation by sending an email
We will implement these requirements now step by step and thereby touch relevant parts of the so-called SAS Macro Facility.