Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to find out no. of business days in a month using
macros.???(excluding weekends and holidays).

Answer Posted / oanhntt

first of all, identify the last day of month (using this
intnx('month',d,1)-1). after that make a loop through 1 to
end of month, check if day in loop is weekend or not, using
another variable to count this number.
Regarding to the holidays, except some popular holidays which
I suggest using an external file/dataset to track it, use
this file to identify holidays.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What sas features do you use to check errors and data validation?

1215


what is the use of sas management console? : Sas-di

1092


Enlist the syntax rules followed in sas statements.

1081


explain about data integrator metadata reports? : Sas-di

1102


To what type of programms have you used scratch macros?

2569


what is broad cast agent? : Sas-bi

1069


In sas admin differentiate between roles and capabilities? : sas-grid-administration

999


What are the default statistics for means procedure?

1239


What is the difference between where and if statement?

1113


what are all the reports you generated in your recent project?

2198


Give some examples where proc report’s defaults are same as proc print’s defaults?

1107


What are the prime responsibilities of data integration administrator? : Sas-di

1066


how could you generate test data with no input data? : Sas programming

1185


What is factor analysis?

1131


What does proc print, and proc contents are used for?

1133