Problem Note 35546: TITLE statement warning message correctly produces a return code of 4 or 1 in SAS® 9.2
An incorrect TITLE statement correctly generates a warning message, but fails to set the return code or &SYSCC to a 4 for IBM mainframe systems or a 1 for UNIX or Windows systems prior to SAS 9.2.
For example, the following TITLE statement generates a warning message, but sets the return code to 0 prior to SAS 9.2:
TITLE 'Title Generates Warning' Message;
WARNING: The TITLE statement is ambiguous due to invalid options
or unquoted text.
Another example of a TITLE statement that generates a warning message, but sets the return code to 0 prior to SAS 9.2:
TITLE11 'Sample Title 11';
WARNING: TITLE statement number must be between 1 and 10. The
statement will be ignored.
In SAS 9.2 the TITLE statement has been fixed to correctly produce a return code 4 or 1 (depending on the operating system) for warning messages.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M3 | 9.2 TS1M0 |
Windows Vista | 9.1 TS1M3 | 9.2 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 | 9.2 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 | 9.2 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 | 9.2 TS1M0 |
HP-UX IPF | 9.1 TS1M3 | 9.2 TS1M0 |
Linux | 9.1 TS1M3 | 9.2 TS1M0 |
OpenVMS Alpha | 9.1 TS1M3 | 9.2 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 | 9.2 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.
Prior to SAS 9.2, an incorrect TITLE statement correctly generates a warning message, but fails to set the return code or &SYSCC to a 4 or 1 (depending on the operating system).
Type: | Problem Note |
Priority: | medium |
Topic: | Common Programming Tasks SAS Reference ==> Statements ==> Output Control ==> TITLE
|
Date Modified: | 2012-06-28 13:08:04 |
Date Created: | 2009-04-14 08:44:44 |