SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 34923: A metadata backup that is scheduled to run by using the SAS DATA Step Batch Server might fail to copy the configuration files and the journal files

DetailsAboutRate It

The %OMABAKUP macro backs up server journal and configuration files in addition to the SAS metadata repositories. The XCMD= system option must be set in the SAS session in which %OMABAKUP executes.

However, the macro might fail to copy the server journal files and the configuration files. An error message similar to the following writes to the backup job's log file:

ERROR: Shell escape is not valid in this SAS session.

This issue occurs when you use the Backup Wizard in SAS® Management Console to configure a backup job and then schedule that job to run on the SAS DATA Step Batch Server within the SASMeta Application Server context. By default, the SAS DATA Step Batch Server is configured with the NOXCMD= system option in effect.

To resolve this issue, edit the sasbatch_usermods.bat file in the SASMeta/BatchServer directory as follows:

Set USERMODS_OPTION=-XCMD


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS Metadata Serverz/OS9.2 TS2M09.2 TS2M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M09.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M09.2 TS2M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M09.2 TS2M2
Microsoft Windows XP 64-bit Edition9.2 TS2M09.2 TS2M2
Microsoft® Windows® for x649.2 TS2M09.2 TS2M2
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M09.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M09.2 TS2M2
Microsoft Windows Server 2003 Standard Edition9.2 TS2M09.2 TS2M2
Microsoft Windows XP Professional9.2 TS2M09.2 TS2M2
Windows Vista9.2 TS2M09.2 TS2M2
64-bit Enabled AIX9.2 TS2M09.2 TS2M2
64-bit Enabled HP-UX9.2 TS2M09.2 TS2M2
64-bit Enabled Solaris9.2 TS2M09.2 TS2M2
HP-UX IPF9.2 TS2M09.2 TS2M2
Linux9.2 TS2M09.2 TS2M2
Linux for x649.2 TS2M09.2 TS2M2
Solaris for x649.2 TS2M09.2 TS2M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.