SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 50475: SAS® Clinical Standards Toolkit 1.5 - Explicit macrocall variable lengths of $400 can cause generated source catalog code to exceed $255

DetailsHotfixAboutRate It

In SAS® Clinical Standards Toolkit 1.5, explicit macrocall variable lengths of $400 can cause generated source catalog code to exceed $255 and possibly truncating source code in the extract_domaindata_all.sas macro.

Consider this example:

    filename incCode CATALOG "work._cstCode.domains.source" LRECL=255;

    data _null_;

      set srcdata.itemgroupdefs(keep=OID Name IsReferenceData SASDatasetName Domain);

      file incCode;

      length macrocall $400 _cstOutputName $100;

      macrocall=cats('%odm_extractdomaindata(_cstSelectAttribute=OID',

      ', _cstSelectAttributeValue=', OID,

      ', _cstIsReferenceData=', IsReferenceData,

      ', _cstMaxLabelLength=256',

      ', _cstAttachFormats=Yes',

      ', _cstODMMinimumKeyset=No',

      ', _cstLang=en',

      ', _cstOutputDS=', _cstOutputName, ');');

      put macrocall;

There are examples where the code written to the source file exceeds $255 and contains a space that can cause the code to fail when it is submitted. If the space happens in a line of code where it does not make a difference, the program runs correctly. If it inserts a space where it is not allowed, the code fails. Consider something like proc pr int instead of proc print.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Clinical Standards ToolkitMicrosoft® Windows® for x641.5
Microsoft Windows 8 Ent1.5
Microsoft Windows 8 Pro1.5
Microsoft Windows 95/981.5
Microsoft Windows 2000 Advanced Server1.5
Microsoft Windows 2000 Datacenter Server1.5
Microsoft Windows 2000 Server1.5
Microsoft Windows 2000 Professional1.5
Microsoft Windows NT Workstation1.5
Microsoft Windows Server 2003 Datacenter Edition1.5
Microsoft Windows Server 2003 Enterprise Edition1.5
Microsoft Windows Server 2003 Standard Edition1.5
Microsoft Windows Server 2003 for x641.5
Microsoft Windows Server 20081.5
Microsoft Windows Server 2008 for x641.5
Microsoft Windows Server 2012 Datacenter1.5
Microsoft Windows Server 2012 Std1.5
Microsoft Windows XP Professional1.5
Windows 7 Enterprise 32 bit1.5
Windows 7 Enterprise x641.5
Windows 7 Home Premium 32 bit1.5
Windows 7 Home Premium x641.5
Windows 7 Professional 32 bit1.5
Windows 7 Professional x641.5
Windows 7 Ultimate 32 bit1.5
Windows 7 Ultimate x641.5
Windows Millennium Edition (Me)1.5
Windows Vista1.5
Windows Vista for x641.5
64-bit Enabled Solaris1.5
Linux for x641.5
* 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.