The following errors might occur when you export SAS® Stored Processes that contain one or more shared prompts or when you individually export a shared prompt:
INFO - ******** Exporting Metadata ******** ERROR - Failure exporting metadata from source server. Reason: The public type definition 'Prompt' (version 1), specified by object Prompt : 'PROMPT_NAME' (ID="A59ONK7H.CB0000LU"), does not exist. INFO - The export process has finished with errors.
This problem is most likely to occur if you edit the shared prompt using SAS® Management Console.
You can correct this problem by running the SAS program that appears on the Full Code tab in this note.
Click the Hot Fix tab in this note to access the hot fix for this issue.
For customers running the second maintenance release for SAS® 9.3 (TS1M2), applying Hot Fix I15011 is necessary to avoid future problems with exporting shared prompts.
For customers running SAS® 9.4 (TS1M0), applying Hot Fix L45002 is necessary to avoid future problems with exporting shared prompts.
After you apply the appropriate hot fix, new shared prompts will export correctly. However, you do need to correct existing shared prompts that you create and edite before the hot-fix application. As mentioned previously, you can correct these existing prompts using the program that is included on the Full Code tab in this note.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Management Console | Microsoft® Windows® for x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 |
Microsoft Windows 8 Enterprise 32-bit | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows 8 Enterprise x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows 8 Pro 32-bit | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows 8 Pro x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows 8.1 Enterprise 32-bit | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows 8.1 Enterprise x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows 8.1 Pro | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows 8.1 Pro 32-bit | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2003 Standard Edition | 9.3 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2003 for x64 | 9.3 | 9.3 TS1M2 | ||||
Microsoft Windows Server 2008 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2008 R2 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2008 for x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2012 Datacenter | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2012 R2 Datacenter | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2012 R2 Std | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows Server 2012 Std | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Microsoft Windows XP Professional | 9.3 | 9.3 TS1M2 | ||||
Windows 7 Enterprise 32 bit | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Enterprise x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Home Premium 32 bit | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Home Premium x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Professional 32 bit | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Professional x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Ultimate 32 bit | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows 7 Ultimate x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Windows Vista | 9.3 | 9.3 TS1M2 | ||||
Windows Vista for x64 | 9.3 | 9.3 TS1M2 | ||||
64-bit Enabled AIX | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
64-bit Enabled HP-UX | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
64-bit Enabled Solaris | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
HP-UX IPF | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Linux | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Linux for x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 | ||
Solaris for x64 | 9.3 | 9.4_M1 | 9.3 TS1M2 | 9.4 TS1M1 |
/*===================================================================*/
/* INPUT INPUT INPUT INPUT INPUT INPUT INPUT INPUT INPUT INPUT INPUT */
/* You must specify the path to your Metadata Server directory */
/*===================================================================*/
%let Metadata_Server_Dir =D:\sasconfig\Lev1\SASMeta\MetadataServer;
/*===================================================================*/
/* - END INPUT - END INPUT - END INPUT - END INPUT - ENDE INPUT - */
/*===================================================================*/
/* Metadata-Server Parameter list------------------------------------*/
/* Metadata-Parameter-Options with metaparms.sas File */
%include "&Metadata_Server_Dir\metaparms.sas";
/*-------------------------------------------------------------------*/
/* Read all corrupt prompts from Metadata */
/*-------------------------------------------------------------------*/
data Corrupt_Prompts;
length pruri UV $256;
rc=1;
n =1;
do while(rc>0);
rc=metadata_getnobj("omsobj:Prompt?@Id contains '.'",n,pruri);
if rc > 0 then do;
rcn=metadata_getattr(pruri,"UsageVersion",UV);
if UV = "1" then output;
end;
n=n+1;
end;
run;
/*-------------------------------------------------------------------*/
/* Print all corrupt prompts */
/*-------------------------------------------------------------------*/
Title "Prompts that need to be fixed";
proc print data=Corrupt_Prompts;
run;
/*-------------------------------------------------------------------*/
/* Update Metadata */
/*-------------------------------------------------------------------*/
data _null_;
set Corrupt_Prompts;
rcn=metadata_setattr(pruri,"UsageVersion","1000000");
run;
/*===================================================================*/
A fix for this issue for SAS Management Console 9.4 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/L45.html#53790A fix for this issue for SAS Middle Tier 9.4 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/L49.html#53790A fix for this issue for SAS Middle Tier 9.3_M2 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/I14.html#53790A fix for this issue for SAS Management Console 9.3_M2 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/I15.html#53790Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-11-11 10:01:00 |
Date Created: | 2014-07-30 19:42:54 |