SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 50175: PROC PHREG issues syntax errors with METHOD=BRESLOW or METHOD=NELSON option in the BASELINE statement

DetailsAboutRate It

Prior to SAS/STAT 12.1 in SAS 9.3 TS1M2, PROC PHREG issues the following errors if you specify the option METHOD=BRESLOW or METHOD=NELSON in the BASELINE statement:

     ERROR 22-322: Syntax error, expecting one of the following: CH, PL. 
     ERROR 76-322: Syntax error, statement will be ignored 

To circumvent the problem specify METHOD=CH or METHOD=EMP. CH and EMP are aliases, and both specify that the Breslow method is used. Beginning in SAS 9.2, the Breslow method is the default, so the problem can also be avoided by omitting the METHOD= option.

The SAS/STAT 12.1 User's Guide correctly documents the available METHOD= options in the BASELINE statement. Earlier versions of the SAS/STAT User's Guide incorrectly include METHOD=BRESLOW or METHOD=NELSON. All earlier SAS/STAT software documentation for PROC PHREG should include only METHOD=CH and its alias METHOD=EMP.

Also note that all versions of the SAS/STAT User's Guide in 9.2 as well as the SAS/STAT 9.3 User’s Guide incorrectly state “The default is METHOD=BRESLOW”. The correct statement should be “The default is METHOD=CH”. The SAS/STAT User’s Guides prior to 9.2 correctly state “The default is METHOD=PL”.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/STATTru64 UNIX9.1 TS1M39.3 TS1M2
OpenVMS Alpha9.1 TS1M39.3 TS1M2
Linux9.1 TS1M39.3 TS1M2
HP-UX IPF9.1 TS1M39.3 TS1M2
64-bit Enabled Solaris9.1 TS1M39.3 TS1M2
64-bit Enabled HP-UX9.1 TS1M39.3 TS1M2
Windows Vista for x649.1 TS1M39.3 TS1M2
Windows Vista9.1 TS1M39.3 TS1M2
Microsoft Windows XP Professional9.1 TS1M39.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M39.3 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M3
Microsoft Windows 2000 Server9.1 TS1M3
Microsoft Windows 2000 Datacenter Server9.1 TS1M3
Microsoft Windows XP 64-bit Edition9.1 TS1M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M39.3 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M39.3 TS1M2
64-bit Enabled AIX9.1 TS1M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M39.3 TS1M2
Microsoft Windows NT Workstation9.1 TS1M3
Microsoft Windows 2000 Advanced Server9.1 TS1M3
z/OS9.1 TS1M39.3 TS1M2
* 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.