Problem Note 54706: The DATETIME Windows command and the %RMRUNETL macro's parameter are documented incorrectly
The DATETIME Windows command and the %RMRUNETL macro's <EMAILTO=> parameter are documented incorrectly in "Example 2: Running an MS SCOM Job on Windows" (under "%RMRUNETL Examples") in "Appendix 8: Macros" of the SAS IT Resource Management 3.4: Administrator's Guide. The problem occurs in documentation for release 3.4 and later.
The example in the guide illustrates how to run the %RMRUNETL macro using a Windows BAT job.
The DATETIME Windows command and the %RMRUNETL macro's <EMAILTO=. . .> parameter should be coded as follows:
set DATETIME=%date:~10,4%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%%time:~6,2%
set DATETIME=%DATETIME: =0%
%rmrunetl(adapter = &ADAPTER,
stagingJob = &JOBhome\MS_SCOM_Staging.sas,
stagingLog = &LOGhome\ MS_SCOM_Staging_&datetime..log,
aggJob1 = &JOBhome\InfoStore_Aggregation.sas,
aggJob2 = &JOBhome\InfoStoreMailbox_Aggregation.sas,
aggJob3 = &JOBhome\Disk_Aggregation.sas,
aggJob4 = &LOGhome\System_Aggregation.sas,
aggLog1 = &LOGhome\InfoStore_Aggregation_&datetime..log,
aggLog2 = &LOGhome\InfoStoreMailbox_Aggregation_&datetime..log,
aggLog3 = &LOGhome\Disk_Aggregation_&datetime..log,
aggLog4 = &LOGhome\System_Aggregation_&datetime..log,
reportJob1 = &JOBhome\InfoStore_Daily_Reporting.sas,
reportJob2 = &JOBhome\InfoStoreMailbox_Daily_Reporting.sas,
reportJob3 = &JOBhome\Disk_Daily_Reporting.sas,
reportJob4 = &JOBhome\System_Daily_Reporting.sas,
reportLog1 = &LOGhome\InfoStore_Daily_Reporting_&datetime..log,
reportLog2 = &LOGhome\InfoStoreMailbox_Daily_Reporting_&datetime..log,
reportLog3 = &LOGhome\Disk_Daily_Reporting_&datetime..log,
reportLog4 = &LOGhome\System_Daily_Reporting_&datetime..log,
emailto = email.address@company.com
);
Corrected content is planned for a future release of the SAS IT Resource Management documentation.
Operating System and Release Information
SAS System | SAS IT Resource Management-Server | Microsoft® Windows® for x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Enterprise 32-bit | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Enterprise x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Pro 32-bit | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8 Pro x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Enterprise 32-bit | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Enterprise x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Pro | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows 8.1 Pro 32-bit | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 R2 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2008 for x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 Datacenter | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Datacenter | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 R2 Std | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Microsoft Windows Server 2012 Std | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Enterprise 32 bit | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Enterprise x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Home Premium 32 bit | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Home Premium x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Professional 32 bit | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Professional x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Ultimate 32 bit | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
Windows 7 Ultimate x64 | 3.4 | 3.7 | 9.4 TS1M2 | 9.4 TS1M3 |
*
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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-12-05 08:20:39 |
Date Created: | 2014-11-24 13:26:26 |