Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Dear friends,

Accepted Solution Solved
Reply
Contributor
Posts: 59
Accepted Solution

Dear friends,

i have one question to all  i got one sas dataset like datasetname.sd2 extension format when i click open its opening in SAS entreprise. but i dont know how to import into sas 9.3. please give me an solution for that.


Accepted Solutions
Solution
‎11-05-2013 10:58 PM
Trusted Advisor
Posts: 1,137

Re: Dear friends,

Posted in reply to anilgvdbm

libname test v6 "path where the file with extension.sd2 is located";

This is done to tell sas that the data file we are trying to access is a v6 datafile.

We can convert the v6 datafile into version 9.3 by

data want;

     set test.dataset;

run;

we can check if the newly created datafile is changed to the current version of sas or not (.sas7bdat) by.

proc contents data=want;

run;

Thanks,

jagadish

Thanks,
Jag

View solution in original post


All Replies
Solution
‎11-05-2013 10:58 PM
Trusted Advisor
Posts: 1,137

Re: Dear friends,

Posted in reply to anilgvdbm

libname test v6 "path where the file with extension.sd2 is located";

This is done to tell sas that the data file we are trying to access is a v6 datafile.

We can convert the v6 datafile into version 9.3 by

data want;

     set test.dataset;

run;

we can check if the newly created datafile is changed to the current version of sas or not (.sas7bdat) by.

proc contents data=want;

run;

Thanks,

jagadish

Thanks,
Jag
Contributor
Posts: 59

Re: Dear friends,

Posted in reply to Jagadishkatam

Dear Sir ,

I am getting this error

"    libname test v6 'D:\District level data\DHS-India\NFHS 1992-93\All-India\HH

  ! raw\IAHH21FL.sd2' ;

ERROR: Library TEST is not in a valid format for access method RANDOM.

ERROR: Error in the LIBNAME statement.  """

Please help in this.

Thanks

Anil

Trusted Advisor
Posts: 1,137

Re: Dear friends,

Posted in reply to anilgvdbm

Please try

libname test v6 'D:\District level data\DHS-India\NFHS 1992-93\All-India\HH

  ! raw' ;

just give the folder path, not the file path. Also only the folder path should be in quotes not the libname statement

Thanks

jagadish

Thanks,
Jag
Contributor
Posts: 59

Re: Dear friends,

Posted in reply to Jagadishkatam

dear sir ,

Thank you very much for your help.

Thanks

ANil

Community Manager
Posts: 564

Re: Dear friends,

Posted in reply to anilgvdbm

Yes, thank you Jagadishkatam for helping!

anilgvdbm, I hope you're all set. If so, can you mark the correct answer so others in the community can reference it in case they run into the same problem?

Thanks!

Anna

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 1363 views
  • 6 likes
  • 3 in conversation