BookmarkSubscribeRSS Feed
JMarkW
Fluorite | Level 6
Working with an application that runs on several servers. The code is tightly controlled with Clearcase. An identical batch SAS program is run on each system being initiated by CRON. The CRON entry for each server uses the -noquotelenmax system option to turn off The Warning 262 error message. This application uses millions of macro variables that are over 262 bytes long so the warning message will generate millions of log messages if not surpressed.

The CRON and SAS program works fine on all but one server. On that one server the Warning 262 messages are generated even after CRON set the -noquotelenmax system option when executing the program.

Anybody know why the option would be ignored on one system and not others. They code is identical. The .profile and proc options are also identical.
7 REPLIES 7
Cynthia_sas
SAS Super FREQ
Hi:
This isn't really an ODS or PROC REPORT/PRINT/TABULATE question. Since you are experiencing issues on a particular server, but not on others, with the same code, this is the kind of problem that should be resolved with Tech Support.

They have access to all different kinds of servers in order to test and duplicate your results. AND, if there is an issue with NOQUOTELENMAX not working on a particular server, then they are the ones that would issue a Note about the behavior for other users who have the same server configuration.

For example, they already have these NOTES about NOQUOTELENMAX:
http://support.sas.com/kb/19/888.html
http://support.sas.com/kb/00/888.html
http://support.sas.com/kb/7/898.html

To open a track with Tech Support, go to this site:
http://support.sas.com/ctx/supportform/createForm

cynthia
JMarkW
Fluorite | Level 6
I found a way to recreate this issue on a test server even though options noquotelenmax is used in the program.

This options noquotelenmax is toggled off after processing that includes the following type of input.

LIBNAME XMLFILE XML "&abc/&file" XMLMAP="&xmlmap";

The XML file does not generate the 262 message but any regular non-XML files that "may" follow that have a macro variable with a size over 262 will generate the error messages.

I'm coding around this by issuing the options noquotelenmax command before each file is processed rather than at program initialization.

Apparently SAS has an "undocumented feature" when using the LIBNAME XML functionality Message was edited by: JMarkW
deleted_user
Not applicable
sounds like a place where a developer implements the option to switch off the message before generating code that might cause it, but afterwards or at close of the XML libname engine handler, switches the option to the default rather than the prevailing value. So it should be an easy fix. (imho)

PeterC
JMarkW
Fluorite | Level 6
SAS technical support confirmed today that the error exists in version 9.1.3. They said the problem existed on multiple platforms besides Solaris.

Tech support said that the error is fixed in 9.2
deleted_user
Not applicable
not much left to add to Cynthia's points, except that executing [pre] proc options option= quotelenmax define value ; run ;[/pre]among many details it reveals [pre]Restricted: Your Site Administrator can restrict modification of this option[/pre]
Do you think this may have happened on that special server ?

PeterC
JMarkW
Fluorite | Level 6
When I have proc options run on that server that answer does not return. The userid that I can have it run under is not the same as the one run from CRON.

I'm going to bounce a question about this back to a SAS support contact.

Thanks!
JMarkW
Fluorite | Level 6
Unfortunately the result of the options command was:

"Your Site Administrator has not restricted any SAS options."

It looks like that was another dead end.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 7 replies
  • 973 views
  • 0 likes
  • 3 in conversation