Help using Base SAS procedures

How many dataset we can use in one to one merge in sas data step .

Reply
Contributor
Posts: 28

How many dataset we can use in one to one merge in sas data step .

How many dataset we can use in one to one merge in sas data step .

Super Contributor
Posts: 308

Re: How many dataset we can use in one to one merge in sas data step .

Posted in reply to LearnByMistk

Hello,

as per the documentation of SAS (http://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001304305.htm),

under Understanding the MERGE Statement it is stated:

"SAS-data-set-list is the names of two or more SAS data sets to merge. The list may contain any number of data sets"

Super User
Posts: 7,800

Re: How many dataset we can use in one to one merge in sas data step .

Posted in reply to LearnByMistk

According to Step-by-Step Programming with Base SAS(R) Software, there seems to be no fixed limit:

The list may contain any number of data sets.

But you may run out of resources with very large numbers of datasets; you can only confirm this by testing.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 2 replies
  • 162 views
  • 2 likes
  • 3 in conversation