BookmarkSubscribeRSS Feed
jerry898969
Pyrite | Level 9

I'm doing a proc upload to a linux server.  The issue i'm having is that the SAS Data Set Index (*.sas7bndx) files are also uploaded.  How can I exclude them from being moved?

rsubmit;

proc upload in=temp out=tempOut ;

    select tab1 tab2 tab3 etc..... ;

run ;

endrsubmit;

I only want tab1.sas7bdat not tab1.sas7bndx

Thank you

2 REPLIES 2
FriedEgg
SAS Employee

libname educlib 'sasdemo.educcats.screens' server=abcserv sapw=demopw;

libname tempOut '.';

proc datasets;

copy in=educlib out=tempOut index=no;

select tab1 tab2 tab3 etc......;

run;

quit;

PROC UPLOAD only allows for the upload or the destination-side recreation of an index.  If you want to no have an index at all after the transfer use a different procedure, such as PROC DATASETS.

jerry898969
Pyrite | Level 9

Hi FriedEgg,

Thank you for your reply. 

This is currently how I have to connect to my linux version of sas.

options netencryptalgorithm = tripledes ;

%let host=xxxxxxxx.xxx ;

signon host.10000 user=temp password=temp1 ;

Is there a way to use proc datasets within rsubmit?

Thanks again.

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!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 699 views
  • 3 likes
  • 2 in conversation