SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66714: An OPTIONS statement generated by submitting batch programs in SAS® Studio might cause syntax errors such as "ERROR 3-12: Invalid option value"

DetailsHotfixAboutRate It

In SAS Studio 3.8, when you execute a program by highlighting it and selecting Background Submit, one of the statements generated by SAS Studio is an OPTIONS statement that sets the FILELOCKS= option. If you have modified the workspace server configuration files to add a customized value for this option, the resulting concatenation of the values might result in the following:

ERROR 3-12: Invalid option value.
ERROR 180:  Statement is not valid or it is used out of proper order.

For example, you might encounter this issue if you add the following to usermods.cfg file:

-FILELOCKS   '/home/sasdemo/tmp' NONE

After you add the line above, the resulting OPTIONS statement is as follows:

OPTIONS FILELOCKS=( '/' FAIL; '/home/sasdemo/tmp' NONE );

This statement causes the above errors.

Note that even with the errors, the FILELOCKS option is still assigned the correct value.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Studio64-bit Enabled Solaris3.85.19.4 TS1M6Viya
64-bit Enabled AIX3.85.19.4 TS1M6Viya
HP-UX IPF3.85.19.4 TS1M6Viya
Linux for x643.85.19.4 TS1M6Viya
Solaris for x643.85.19.4 TS1M6Viya
* 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.