Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 172125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:06:36+00:00 2026-05-11T13:06:36+00:00

I am running SAS version 8.1 on the OpenVMS 8.3 platform. I have tried

  • 0

I am running SAS version 8.1 on the OpenVMS 8.3 platform. I have tried 2 different ways to import a csv data file and cant seem to get either of them to work properly. It would be great if anyone has any ideas as to what I may be doing wrong. This seems like a rather simple thing to do.

CSV file

SSID,field1,……(etc)

AA9999999,043844,…….(etc)

Method A — This seems to ‘almost’ work.

DATA JU2_DAT;

   INFILE STD_JU2  DSD LRECL=1024 TRUNCOVER FIRSTOBS=2;     INPUT    ID $             field1 $ 

For some reason the last character of the ID field is cut off…instead of getting 9 characters I am getting only 8.

Method B

PROC IMPORT DATAFILE=STD_JU2 OUT=JU2_DAT DBMS=CSV ; GETNAMES=YES;

This method just doesn’t seem to run at all. It pegs the CPU at 100% and when I terminate the process I have the following errors in the LOG. This one baffles me as I am not running this in any kind of windowing environment.

ERROR: Cannot open X display. Check display name/server access authorization.

+ERROR: Cannot open X display. Check display name/server access authorization.

+ERROR: Cannot open X display. Check display name/server access authorization.

+

+

ERROR: Device does not support full-screen.

+ERROR: Device does not support full-screen.

+ERROR: Device does not support full-screen.

ERROR: Named item not found in list.

+ERROR: Named item not found in list.

+ERROR: Named item not found in list.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:06:37+00:00Added an answer on May 11, 2026 at 1:06 pm

    I would try adding an informat to your input statement. The default length is 8 chars. Use the colon modifier which will cause SAS to read for :$X. chars OR until a delimiter is encountered.

    INFILE STD_JU2  DSD LRECL=1024 TRUNCOVER FIRSTOBS=2; INPUT    ID :$9.         field1 $ 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using SAS 9.2 on OpenVMS to connect to an external data source over
Running into a problem. I have a table defined to hold the values of
I have a report with subreports and when running subreports it's as if the
I usually have a sas macro code which automatically run macros Save As and
I am running Windows Xp. Is there a way in Base SAS to obtain
I'm trying to upload a file to my Spring server running on Tomcat7. It's
Running VWD 2010 Express on a windows 7 machine. I have a asp:listview (on
I am running sles10sp3 on two different vm's. I am trying to find the
Hey there! I'm trying to serialize data in AS3 but am running into a
I'm running the following SAS command: Proc SQL; Delete From Server003.CustomerList; Quit; Which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.