Premium Essay

Sas Unit Presentation

In:

Submitted By javed02
Words 1224
Pages 5
Automatic Unit Testing of SAS Programs with SASUnit

PhUSE 2008

HMS

Automatic Unit Testing of SAS Programs with SASUnit

Andreas Mangold
General Manager HMS Analytical Software GmbH Rohrbacher Str. 26 • 69115 Heidelberg Telefon +49 62 21 60 51-0 andreas.mangold@analytical-software.de www.analytical-software.de

PhUSE 2008 in Manchester – Paper RA07 1

What is a unit test?


A unit test serves the purpose of proving, that a piece of software (module, macro, partial program …) works as expected. expected A unit test is an executable program that supplies the unit under test with data, executes it and verifies the results. Unit tests test smaller units, whereas integration and system tests test composite systems. y p y Unit tests are steered by unit testing frameworks (Wikipedia alludes to many hundreds of frameworks for the many different programming languages).







HMS Analytical Software GmbH – Andreas Mangold

2

HMS Analytical Software GmbH - Andreas Mangold

1

Automatic Unit Testing of SAS Programs with SASUnit

PhUSE 2008

What is SASUnit?


SASUnit is a unit testing framework for programs written in the SAS® language
– – –

Macros Data integration jobs Stored Processes (as yet without metadata accessibility) SAS/BASE Software (macros) A few operating system commands At present under Windows Soon also for Unix derivatives In future possibly for z/OS



Developed by HMS on the basis of
– –



Currently available for SAS 9 1 3 9.1.3
– – –



Available free of charge at www.redscope.org/sasunit
3

HMS Analytical Software GmbH – Andreas Mangold

Basic principle of unit tests
„Compare expected with actual result“
Unit Testing Framework Actual result Yes Fixed test data Unit under test OK? Assertion Expected result

No

Test report

HMS Analytical Software GmbH – Andreas Mangold

4

Similar Documents

Premium Essay

Dawood

...Unit Guide    MGW2230 Organisational behaviour Semester 1, 2016           Handbook link: http://www.monash.edu.au/pubs/2016handbooks/units/index-byfaculty-bus.html The information contained in this unit guide is correct at time of publication. The University has the right to change any of the elements contained in this document at any time. Last updated: 19 Feb 2016 Table of contents 1 Table of contents Unit handbook information 4 Synopsis 4 Mode of delivery 4 Workload requirements 4 Unit relationships 4 Prerequisites 4 Prohibitions 4 Co-requisites 4 Chief Examiner 4 Unit Coordinator(s) 5 Tutor(s) 5 Academic overview 5 Learning outcomes 5 Teaching approach 5 Unit schedule Assessment summary 7 8 Second marking 8 Return of final marks 8 Exam viewing 8 Assessment criteria 9 Assessment requirements 9 Hurdle requirements 9 Participation 9 Assessment tasks 9 Examination(s) 13 Extension and penalties 13 Returning assignments 14 Resubmission of assignments 14 Referencing requirements 14 Assignment submission 14 Feedback 15 Learning resources 16 Required resources 16 Technological requirements 16 Q Manual 17 2 Recommended resources Other information 17 17 Policies 17 Graduate Attributes Policy 18 Student Charter 18 Student Services ...

Words: 7977 - Pages: 32

Free Essay

Dlds

...Big Idea/Unit OverviewStudents will gather data, conduct investigations, and apply mathematical concepts and models to solve problems in mathematics and other disciples. Students will demonstrate reasoning skills in developing, explaining, and justifying sound mathematical arguments, and analyze the soundness of mathematical arguments of others and communicate with mathematics orally and in writing as part of independent and collaborative work, including making accurate and clear presentations of solutions to problems. The students will determine and interpret conditional probabilities and probabilities of compound events by constructing and analyzing representations, including tree diagrams, Venn diagrams, and area models, to make decisions in problem situations. The student use probabilities to make and justify decision about risks in everyday life and calculate expected value to analyze mathematical fairness, payoff, and risk. | Concepts and Key Understandings * Analyze and construct representations of events, including tree diagrams * Construct Venn diagrams and determine probabilities * Analyze and construct area models to determine probabilities * Explore the use of probabilities such as playing computer games or selecting classes * Explore and make decisions and justify their decisions about risk involved in a situation * Calculate expected values to analyze payoffs in variety of situations * Apply their understanding of expected values to determine the...

Words: 417 - Pages: 2

Free Essay

Sections and Services of Crime La

...sciences for the purpose of examining evidence from criminal cases. It provides answers to some or all the questions asked such as how the crime was committed, who committed it, and can also determine whether a crime has been committed or not. The crime laboratory seek answers for the questions mentioned above through scientific analysis of physical material collected primarily from the scene of a crime, suspect or the person affected. It provides an even more integrated approach to the analysis of exhibits and the presentation of expert evidence. Generally the aim of the crime laboratory is to effectively prevent and combat crime. 2. History and background of crime laboratory The Forensic Science Laboratory of the South African Police Service was formed on 15 January 1971 with the Biology, Chemistry and Electronics Units. A new building complex was occupied in March 1987 when the Ballistic and Question Document Unit, which before this had resorted under the SA Criminal Bureau, were amalgamated with the FSL. Early in 2000 a decision was made to amalgamate the Explosive Investigation Service with the FSL, which realized...

Words: 1042 - Pages: 5

Free Essay

Aoijgaoiwjb; O

...and use historical evidence to analyze, not merely ! describe historical events.! ! Core Knowledge and Concepts! Acquire key foundational knowledge in U.S. History such as terms, people,! events, and legislation that can be applied in their historical writing or thinking.! ! Course Description: ! This course will focus on the period in U.S. History from exploration to the present with a focus not only on political and military history, but on social and economic history as well. You will be challenged to read and analyze historical documents as well as engage in group activities where you discuss and debate your ideas using evidence to support your arguments. ! ! Units: ! Semester 1! Unit 1 Colonies-Revolution Unit 2 US Government/Constitution ! ! Unit 3 1800-1850...

Words: 1758 - Pages: 8

Premium Essay

Accountant

...Lehlohonolo Nthontho Unit 129, Wonderpark Estate, Karenpark, 0182, Pretoria, RSA +27 73 132 6140 lnthontho@gmail.com OBJECTIVES, AMBITIONS AND ASPIRATIONS ❖ To pass all the exams in November 2011 and May 2012 leading to qualification as a Chartered Management Accountant by December 2012 with the Chartered Institute of Management Accountants (CIMA). ❖ To be a Leader and drive positive change, enhance efficiency, effectiveness and productive use of organisational resources in the quest to increase profitability and return on investment to owners of organisations. ❖ To uphold ethics in execution of my professional duties and in my social affairs. EDUCATIONAL HISTORY Qualifications in progress, to complete in November & December 2011 examinations ❖ Advanced Diploma In Management Accounting - CIMA (to complete May 2012) ❖ Diploma in Management Accounting – CIMA (also to complete in May 2012) Completed Qualifications ❖ Certified Accounting Technician (NQF 5) - ACCA ❖ Certificate in Business Accounting (NQF 5) - CIMA EMPLOYMENT HISTORY Urban Genesis Management January 2012 to Current Revenue and Debtors Controller- CID Management Finance ❖ Supervise and Manage Revenue collection department(staff complement of 3 people) ❖ Run, analyse and interpret monthly debtors and revenue collection reports( Debtors and Management Accounts) ❖ Assist CID Managers with presentation of Management Accounts at the Quarterly...

Words: 1138 - Pages: 5

Premium Essay

Marketing

...T he Mark eting Plan Chapter 5 Copyright ©2000 Sutia Kim Alter. This work is licensed under the Creative Commons Attribution-Share Alike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) Chapter 5 “Emerson said that if you build a better mousetrap the world will beat a path to your door, and that may have been true then … but it’s not true now. No one will come. You have to package and promote that mousetrap. Then they will come.” — King C. Gillette Gillette Razors O verview: Marketing is the process of planning and executing a strategy to get goods and services to customers. The components of marketing can be described as the “four P’s” or the marketing mix. Product consists of the products and services that your social enterprise furnishes; it is characterized by quality, assortment, packaging, and guarantees. Price is the amount you will charge customers for the products or services. Promotion is how you will create awareness of your products or services in the marketplace; advertising, publicity, and sales are aspects of promotion. Place (distribution) is how you will bring your products or services to your customers; distriMarketing Synergies bution comprises wholesalers, retailers, multilevel marketers, and “The most effective and efficient marketing plans are sales representatives. The marthose that maximize the synergy between products, distriketing mix is a set of tools and bution channels, price, and promotion. A unified promotechniques social...

Words: 20187 - Pages: 81

Free Essay

Hbr Blog

...previous decisions (A/B testing, multivariate testing) * Forecasting future results (predictive modeling, predictive analytics) * FUNCTIONS OF A BUSINESS ANALYST At a high level, a Business Analyst acts as a liaison between business people who have business problems and technology people who know how to create automated solutions. A Business Analyst serves the mission-critical function of understanding specific business needs, determining and documenting accurate requirements from business units and presenting those requirements in a manner that is agreeable, measurable and flexible enough to meet project and stakeholder needs. The Business Analyst is an integral member of a project team who must possess a collection of essential people and technical skills to be successful. RESPONSIBILITIES OF BUSINESS ANALYSTICS A true Business Analyst is responsible for effectively and efficiently: * Defining and scoping a project; * Gathering requirements from business units; *...

Words: 1290 - Pages: 6

Premium Essay

Am Journal

...Original article Using handhelds in a Jigsaw cooperative learning environment C.-Y. Laià & C.-C. Wuw ÃDepartment of Information and Computer Education, National Taiwan Normal University, Taipei, and National Taichung Nursing College, Taichung, Taiwan wDepartment of Information and Computed Education, National Taiwan Normal University, Taipei, Taiwan Abstract This paper reports our implementation of a handheld wireless environment to support Jigsaw cooperative learning activities in a college setting. A quasi-experimental research design was conducted to investigate the effects of using handhelds, as well as issues associated with the use of handheld technology. Two intact classes of fourth-year students from a five-year junior nursing college participated in the experiment. Our findings showed that handheld tools enhanced both students’ attitudes and performance in learning, and promoted better interactions among students and instructors. We also found that the handheld technology was not sophisticated enough to support cooperative learning goals without full support from a technology specialist. collaboration, empirical, handhelds, ICT use, nursing, post-secondary. Keywords Introduction With recent advances in wireless communication technology and mobile devices, the application of handheld technology in education is expected to increase. Handhelds, also known as palmtop computers, were originally designed as personal organizers or note takers, and now offers...

Words: 8225 - Pages: 33

Premium Essay

Asdsd

...BTEC Level 2 Extended Certificate in Business |Unit: 4 Customer Service |Subject Tutor: | | |Sura Altikriti, James Hulme | |Assignment Title: |Ref: 1 of 4 | |Customer Relations in Business | | |Student Name: |Personal Tutor: | | |Helen Cheshire | |Overall Target Grade: |Unit Target Grade: | |Issue date: |Submission date: | |Extension Granted: |Submission Date: | Final Assignment Grade |Unclassified |Level 1 |Level 2 P |Level 2 M |Level 2 D | | | ...

Words: 747 - Pages: 3

Premium Essay

When Is Resignation Not Enough- an Ethical Dilemma

...Memo RE: When Is Resignation Not Enough – An Ethical Dilemma FACTS: In 1989, Page Nolan left Smith, Jones, & Brown CPA firm to work as a controller for Anonymous Company. The main focus of her job was to keep the books for the many business units and see that income and expenses were assigned properly, while all government requirements were met. Nolan soon realized that the company was incorrectly booking consulting fees. The consulting expenses were correctly stated, to bring the profit margin down to an acceptable amount for the government projects, however since the consultant was part of the company, this revenue was incorrectly recorded as donated capital. Nolan was told not to worry about this method of accounting by the manager of this segment of the business and the head of the company. Page went to his past employer who was also the current CPA firm for the company but was brushed off by the partner she approached. Not knowing what else to do, but uncomfortable with the situation, Page Nolan resigned. ISSUES: 1. What is illegal about Anonymous Company’s accounting method? 2. What professional standards does Page Nolan have to abide by as a CPA who is now working for a private company? 3. What steps should Page Nolan take, by law, other than resigning? What responsibilities does she have to the CPA firm, government agencies, and Anonymous Company? 4. What are the responsibilities of SJ & B CPA firm? CONCLUSIONS: 1. Anonymous Company does...

Words: 1938 - Pages: 8

Free Essay

Planning

...from Florida to Maine. Its annual sales are currently ~$5,400,000,000 with $280,000,000 net income. The average store is about 100,000 square feet with an additional 10,000 square feet of outside garden center. The stores typically carry 40,000 different products from 5,000 vendors worldwide. Major US competitors include Ace, Home Depot, Lowe's, and TruValue. All four operate already in Mexico. 1 In the interests of seeking greater profits and buffering against downturns in the US market, Acme has determined to follow these and other competitors to Canada and Mexico. In the latter, it has established, in accordance with Mexican law, a joint venture with local interests, known as Acme Home Improvements de México, SA de CV ("Acme de México" or "Acme Mexico City"). (SA de CV = Sociedad Anónima de Capital Variable, a Mexican corporate form.) There are five major product groups within each Acme store: plumbing and electrical supplies, building materials, hardware and tools, seasonal and garden/yard items, and paint, flooring and wall coverings. Each store has a store manager, assistant store manager, bookkeeper, an information systems manager and an assistant, a manager for each of the five major product groups, customer service employees on the store floor to assist customers with their purchases, cashiers, receiving/stocking employees, and maintenance/janitorial employees. Assignment 1. Team Assignment: Preparing a Team Work Plan due in...

Words: 3105 - Pages: 13

Premium Essay

Contributions of Internal Branding Practices to Corporate Brand Success

...Contributions of Internal Branding Practices to Corporate Brand Success Abstract: The purpose of this study is to investigate how internal branding practices can contribute to successful corporate brand building. The thesis is based on a case study of the successful Swedish brands Saab AB, SAS Sverige and Skanska. The results show that core values are a main building block of internal branding practices and that core values are united with cultural values with a dual purpose of adding value to customers and guiding employee behavior. Furthermore, the results point out that core values internally indicate how the vision is to be achieved and that the vision may be more useful as a management tool than internal branding tool. Subcultures appear to be present in all three cases and the results suggest that corporate brands are strengthened by internalizing a main corporate culture which allows cultural interpretations within subcultures and by assuring that subcultures co-exist in harmony. Internal communication seems to support corporate and internal branding by applying a pull-principle in communications, creating forums for personal interaction and facilitating employees’ information search and processing. In terms of human resourcecontributions to brand building, practices such as recruitment, phasing in of new employees, internalization of core values among current employees and internal brand evaluations are put forward. Moreover, two additional concepts of importance in...

Words: 29847 - Pages: 120

Premium Essay

Employee Benefits Operational Plan

...Plan Employee Benefits Operational Plan Contents Contents 2 1. Introduction 3 2. Context 3 1.1. Environment 3 1.2. Industry 4 1.3. Stakeholders 5 1.4. SWOT 6 3. References 9 4. Annexures 10 8.1. Annexure A: PESTEL analysis 10 8.2. Annexure B: Porter’s Five Competitive Forces 11 8.3. Annexure C: SWOT analysis 12 1. Introduction The Employee Benefits operational plan sets out the short-term objectives for the business unit (also referred to as company) for the next 12 months. It aims to identify what needs to be accomplished in order for the company to meet its strategic objectives and it does so by identifying and outlining those activities that need to be implemented. 2. Context The following section provides background for the focus, decisions made and activities selected in the operational plan for Employee Benefits. 1.1. Environment An environment analysis focusses on the external and uncontrollable factors that influence an organisation (Peters [sa]). PESTEL is a common macro environment analysis tool which looks at factors from political, economic, sociocultural, technological, environmental and legal aspects and Vitez (2014) explains that such a macro environmental analysis helps create a strategy that leverage as many of these external factors as possible to the company’s advantage. The PESTEL analysis for Employee Benefits has identified the following major external factors which need to be considered...

Words: 2288 - Pages: 10

Premium Essay

Saswork

...necessary concepts have been explained keeping the business problem in mind. Also, to remove the apathy for statistics, use of mathematical expressions have been limited. That doesn‘t imply that we don‘t have to study the mathematics part. The intention is to put the substance over matter. As the students get accustomed to these statistical concepts, they can go for further investigations using various mathematical and statistical techniques. A list of suggested books and links have been given in the appendix. This book is directly related to the instructor‘s presentation. So it is highly advised that students should go through this material at the end of each class. As for general reading, the reader is advised to go according to the chapters. Chapters have been arranged in the order of higher complexity. So the initial chapters are very important. In this book, the statistical procedures have been implemented on SAS. The explanations of the codes have been from the perspective of a data modeler. For the perspective of a programmer, the students are advised to go...

Words: 24975 - Pages: 100

Free Essay

Levels of Acceptability of Using Paper Bags by Selected Vendors in the Market of Sta. Rosa, Laguna

...Chapter I THE PROBLEM AND ITS BACKGROUND Introduction The industry of retailing is said to be the largest industry in the Philippines. We can safely assume that retail stores make up a huge share of employment, product and services, publicity and sales. Retail paper and plastic bags are common packaging tools in the market but due to environmental issues and the public’s awareness more people are decided to use retail paper bag instead of plastic. Paper bags are used for many things, to put up lunches for kids, to bring in the groceries, to take out the trash, to hold the things and help us stay organized. Many markets have switched from plastic bags to paper bags. Paper bags are less expensive. Cost Effectiveness is one of the reasons why they prefer paper bag other than plastic bag. Many vendors and consumers have complained about using plastic bags to put their goods. Some market and grocery stores now give a choice between paper bags or plastic bags. Some Smart shoppers choose to use paper bags instead of plastic assuming that it is an environmentally friendly and better alternative. Paper Bags are usually made up of plant fibers substance from fibrous cellulose materials as rags, woods, or barks. Paper bags were invented in the 1850’s. Paper bags are recyclable. Well known grocery stores, supermarkets, fast food chain, establishment and markets uses brown paper bags to hold their...

Words: 5582 - Pages: 23