SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44981: Error message "DS2 pgm failed to be preparedUnable to get catalog string" might occur while executing High Performance procedures on Teradata

DetailsHotfixAboutRate It

The following error messages might be generated when running one of the SAS High Performance Analytic procedures on Teradata:

   ERROR: [Teradata][ODBC Teradata Driver][Teradata Database] DS2 pgm failed to be
          preparedUnable to get catalog string.
   ERROR: The data could not be retrieved from the data source.

The problem might be prevented by installing the hotfix associated with this SAS Note. The hotfix adds four new date and time related functions to the DS2 language as follows:

   as_time      - takes a SAS time double and returns a DS2 time value.
   as_date      - takes a SAS date double and returns a DS2 date value.
   as_timestamp - takes a SAS datetime double and returns a DS2 timestamp value.
   as_double    - takes a DS2 date, time, or timestamp value and returns a
                  SAS date, time, or datetime double.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASTeradata on Linux9.39.3 TS1M0
* 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.