evalrecs | Evaluate data records using a macro |
-d <datain> | input data |
-dout <dataout> | temporary output data |
-mac <macro> | name of the macro file |
This operation evaluates data records of the source data with a given macro. The procedure is as follows:
For each record in <datain>Copy to a data frame <dataout>
Execute: runcmd <macro> <dataout>
Delete <dataout>
End
One parameter, the name of the temporary output data, is passed to the <macro>. Another important point to note is that the output data is deleted after the macro has been executed for a data record. More information about running command files can be found in section 8.4.