/PMACRO
Specifies that macro contents be written to the session log file.
This command forces the contents of a macro or other input file to be written to Jobname.LOG. It is valid only within a macro or input file, and should be placed at the top of the file. /PMACRO should be included in any macro or input file that calls GUI functions.