User Tools

Site Tools


pub:dynamicmacros

This is an old revision of the document!


[ Up To Configure Data Mapping ]

Dynamic Macros

A dynamic macro is the conditional inclusion of a pcl macro in a separate file. The value of the mapped field is taken, an 'm' is prepended, '.pcl' is appended, and a file by that name is sought. If found, it's contents are included in the output pcl stream.

How to create pcl file for dynamic macro using iMap:

Menu File > Upload Macro > Dialog for input macro information as name, macro id, dynamic macro? , etc…

Note: Check box Dynamic macro should be checked if we want to create a dynamic macro (file pcl should be formatted: m + macro name + .pcl

iMap will create pcl file for whole page so we need to locate signature to corresponding position on form.

The dynamic macro mapped field requires these settings.

  • The mapped field must be a type 5.
  • The F13 key needs to be pressed to insure that the IFS directory path is correct. This path must then contain the macro file. The default path is /idocs/macros/signatures. The macro file must be in this directory.
  • The macro file must be correctly named: the macro file name must begin with an m. So if the data from the spooled file contains the value FOO, then the macro file must be named mFOO.pcl. This is not case sensitive. Note that greenbar text is frequently uppercase.


[ Up To Mapped Field Maintenance ]

pub/dynamicmacros.1427495460.txt.gz · Last modified: 2022/06/25 17:02 (external edit)