Resolve "G1IMBXRF Environment variable not set" error in MailStream Plus


"G1IMBXRF Environment variable not set" error


G1IMBXRF Environment variable not set


UPDATED: March 13, 2019
This error primarily occurs on Windows platforms, when the job is set to produce the 'Mail Piece File' but there is no G1IMBXRF environment variable set to tell the job where to write the file to.
The IMBCTL parameter's position 28 would be set to X or M to select to generate the Mail Piece File. 
The only intended purpose of generating the file is so it can be loaded into Pitney Bowes Software's 'Mail360 Data Manager™' application.  (Also later called 'EngageOne™ Delivery Audit' and 'EngageOne™ Inform')

If Mail360 Data Manager is not being used by your business, then the job does not need to generate the Mail Piece file, so it does not need to be selected. Removing the selection will resolve the error.

If the Mail Piece File *is* needed, the variable can be added in one of two ways:
1) It can be added to the System Variables list via 'Start->Settings->Control Panel->System-> 'Advanced' tab->Environment Variables.
2) Alternatively, if MailStream Plus is only being used in batch mode it can be added to the 'jobname'.bat file using something similar to-
SET G1IMBXRF=D:\mailpiecefile.txt
Environment Details
Product affected: MailStream Plus™