BookmarkSubscribeRSS Feed
deleted_user
Not applicable
We recently upgraded to SAS 9.2 on a Unix server that is maintained offsite, and previously we were on a Windows SAS 9.13 installation. Code that I used in Windows to run a few PROC SQLs, spin the data, generate some graphs, and then output everything to multiple HTML files worked fine. It actually works great in Enterprise Guide connected to our new Unix server as well.

However, when I attempt to SSH into our Unix server (which works) and run SAS from the command line with a command like the following (I'm using the -stdio option just to get more verbose error messages - same problem persists without the -stdio option):

> sas -stdio mainCode.sas

I get the following error when the 'mainCode.sas' script attempts to perform an "ods html close;" statement:

Fatal I/O error with the network connection to the X display server.
Connection to display localhost:11.0 was lost.


Traceback

vacrash+0x1c8
vacrash+0x38 -- bridge stub
FatalShutdown_8_1+0x160
wutxioe+0xc
_XIOError+0x3c
_XRead@AF58_34+0x200
XOpenDisplay+0x1414
wuwixtk(0x4f52000000000000, 0x9000000, 0x900000009b45104)+0x238
wutinit+0x270
wuxinit+0x160
wuxinit+0x38 -- bridge stub
yustrt+0x26c
14 The SAS System

yuinit+0x32c
yuropen+0x194
xuropen+0x38 -- bridge stub
fmxuini+0x6c
dpdinit+0x5b0
dpdinit+0x38 -- bridge stub
fminit+0x78
saszaf+0x1e0
vvtentr+0xf0

ERROR: Named item not found in list.
Arguments passed to GETNITEML:
1 APPLLIST = 4
2 APPLNAME = 'T2'
Program returning prematurely at line 198
AF Program: SASHELP.FSP.AFCLASS.SCL
*** Line 159: [ERROR: #114] Calling function SEND. Unable to perform requested function
Arguments passed to SEND:
1 _self_ = 4913
2 (Character Literal) = 'CLOSEPORT'
Parameters passed to SEND ENTRY:
1 mgrid = 2
2 rc = 0
Program returning prematurely at line 159
AF Program: SASHELP.FSP.COMM.SCL

(emphasis on the "Fatal I/O Error..." is mine)

The funny thing is, when I open an Xming window on my Windows machine (Xming is the interface we use to give us access to the X Windows environment on the Unix box), the same script will run without error, presumably because the Unix machine sees that I have an X Windows session connected via my Xming session.

So my question is this: Is there a way to fix this error without being required to have Enterprise Guide or an XMing session open to run the code that is using the ODS HTML statements? I need to be able to get this code automated to run on a daily basis without my involvement, so doing away with the windowing is a necessity so that I can run this in batch directly on the server. Any ideas what's going on? Is this a user setup problem that I could have our admin fix?
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
I'd recommend that you contact Tech Support on this one. They may have to get a copy of your mainCode.sas file in order to test in the various ways that you describe. Generally a Fatal Error is something that Tech Support needs to look at to determine the cause and the fix.

Searching at support.sas.com on terms like
vacrash fatal error
named item not found in list
program returning prematurely

these hits came up (which may or may not be relevant to your issue):
http://support.sas.com/kb/11/824.html
http://support.sas.com/kb/5/008.html
http://support.sas.com/kb/7/491.html
http://support.sas.com/kb/7/471.html

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

cynthia

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1 reply
  • 1132 views
  • 0 likes
  • 2 in conversation