![]() | ![]() | ![]() | ![]() |
If you experience transcoding errors when you execute the %%OMABAKUP macro to back up your SAS® metadata repositories, you should download the enhanced version of the macro definition and run the associated .sas script that is available on the Downloads tab of this note.
This new encoding–enhanced version of the SAS 9.1.3SP4 macro will dynamically sense the current session encoding, and set the appropriate value in the XML header necessary to exchange repository metadata between the server and the SAS session in which the macro is running.
The current SAS 9.1.3SP4 macro runs in ASCII format in UNIX and Windows SAS sessions, and only runs in the default EBCDIC English–US1047 (W0) code page in a z/OS environment. In most instances, the original SAS 9.1.3SP4 version of %OMABAKUP runs successfully on UNIX and Windows platforms. However, occasionally special characters used by a particular locale can cause transcoding errors. In these instances, this new macro should be used instead. The new SAS 9.1.3 macro supports backup and restore in a z/OS environment, regardless of which EBCDIC code page is used for the local SAS installation.
The omabakup913EncodingScript.sas script file has also been provided to illustrate how the new backup macro should be invoked. This script file creates a fileref to the omabakup913Encoding.sas macro file with the option ENCODING="utf8", and uses a %INCLUDE statement to specify the fileref that points to the macro that you want to be read in the current SAS session. Reading the macro file with utf8 encoding causes SAS to execute the macro using whatever session encoding is currently running.
In order to implement the new %OMABAKUP macro and script, follow these instructions:
Note: You must use the syntax supplied in the omabakup913EncodingScript.sas file to submit the enhanced –OMABAKUP macro in order for the macro to execute successfully.
| Product Family | Product | System | SAS Release | |
| Reported | Fixed* | |||
| SAS System | SAS Metadata Server | Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |||
| z/OS | 9.1 TS1M3 SP4 | |||
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |||
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |||
| Microsoft® Windows® for x64 | 9.1 TS1M3 SP4 | |||
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
| Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
| Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
| Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |||
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |||
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |||
| Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |||
| Windows Vista | 9.1 TS1M3 SP4 | |||
| 64-bit Enabled AIX | 9.1 TS1M3 SP4 | |||
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |||
| 64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |||
| HP-UX IPF | 9.1 TS1M3 SP4 | |||
| Linux | 9.1 TS1M3 SP4 | |||
| Linux on Itanium | 9.1 TS1M3 SP4 | |||
| Solaris for x64 | 9.1 TS1M3 SP4 | |||
If downloading to a Windows machine, select this file:
fusion_34919_1_omabakup913Encoding.ZIPIf downloading to a Unix machine, use this file:
fusion_34919_2_omabakup913Encoding.tar| Type: | Usage Note |
| Priority: | |
| Topic: | System Administration ==> Servers ==> Metadata |
| Date Modified: | 2009-03-16 14:26:53 |
| Date Created: | 2009-02-23 15:16:22 |



