Problem Note 42053: Using LOGPARM=WRITE=IMMEDIATE causes an invalid file pointer error
Although the UNBUFLOG system option was replaced by LOGPARM in SAS
® 9.2, the WRITE=IMMEDIATE option does not allow content to be written to the SAS log in SYSOUT. Instead, the following error occurs:
ERROR: Invalid file pointer.
A statement in the SAS 9.1.3 online documentation says that UNBUFLOG is replaced. This statement is specific to UNIX systems, not to any other host.
The Details section of the z/OS Companion documentation states that the LOGPARM= system option controls the opening and closing of SAS log files. This option also controls the naming of new log files in conjunction with the LOG= system option and the use of directives in the value of LOG=. If you issue the LOG= system option and intend to use the LOGPARM= system option, then LOG= must specify a physical name.
Therefore, you cannot use LOGPARM if you want to specify a ddname on the LOG= option. Although this is not documented, continue to use UNBUFLOG as you have with previous releases of SAS. Do not use LOGPARM if you want the log to be written to SYSOUT.
A fix and changes to the documentation are under consideration.
Operating System and Release Information
| SAS System | Base SAS | z/OS | 9.2 TS2M3 | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | |
| Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | |
| Microsoft® Windows® for x64 | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | |
| Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | |
| Microsoft Windows Server 2008 | 9.2 TS2M3 | |
| Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | |
| Microsoft Windows XP Professional | 9.2 TS2M3 | |
| Windows 7 Enterprise 32 bit | 9.2 TS2M3 | |
| Windows 7 Enterprise x64 | 9.2 TS2M3 | |
| Windows 7 Home Premium 32 bit | 9.2 TS2M3 | |
| Windows 7 Home Premium x64 | 9.2 TS2M3 | |
| Windows 7 Professional 32 bit | 9.2 TS2M3 | |
| Windows 7 Professional x64 | 9.2 TS2M3 | |
| Windows 7 Ultimate 32 bit | 9.2 TS2M3 | |
| Windows 7 Ultimate x64 | 9.2 TS2M3 | |
| Windows Vista | 9.2 TS2M3 | |
| Windows Vista for x64 | 9.2 TS2M3 | |
*
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.
In SAS® 9.2, although the UNBUFLOG system option was replaced by LOGPARM, the WRITE=IMMEDIATE option does not allow content to be written to the SAS log in SYSOUT. Instead, an error occurs.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2011-10-21 16:54:42 |
| Date Created: | 2011-01-07 15:13:34 |