Thanks, that worked! I added PROC TEMPLATE code similar to yours (with just a definition for 'gdata1'=cx00ff00, and the following…