A SAS® IT Resource Management staging job may not be able to resolve the VMXGINIT macro


SAS® IT Resource Management staging job might generate the following warning and error messages:

WARNING: Apparent invocation of macro VMXGINIT not resolved.

ERROR 180-322: Statement is not valid or it is used out of proper order.

These messages may be accompanied by the following error messages:

ERROR: Entry CPO601S.SCL not found.

*** Line 1183: [ERROR:  #114]  Calling function DISPLAY.  Unable to perform requested function
 Arguments passed to DISPLAY:
   1 (Character Literal) = 'CPO601S.SCL'
 Parameters passed to DISPLAY ENTRY:
   1 (Character Literal) = 'KILTASKS'
 Program returning prematurely at line 1183
 AF Program: SASHELP.ITMS.MXG_CPZ001S.SCL
 *** Line 1449: [ERROR:  #114]  Calling function METHOD.  Unable to perform requested function
 Arguments passed to METHOD:
   1 (Character Literal) = 'mxg_cpz001s.scl'
   2 (Character Literal) = 'stun'
 Parameters passed to METHOD ENTRY:
   1 cprc = 12
   2 cpstunop = 'DUMPFILEINFO DUMPSCL SHUTDOWN STOP'
   3 (Character Expression $T1) = 'CPC021P.SCL processing RMFINTRV'
 Program returning prematurely at line 1449
 AF Program: SASHELP.ITMS.MXG_CPC021P.SCL
 *** Line 1300: [ERROR:  #114]  Calling function DISPLAY.  Unable to perform requested function
 Arguments passed to DISPLAY:
   1 (Character Literal) = 'MXG_CPC021P.SCL'
 Parameters passed to DISPLAY ENTRY:
   1 (Character Literal) = 'RMFINTRV'
   2 mxgvers = ''
   3 (Character Literal) = 'XRMFINT'
   4 rlist = 4657
 Program returning prematurely at line 1300
 AF Program: SASHELP.ITMS.MXG_CPC011P.SCL
 *** Line 315: [ERROR:  #114]  Calling function DISPLAY.  Unable to perform requested function
 Arguments passed to DISPLAY:
 Program returning prematurely at line 315
 AF Program: SASHELP.ITMS.TRANSFORM.SCL
 *** Line 375: [ERROR:  #114]  Unable to perform requested function
 Parameters passed to method EXECUTE:
 Program returning prematurely at line 375
 AF Program: SASHELP.ITMS.STAGE.SCL
 *** Line 51: [ERROR:  #114]  Unable to perform requested function
 Parameters passed to method EXECUTE:
 Program returning prematurely at line 51

This can happen if the MXGSRC environment variable is not set properly in the SAS configuration file.

SET='MXGSRC (USERID.USER.MXGvvvv.SOURCLIB USERID.MXGvvvv.SOURCLIB)'

For example, note the required space between the MXGSRC environment variable and the beginning of the concatenated MXG SOURCLIB datasets.