transferring .mdb from one drive to local server to share drive

Reply
Regular Contributor
Posts: 220

transferring .mdb from one drive to local server to share drive

Hello Friends - if i want to transfer some .mdb files from SAS server to other share drives which are mapped to SAS server. How can i achieve this using SAS code?

Thanks!

Super User
Posts: 19,814

Re: transferring .mdb from one drive to local server to share drive

X commands using your environments native commands.

http://www2.sas.com/proceedings/sugi31/036-31.pdf

Regular Contributor
Posts: 220

Re: transferring .mdb from one drive to local server to share drive

Reeza - i see some examples in documents but is it possible you can give  me one example and write down one line code which would transfer .mdb data from one folder to share drive please?

Thanks!

Super User
Posts: 19,814

Re: transferring .mdb from one drive to local server to share drive

No, because I don't know your environments (windows, unix, mac) and how you're referencing your drives.

Regular Contributor
Posts: 220

Re: transferring .mdb from one drive to local server to share drive

Sorry it's windows actually - is below code should work?

x copy "f:\sam\samuser_id.mdb"

           "\\usasam000\shares\samuser_id.mdb";

Thanks!

Ask a Question
Discussion stats
  • 4 replies
  • 239 views
  • 0 likes
  • 2 in conversation