Problem Note 46512: Batch report definitions in SAS® IT Resource Management 3.21 (and later) might fail with a warning and errors as a result of truncation
Beginning with SAS® Enterprise Guide® 5.1 and SAS IT Resource Management 3.21 (and later), generating and running SAS code in batch might cause custom or supplied report definitions to fail with warning and error messages.
This problem occurs when any line of SAS code that is generated exceeds 256 characters. The following warning message appears in the SAS log:
WARNING: Truncated record.
Depending on where the truncation occurs, other syntax and missing-file errors might appear that are similar to the following messages:
Error 1
ERROR 22-7: Invalid option name OUT.
ERROR 22-322: Missing ')' parenthesis for data set option list
ERROR 79-322: Expecting a ).
Error 2
ERROR: File WORK.SORTTEMPTABLESORTED.DATA does not exist.
Error 3
ERROR: File WORK.DAYHOURLPAR_DH0046_Q1.DATA does not exist.
To circumvent this problem, set the SAS system option LRECL= value to 2048, per SAS Note 15883: "Length limitations when submitting SAS code."
In the z/OS operating environment, if you deploy a report job to a traditional MVS data set or PDS, you must specify a data control block (DCB) characteristic LRECL of 2048 in the target data set. Otherwise, if you deploy a report job to a ZFS file system, you must specify the LRECL= system option in the JCL EXEC statement of your batch job. The following example illustrates a SAS invocation in batch mode, using a JCL EXEC statement and the setting of the LRECL= system option:
//STEP1 EXEC SAS,OPTIONS=’LRECL=2048’
Operating System and Release Information
SAS System | SAS IT Resource Management-Server | z/OS | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
Microsoft® Windows® for x64 | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
Microsoft Windows Server 2003 Datacenter Edition | 3.21 | | 9.3 TS1M1 | |
Microsoft Windows Server 2003 Enterprise Edition | 3.21 | | 9.3 TS1M1 | |
Microsoft Windows Server 2003 Standard Edition | 3.21 | | 9.3 TS1M1 | |
Microsoft Windows Server 2003 for x64 | 3.21 | | 9.3 TS1M1 | |
Microsoft Windows Server 2008 | 3.21 | | 9.3 TS1M1 | |
Microsoft Windows Server 2008 for x64 | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
Microsoft Windows XP Professional | 3.21 | | 9.3 TS1M1 | |
Windows 7 Enterprise 32 bit | 3.21 | | 9.3 TS1M1 | |
Windows 7 Enterprise x64 | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
Windows 7 Home Premium 32 bit | 3.21 | | 9.3 TS1M1 | |
Windows 7 Home Premium x64 | 3.21 | | 9.3 TS1M1 | |
Windows 7 Professional 32 bit | 3.21 | | 9.3 TS1M1 | |
Windows 7 Professional x64 | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
Windows 7 Ultimate 32 bit | 3.21 | | 9.3 TS1M1 | |
Windows 7 Ultimate x64 | 3.21 | | 9.3 TS1M1 | |
Windows Vista | 3.21 | | 9.3 TS1M1 | |
Windows Vista for x64 | 3.21 | | 9.3 TS1M1 | |
64-bit Enabled AIX | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
64-bit Enabled HP-UX | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
64-bit Enabled Solaris | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
HP-UX IPF | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
Linux | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
Linux for x64 | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
Solaris for x64 | 3.21 | 3.4 | 9.3 TS1M1 | 9.4 TS1M1 |
*
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.
Type: | Problem Note |
Priority: | alert |
Date Modified: | 2012-06-04 12:30:24 |
Date Created: | 2012-05-07 15:45:37 |