DATA Step, Macro, Functions and more

sas7bdat files that they are backward compatible with version 9.0

Accepted Solution Solved
Reply
Regular Contributor
Posts: 150
Accepted Solution

sas7bdat files that they are backward compatible with version 9.0

[ Edited ]

I want a way to create sas7bdat files which are compatible with version 9.0 

I'm using SAS 9.4 version 


Accepted Solutions
Solution
‎03-21-2018 03:43 PM
Super User
Posts: 9,890

Re: sas7bdat files so that they are backward compatible with version 9.0

From my experience, extendnobscounter=no should do the trick.

You might get into trouble if your environment is 64-bit, and the client's is 32-bit only. In that case I'd recommend using proc cport/cimport or the xport engine. Which is probably the best solution anyway.

 

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code

View solution in original post


All Replies
Super User
Posts: 9,890

Re: sas7bdat files so that they are backward compatible with version 9.0

Use the extendobscounter dataset option.

 

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Regular Contributor
Posts: 150

Re: sas7bdat files so that they are backward compatible with version 9.0

Posted in reply to KurtBremser

I used this option in my sas session when I created the sas data files but I'm not confident enough to send it to the client. 

Solution
‎03-21-2018 03:43 PM
Super User
Posts: 9,890

Re: sas7bdat files so that they are backward compatible with version 9.0

From my experience, extendnobscounter=no should do the trick.

You might get into trouble if your environment is 64-bit, and the client's is 32-bit only. In that case I'd recommend using proc cport/cimport or the xport engine. Which is probably the best solution anyway.

 

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Super User
Posts: 10,689

Re: sas7bdat files that they are backward compatible with version 9.0

libname x v6 'c:\temp';
data class;
 set sashelp.class;
run;
☑ This topic is solved.

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

Discussion stats
  • 4 replies
  • 124 views
  • 4 likes
  • 3 in conversation