├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── CONTRIBUTING.md ├── ContributorAgreement.txt ├── LICENSE ├── README.md ├── professional-prep-guide ├── README.md ├── cre8data.sas └── cre8permdata.sas └── specialist-prep-guide ├── README.md ├── cre8data.sas ├── cre8flatfiles.sas ├── cre8permdata.sas ├── cre8workdata.sas ├── ehs01.sas └── ehs02.sas /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to Contribute 2 | 3 | We'd love to accept your patches and contributions to this project. There are 4 | just a few small guidelines you need to follow. 5 | 6 | ## Contributor License Agreement 7 | 8 | Contributions to this project must be accompanied by a signed 9 | [Contributor Agreement](ContributorAgreement.txt). 10 | You (or your employer) retain the copyright to your contribution, 11 | this simply gives us permission to use and redistribute your contributions as 12 | part of the project. 13 | 14 | ## Code reviews 15 | 16 | All submissions, including submissions by project members, require review. We 17 | use GitHub pull requests for this purpose. Consult 18 | [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more 19 | information on using pull requests. 20 | -------------------------------------------------------------------------------- /ContributorAgreement.txt: -------------------------------------------------------------------------------- 1 | Contributor Agreement 2 | 3 | Version 1.1 4 | 5 | Contributions to this software are accepted only when they are 6 | properly accompanied by a Contributor Agreement. The Contributor 7 | Agreement for this software is the Developer's Certificate of Origin 8 | 1.1 (DCO) as provided with and required for accepting contributions 9 | to the Linux kernel. 10 | 11 | In each contribution proposed to be included in this software, the 12 | developer must include a "sign-off" that denotes consent to the 13 | terms of the Developer's Certificate of Origin. The sign-off is 14 | a line of text in the description that accompanies the change, 15 | certifying that you have the right to provide the contribution 16 | to be included. For changes provided in source code control (for 17 | example, via a Git pull request) the sign-off must be included in 18 | the commit message in source code control. For changes provided 19 | in email or issue tracking, the sign-off must be included in the 20 | email or the issue, and the sign-off will be incorporated into the 21 | permanent commit message if the contribution is accepted into the 22 | official source code. 23 | 24 | If you can certify the below: 25 | 26 | Developer's Certificate of Origin 1.1 27 | 28 | By making a contribution to this project, I certify that: 29 | 30 | (a) The contribution was created in whole or in part by me and I 31 | have the right to submit it under the open source license 32 | indicated in the file; or 33 | 34 | (b) The contribution is based upon previous work that, to the best 35 | of my knowledge, is covered under an appropriate open source 36 | license and I have the right under that license to submit that 37 | work with modifications, whether created in whole or in part 38 | by me, under the same open source license (unless I am 39 | permitted to submit under a different license), as indicated 40 | in the file; or 41 | 42 | (c) The contribution was provided directly to me by some other 43 | person who certified (a), (b) or (c) and I have not modified 44 | it. 45 | 46 | (d) I understand and agree that this project and the contribution 47 | are public and that a record of the contribution (including all 48 | personal information I submit with it, including my sign-off) is 49 | maintained indefinitely and may be redistributed consistent with 50 | this project or the open source license(s) involved. 51 | 52 | then you just add a line saying 53 | 54 | Signed-off-by: Random J Developer 55 | 56 | using your real name (sorry, no pseudonyms or anonymous contributions.) 57 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SAS Certification Prep Guide Sample Data 2 | 3 | Training 4 | Documentation 5 | Blog 6 | 7 | 8 | ## Overview 9 | The SAS Certification prep guides provide sample data files to support users who want to practice exercises within the prep guides. 10 | 11 | *The data sets that are created during the execution of the **cre8data.sas** and **cre8permdata.sas** programs are fictional or publicly available data. Any resemblance to actual data is purely coincidental and not intentional.* 12 | 13 | ### Requirements 14 | To complete the examples in this book, you must have access to SAS windowing environment, SAS Enterprise Guide, SAS Studio, or SAS University Edition. 15 | 16 | ### Prep Guides 17 | - [SAS Certified Specialist Prep Guide Base Programming Using SAS 9.4](https://www.sas.com/store/books/categories/certification-guide/sas-certified-specialist-prep-guide-base-programming-using-sas-9-4/prodBK_72102_en.html) prepares you to take the new SAS 9.4 Base Programming - Performance-Based Exam. The associated data sample data directory is named [specialist-prep-guide](https://github.com/sassoftware/sas-cert-prep-data/tree/master/specialist-prep-guide). 18 | - [SAS Certified Professional Prep Guide Advanced Programming Using SAS 9.4]() prepares you to take the new SAS 9.4 Advanced Programming - Performance-Based Exam. The associated data sample data directory is named [professional-prep-guide](https://github.com/sassoftware/sas-cert-prep-data/tree/master/professional-prep-guide). 19 | 20 | ### Contributing 21 | We welcome your contributions! :handshake: Please read [CONTRIBUTING.md](./CONTRIBUTING.md) for details on how to submit contributions to this project. 22 | 23 | ### License 24 | This project is licensed under the [Apache 2.0 License](./LICENSE). 25 | 26 | ### Additional Resources 27 | * [SAS® Certified Specialist Prep Guide: Base Programming Using SAS® 9.4](https://www.sas.com/store/prodBK_72102_en.html) 28 | * [SAS® Certified Professional Prep Guide: Advanced Programming Using SAS® 9.4](https://www.sas.com/store/books/categories/certification-guide/sas-certified-professional-prep-guide-advanced-programming-using-sas-9-4/prodBK_73006_en.html) 29 | * [SAS Certification Exam | 4 Tips for Success](https://www.youtube.com/watch?v=OpQ0SMNXiYE&list=PLVV6eZFA22QwrXd6nSDU18E6XgXSMOs87&index=12&t=0s) 30 | * [The Little SAS Book: A Primer, Sixth Edition](https://www.sas.com/store/prodBK_73044_en.html?storeCode=SAS_US) by Lora D. Delwiche & Susan J. Slaughter 31 | * [Learning SAS by Example: A Programmer's Guide, Second Edition](https://www.sas.com/store/books/categories/getting-started/learning-sas-by-example-a-programmer-s-guide-second-edition/prodBK_71442_en.html) by Ron Cody 32 | * [Fundamentals of Programming in SAS: A Case Studies Approach](https://www.sas.com/store/books/categories/getting-started/fundamentals-of-programming-in-sas-a-case-studies-approach/prodBK_71342_en.html) by James Blum & Jonathan Duggins 33 | * [SAS Programming Glossary](https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=pgmsasgl&docsetTarget=glossary.htm) 34 | * [Free SAS Training](https://www.sas.com/en_us/training/offers/free-training.html) 35 | * [Step-by-Step Programming with Base SAS 9.4 Documentation](https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=basess&docsetTarget=titlepage.htm) 36 | -------------------------------------------------------------------------------- /professional-prep-guide/README.md: -------------------------------------------------------------------------------- 1 | # Using Sample Data 2 | Training 3 | Documentation 4 | Blog 5 | 6 | 7 | ## Overview 8 | This README file contains instructions for creating practice data sets for some of the examples in the SAS Certified Professional Prep Guide: Advanced Programming Using SAS 9.4. 9 | 10 | *The data sets that are created during the execution of the **cre8data.sas** and **cre8permdata.sas** programs are fictional or publicly available data. Any resemblance to actual data is purely coincidental and not intentional.* 11 | 12 | ### Requirements 13 | To complete the examples in this book, you must have access to the SAS windowing environment, SAS Enterprise Guide, SAS Studio, or SAS University Edition. 14 | ### File Contents 15 | - [cre8data.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/professional-prep-guide/cre8data.sas) contains SAS code to set up your SAS library with data sets. 16 | - [cred8permdata.sas ](https://github.com/sassoftware/sas-cert-prep-data/blob/master/professional-prep-guide/cre8permdata.sas) contains SAS code that creates your SAS data sets. 17 | ### Setting Up Practice Data for SAS onDemand for Academics 18 | To set up your sample data program in SAS OnDemand: 19 | 1. Navigate to [https://github.com/sassoftware/sas-cert-prep-data](https://github.com/sassoftware/sas-cert-prep-data). 20 | 2. Click on **[professional-prep-guide directory](https://github.com/sassoftware/sas-cert-prep-data/tree/master/professional-prep-guide)**. 21 | 3. Open the **[cre8data.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/professional-prep-guide/cre8data.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8data.sas** to a location that is accessible to SAS. 22 | 4. Open the **[cre8premdata.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/professional-prep-guide/cre8permdata.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8premdata.sas** to the same location as **cre8data.sas**. 23 | 5. Log on to SAS OnDemand for Academics and open SAS Studio. 24 | 6. Right-click the **Files** (Home) folder, and then select **New**→**Folder**. 25 | 7. Name the new folder **certadv** and click **Save**. 26 | 8. Right-click the **certadv** folder and select **Upload Files**. 27 | 9. Click **Choose Files** and navigate to the **certadv** folder within the practice-data folder on your local machine. 28 | 10. Select all program files and click **Open**. All available programs are listed under **Select Files**. Click **Upload**. 29 | 11. Open and edit the **cre8data.sas** program. 30 | 12. In the Path macro variable, replace `/folders/myfolders` with the path to the **certadv** folder. Right-click the **certadv** folder in SAS Studio and click **Properties**. Copy the path in the Location box and paste it into your %LET statement. 31 | 13. Save and then run the **cre8data.sas** program. 32 | 33 | ### Setting Up Practice Data on Other SAS Environments 34 | 35 | To set up your sample data program on other SAS environments: 36 | 1. Navigate to [https://github.com/sassoftware/sas-cert-prep-data](https://github.com/sassoftware/sas-cert-prep-data). 37 | 2. Click the **[professional-prep-guide directory](https://github.com/sassoftware/sas-cert-prep-data/tree/master/professional-prep-guide)**. 38 | 3. Open the **[cre8data.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/professional-prep-guide/cre8data.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8data.sas** to a location that is accessible to SAS. 39 | 40 | **Note:** It is recommended that you create a folder in a location that is accessible to SAS and name that folder certadv. All of the librefs associated with the Professional Prep Guide uses the certadv libref. 41 | 42 | 4. Open the **[cre8premdata.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/professional-prep-guide/cre8permdata.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8premdata.sas** to the same location as **cre8data.sas**. 43 | 5. Open the **cre8data.sas** program in the SAS environment of your choice. 44 | 45 | SAS Studio: In the Navigation pane, expand **Files and Folders** and then navigate to the folder where you saved your practice data. 46 | 47 | SAS Enterprise Guide: In the Servers list, expand **Servers** → **Local** → **Files**, and then navigate to the folder where you saved your practice data. 48 | 49 | SAS windowing environment: Click **File**→ **Open Program**, and then navigate to the folder where you saved your practice data. 50 | 51 | 6. In the Path macro variable, replace `/folders/myfolders` with the path to the folder where you saved your practice data and run the program `%let path=/folders/myfolders/my-folder-name;`. 52 | 53 | *Important:* The location that you specify for the Path macro variable and the location of your downloaded SAS programs should be the same location. Otherwise, the cre8data.sas program cannot create the practice data. 54 | 55 | Your practice data is now created and ready for you to use. 56 | 57 | **Note:** When you end your SAS session, the Path macro variable in the **cre8data.sas** program is reset. To avoid having to rerun **cre8data.sas** every time, run the **libname.sas** program from your sample data folder to restore the libraries. 58 | 59 | ## Additional Resources 60 | * [SAS Certified Professional Prep Guide: Advanced Programming Using SAS 9.4](https://www.sas.com/store/books/categories/certification-guide/sas-certified-professional-prep-guide-advanced-programming-using-sas-9-4/prodBK_73006_en.html) 61 | * [SAS Certification Exam | 4 Tips for Success](https://www.youtube.com/watch?v=OpQ0SMNXiYE&list=PLVV6eZFA22QwrXd6nSDU18E6XgXSMOs87&index=12&t=0s) 62 | * [The Little SAS Book: A Primer, Sixth Edition](https://www.sas.com/store/prodBK_73044_en.html?storeCode=SAS_US) by Lora D. Delwiche and Susan J. Slaughter 63 | * [Learning SAS by Example: A Programmer's Guide, Second Edition](https://www.sas.com/store/books/categories/getting-started/learning-sas-by-example-a-programmer-s-guide-second-edition/prodBK_71442_en.html) by Ron Cody 64 | * [Fundamentals of Programming in SAS: A Case Studies Approach](https://www.sas.com/store/books/categories/getting-started/fundamentals-of-programming-in-sas-a-case-studies-approach/prodBK_71342_en.html) by James Blum and Jonathan Duggins 65 | * [SAS Programming Glossary](https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=pgmsasgl&docsetTarget=glossary.htm) 66 | * [Free SAS Training](https://www.sas.com/en_us/training/offers/free-training.html) 67 | * [Step-by-Step Programming with Base SAS 9.4 Documentation](https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=basess&docsetTarget=titlepage.htm) 68 | -------------------------------------------------------------------------------- /professional-prep-guide/cre8data.sas: -------------------------------------------------------------------------------- 1 | /*******************************************************************\ 2 | | Copyright (C) 2019 by SAS Institute Inc., Cary, NC, USA. | 3 | | | 4 | | SAS (R) is a registered trademark of SAS Institute Inc. | 5 | | | 6 | |This program creates practice data files for some of the examples in the: | 7 | |SAS Certified Professional Prep Guide: Advanced Programming Using SAS 9.4 | 8 | | | 9 | | | 10 | | Last updated: July 30, 2019 | 11 | \***************************************************************************/ 12 | /* Make sure the path macro variable points to your certification data location */ 13 | %let path=/folders/myfolders/certadv; 14 | 15 | /******************************************************************** 16 | Do not modify the code below this line 17 | ********************************************************************/ 18 | %macro setdelim; 19 | %global delim; 20 | %if %index(&path,%str(/)) %then %let delim=%str(/); 21 | %else %let delim=%str(\); 22 | %mend; 23 | %setdelim 24 | 25 | %macro makedata; 26 | %include "&path&delim.cre8permdata.sas"; 27 | %put; 28 | %put NOTE- *******************************************************; 29 | %put NOTE- Your SAS Certification Prep Guide data files are ready.; 30 | %put NOTE- *******************************************************; 31 | %mend; 32 | %makedata; 33 | -------------------------------------------------------------------------------- /specialist-prep-guide/README.md: -------------------------------------------------------------------------------- 1 | # Using Sample Data 2 | Training 3 | Documentation 4 | Blog 5 | 6 | 7 | ## Overview 8 | This README file contains instructions for creating practice data sets for some of the examples in the SAS Certified Specialist Prep Guide: Base Programming Using SAS 9.4. 9 | 10 | *The data sets that are created during the execution of the **cre8data.sas** and **cre8permdata.sas** programs are fictional or publicly available data. Any resemblance to actual data is purely coincidental and not intentional.* 11 | 12 | ### Requirements 13 | To complete the examples in this book, you must have access to the SAS windowing environment, SAS Enterprise Guide, SAS Studio, or SAS University Edition. 14 | ### File Contents 15 | - [cre8data.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8data.sas) contains SAS code to set up your SAS library with data sets. 16 | - [cre8permdata.sas ](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8permdata.sas) contains SAS code that creates your SAS data sets. 17 | - [cre8flatfiles.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8flatfiles.sas) contains SAS code that creates Excel, CSV, and other files. 18 | - [cre8workdata.sas ](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8workdata.sas) contains SAS code that creates your temporary SAS data sets. 19 | - [ehs01.sas ](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/ehs01.sas) contains SAS code that is needed in order to complete a Workbook exercise. 20 | - [ehs02.sas ](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/ehs02.sas) contains SAS code that is needed in order to complete a Workbook exercise. 21 | ### Setting Up Practice Data for SAS onDemand for Academics 22 | To set up your sample data program in SAS OnDemand: 23 | 1. Navigate to [https://github.com/sassoftware/sas-cert-prep-data](https://github.com/sassoftware/sas-cert-prep-data). 24 | 2. Click on the **[specialist-prep-guide directory](https://github.com/sassoftware/sas-cert-prep-data/tree/master/specialist-prep-guide)**. 25 | 3. Open the **[cre8data.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8data.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8data.sas** to a location that is accessible to SAS. 26 | 4. Open the **[cre8premdata.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8permdata.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8premdata.sas** to the same location as **cre8data.sas**. 27 | 5. Open the **[cre8flatfiles.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8flatfiles.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8flatfiles.sas** to the same location as **cre8data.sas**. 28 | 6. Open the **[cre8workdata.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8workdata.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8workdata.sas** to the same location as **cre8data.sas**. 29 | 7. Create a folder named **ehs** in the same location as **cre8data.sas**. 30 | 8. Open the **[ehs01.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/ehs01.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **ehs01.sas** to the **ehs** folder. 31 | 9. Open the **[ehs02.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/ehs02.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **ehs02.sas** to the **ehs** folder. 32 | 33 | 10. Log on to SAS OnDemand for Academics and open SAS Studio. 34 | 11. Right-click the **Files** (Home) folder, and then select **New**→**Folder**. 35 | 12. Name the new folder **cert** and click **Save**. 36 | 13. Right-click the **cert** folder and select **Upload Files**. 37 | 14. Click **Choose Files** and navigate to the **cert** folder within the practice-data folder on your local machine. 38 | 15. Select all program files and click **Open**. All available programs are listed under **Select Files**. Click **Upload**. 39 | 16. Open and edit the **cre8data.sas** program. 40 | 17. In the Path macro variable, replace `/folders/myfolders` with the path to the **cert** folder. Right-click the **cert** folder in SAS Studio and click **Properties**. Copy the path in the Location box and paste it into your %LET statement. 41 | 18. Save and then run the **cre8data.sas** program. 42 | 43 | ### Setting Up Practice Data in Other SAS Environments 44 | 45 | To set up your sample data program on other SAS environments: 46 | 1. Navigate to [https://github.com/sassoftware/sas-cert-prep-data](https://github.com/sassoftware/sas-cert-prep-data). 47 | 2. Click on the **[specialist-prep-guide directory](https://github.com/sassoftware/sas-cert-prep-data/tree/master/specialist-prep-guide)**. 48 | 3. Open the **[cre8data.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8data.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8data.sas** to a location that is accessible to SAS. 49 | 50 | **Note:** It is recommended that you create a folder in a location that is accessible to SAS and name that folder cert. All of the librefs associated with the Specialist Prep Guide uses the cert libref. 51 | 52 | 4. Open the **[cre8premdata.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8permdata.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8premdata.sas** to the same location as **cre8data.sas**. 53 | 54 | 5. Open the **[cre8flatfiles.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8flatfiles.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8flatfiles.sas** to the same location as **cre8data.sas**. 55 | 56 | 6. Open the **[cre8workdata.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/cre8workdata.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **cre8workdata.sas** to the same location as **cre8data.sas**. 57 | 58 | 7. Create a folder named **ehs** in the same location as **cre8data.sas**. 59 | 60 | 8. Open the **[ehs01.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/ehs01.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **ehs01.sas** to the **ehs** folder. 61 | 62 | 9. Open the **[ehs02.sas](https://github.com/sassoftware/sas-cert-prep-data/blob/master/specialist-prep-guide/ehs02.sas)** program and click **Raw**. Right-click anywhere on the screen and select **Save As**. Save the **ehs02.sas** to the **ehs** folder. 63 | 64 | 10. Open the **cre8data.sas** program in the SAS environment of your choice. 65 | 66 | SAS Studio: In the Navigation pane, expand **Files and Folders** and then navigate to the folder where you saved your practice data. 67 | 68 | SAS Enterprise Guide: In the Servers list, expand **Servers** → **Local** → **Files**, and then navigate to the folder where you saved your practice data. 69 | 70 | SAS windowing environment: Click **File**→ **Open Program**, and then navigate to the folder where you saved your practice data. 71 | 72 | 11. In the Path macro variable, replace `/folders/myfolders` with the path to the folder where you saved your practice data and run the program `%let path=/folders/myfolders/my-folder-name;` 73 | 74 | *Important:* The location that you specify for the Path macro variable and the location of your downloaded SAS programs should be the same location. Otherwise, the cre8data.sas program cannot create the practice data. 75 | 76 | Your practice data is now created and ready for you to use. 77 | 78 | **Note:** When you end your SAS session, the Path macro variable in the **cre8data.sas** program is reset. To avoid having to rerun **cre8data.sas** every time, run the **libname.sas** program from your sample data folder to restore the libraries. 79 | 80 | ## Additional Resources 81 | * [SAS Certified Specialist Prep Guide: Base Programming Using SAS 9.4](https://www.sas.com/store/prodBK_72102_en.html) 82 | * [SAS Certified Professional Prep Guide: Advanced Programming Using SAS 9.4](https://www.sas.com/store/books/categories/certification-guide/sas-certified-professional-prep-guide-advanced-programming-using-sas-9-4/prodBK_73006_en.html) 83 | * [SAS Certification Exam | 4 Tips for Success](https://www.youtube.com/watch?v=OpQ0SMNXiYE&list=PLVV6eZFA22QwrXd6nSDU18E6XgXSMOs87&index=12&t=0s) 84 | * [The Little SAS Book: A Primer, Sixth Edition](https://www.sas.com/store/prodBK_73044_en.html?storeCode=SAS_US) by Lora D. Delwiche and Susan J. Slaughter 85 | * [Learning SAS by Example: A Programmer's Guide, Second Edition](https://www.sas.com/store/books/categories/getting-started/learning-sas-by-example-a-programmer-s-guide-second-edition/prodBK_71442_en.html) by Ron Cody 86 | * [Fundamentals of Programming in SAS: A Case Studies Approach](https://www.sas.com/store/books/categories/getting-started/fundamentals-of-programming-in-sas-a-case-studies-approach/prodBK_71342_en.html) by James Blum and Jonathan Duggins 87 | * [SAS Programming Glossary](https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=pgmsasgl&docsetTarget=glossary.htm) 88 | * [Free SAS Training](https://www.sas.com/en_us/training/offers/free-training.html) 89 | * [Step-by-Step Programming with Base SAS 9.4 Documentation](https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=basess&docsetTarget=titlepage.htm) 90 | -------------------------------------------------------------------------------- /specialist-prep-guide/cre8data.sas: -------------------------------------------------------------------------------- 1 | /*******************************************************************\ 2 | | Copyright (C) 2018 by SAS Institute Inc., Cary, NC, USA. | 3 | | | 4 | | SAS (R) is a registered trademark of SAS Institute Inc. | 5 | | | 6 | |This program creates practice raw data and Excel files for some of | 7 | |the examples in the: | 8 | | - SAS Certification Prep Guide: Base Programming for SAS 9 | 9 | | | 10 | | | 11 | | Last updated: Septemvber 4, 2018 | 12 | \*******************************************************************/ 13 | /* Make sure the path macro variable points to your certification data location */ 14 | %let path=/folders/mypath/cert; 15 | 16 | /******************************************************************** 17 | Do not modify the code below this line 18 | ********************************************************************/ 19 | %macro setdelim; 20 | %global delim; 21 | %if %index(&path,%str(/)) %then %let delim=%str(/); 22 | %else %let delim=%str(\); 23 | %mend; 24 | %setdelim 25 | 26 | %macro makedata; 27 | %include "&path&delim.cre8permdata.sas"; 28 | %include "&path&delim.cre8workdata.sas"; 29 | %include "&path&delim.cre8flatfiles.sas"; 30 | %put; 31 | %put NOTE- *******************************************************; 32 | %put NOTE- Your SAS Certification Prep Guide data files are ready.; 33 | %put NOTE- *******************************************************; 34 | %mend; 35 | %makedata; 36 | -------------------------------------------------------------------------------- /specialist-prep-guide/cre8permdata.sas: -------------------------------------------------------------------------------- 1 | /*******************************************************************\ 2 | | Copyright (C) 2018 by SAS Institute Inc., Cary, NC, USA. | 3 | | | 4 | | SAS (R) is a registered trademark of SAS Institute Inc. | 5 | | | 6 | |This program creates practice raw data and Excel files for some of | 7 | |the examples in the: | 8 | | - SAS Certification Prep Guide: Base Programming for SAS 9 | 9 | | | 10 | | | 11 | | Last updated: September 4, 2018 | 12 | \*******************************************************************/ 13 | /* If running individually, uncomment this line and make sure it points to your certification data location */ 14 | /*%let path=/folders/myfolders/cert;*/ 15 | 16 | %macro setdelim; 17 | %global delim; 18 | %if %index(&path,%str(/)) %then %let delim=%str(/); 19 | %else %let delim=%str(\); 20 | %mend; 21 | %setdelim 22 | 23 | libname cert "&path"; 24 | 25 | data CERT.ADMIT; 26 | infile datalines dsd truncover; 27 | input ID:$4. Name:$14. Sex:$1. Age:32. Date:32. Height:32. Weight:32. ActLevel:$4. Fee:7.2; 28 | format Fee 7.2; 29 | datalines4; 30 | 2458,"Murray, W",M,27,1,72,168,HIGH,85.20 31 | 2462,"Almers, C",F,34,3,66,152,HIGH,124.80 32 | 2501,"Bonaventure, T",F,31,17,61,123,LOW,149.75 33 | 2523,"Johnson, R",F,43,31,63,137,MOD,149.75 34 | 2539,"LaMance, K",M,51,4,71,158,LOW,124.80 35 | 2544,"Jones, M",M,29,6,76,193,HIGH,124.80 36 | 2552,"Reberson, P",F,32,9,67,151,MOD,149.75 37 | 2555,"King, E",M,35,13,70,173,MOD,149.75 38 | 2563,"Pitts, D",M,34,22,73,154,LOW,124.80 39 | 2568,"Eberhardt, S",F,49,27,64,172,LOW,124.80 40 | 2571,"Nunnelly, A",F,44,19,66,140,HIGH,149.75 41 | 2572,"Oberon, M",F,28,17,62,118,LOW,85.20 42 | 2574,"Peterson, V",M,30,6,69,147,MOD,149.75 43 | 2575,"Quigley, M",F,40,8,69,163,HIGH,124.80 44 | 2578,"Cameron, L",M,47,5,72,173,MOD,124.80 45 | 2579,"Underwood, K",M,60,22,71,191,LOW,149.75 46 | 2584,"Takahashi, Y",F,43,29,65,123,MOD,124.80 47 | 2586,"Derber, B",M,25,23,75,188,HIGH,85.20 48 | 2588,"Ivan, H",F,22,20,63,139,LOW,85.20 49 | 2589,"Wilcox, E",F,41,16,67,141,HIGH,149.75 50 | 2595,"Warren, C",M,54,7,71,183,MOD,149.75 51 | ;;;; 52 | 53 | data CERT.ADMITJUNE; 54 | infile datalines dsd truncover; 55 | input ID:$4. Name:$14. Sex:$1. Age:32. Date:MMDDYY8. Height:32. Weight:32. ActLevel:$4. Fee:6.2; 56 | format Date MMDDYY8. Fee 6.2; 57 | datalines4; 58 | 2588,"Ivan, H",F,22,06/02/10,63,139,LOW,85.20 59 | 2586,"Derber, B",M,25,06/04/10,75,188,HIGH,85.20 60 | 2458,"Murray, W",M,27,06/05/10,72,168,HIGH,85.20 61 | 2572,"Oberon, M",F,28,06/05/10,62,118,LOW,85.20 62 | 2544,"Jones, M",M,29,06/07/10,76,193,HIGH,124.80 63 | 2574,"Peterson, V",M,30,06/08/10,69,147,MOD,149.75 64 | 2501,"Bonaventure, T",F,31,06/09/10,61,123,LOW,149.75 65 | 2552,"Reberson, P",F,32,06/10/10,67,151,MOD,149.75 66 | 2462,"Almers, C",F,34,06/12/10,66,152,HIGH,124.80 67 | 2563,"Pitts, D",M,34,06/14/10,73,154,LOW,124.80 68 | 2555,"King, E",M,35,06/14/10,70,173,MOD,149.75 69 | 2575,"Quigley, M",F,40,06/06/10,69,163,HIGH,124.80 70 | 2589,"Wilcox, E",F,41,06/17/10,67,141,HIGH,149.75 71 | 2523,"Johnson, R",F,43,06/17/10,63,137,MOD,149.75 72 | 2584,"Takahashi, Y",F,43,06/18/10,65,123,MOD,124.80 73 | 2571,"Nunnelly, A",F,44,06/19/10,66,140,HIGH,149.75 74 | 2578,"Cameron, L",M,47,06/20/10,72,173,MOD,124.80 75 | 2568,"Eberhardt, S",F,49,06/21/10,64,172,LOW,124.80 76 | 2539,"LaMance, K",M,51,06/22/10,71,158,LOW,124.80 77 | 2595,"Warren, C",M,54,06/15/10,71,183,MOD,149.75 78 | 2579,"Underwood, K",M,60,06/11/10,71,191,LOW,149.75 79 | ;;;; 80 | 81 | data CERT.AGENCYEMP; 82 | infile datalines dsd truncover; 83 | input Agency:$28. ID:$4. LastName:$10. FirstName:$10. MiddleName:$7.; 84 | datalines4; 85 | "Adminstrative Support, Inc.",F274,CICHOCK,ELIZABETH,MARIE 86 | "Adminstrative Support, Inc.",F101,BENINCASA,HANNAH,LEE 87 | "OD Consulting, Inc.",F054,SHERE,BRIAN,THOMAS 88 | New Time Temps Agency,F077,HODNOFF,RICHARD,LEE 89 | ;;;; 90 | 91 | data CERT.AMOUNTS; 92 | infile datalines dsd truncover; 93 | input Name:$13. EmpID:32. Date:DATE9. Amount:32.; 94 | format Date DATE9.; 95 | datalines4; 96 | "ANKERTON, L.",11123,08OCT2016,92 97 | "ANKERTON, L.",11123,15OCT2016,43 98 | "DAVIS, R.",22298,04OCT2016,16 99 | "MASTERS, T.",33351,13OCT2016,18 100 | "MASTERS, T.",33351,,27 101 | "THOMAS, A.",,21OCT2016,15 102 | "WOLMER, B.",44483,, 103 | ;;;; 104 | 105 | data CERT.APRBILLS; 106 | infile datalines dsd truncover; 107 | input LastName:$8. DateIn:32. DateOut:32. RoomRate:32. EquipCost:32. Days:32. RoomCharge:32. Total:32.; 108 | datalines4; 109 | Akron,21277,21282,175,298.4,5,875,1173.4 110 | Brown,21284,21304,125,326.7,20,2500,2826.7 111 | Carnes,21299,21302,125,174.2,3,375,549.24 112 | Denison,21283,21285,175,87.41,2,350,437.41 113 | Fields,21287,21295,175,378.9,8,1400,1778.9 114 | Jamison,21288,21296,125,346.2,8,1000,1346.2 115 | ;;;; 116 | 117 | data CERT.BEFORE; 118 | infile datalines dsd truncover; 119 | input Name:$30.; 120 | datalines4; 121 | Mrs. Millicent Garrett Fawcett 122 | Miss Charlotte Despard 123 | Mrs. Emmeline Pankhurst 124 | Miss Sylvia Pankhurst 125 | ;;;; 126 | 127 | data CERT.BOOKCASE; 128 | infile datalines dsd truncover; 129 | input Item:32. Finish:$11. Price:32. Stock:$3.; 130 | datalines4; 131 | 1013,Ash,29.99,Yes 132 | 1014,Ash,14.99,Yes 133 | 1084,Cherry,49.99,Yes 134 | 1085,Cherry,44.99,Yes 135 | 1086,Cherry,49.99,No 136 | 1087,Cherry,44.99,No 137 | 1088,Cherry,54.99,No 138 | 1089,Cherry,59.99,Yes 139 | 1090,Cherry,64.99,Yes 140 | 1101,Teak,48.99,Yes 141 | 1102,Teak,44.99,Yes 142 | 1103,Teak,49.99,No 143 | 1104,Teak,54.99,No 144 | 1150,Matte-Black,19.99,Yes 145 | 1151,Matte-Black,24.99,Yes 146 | 1151,Matte-Black,34.99,Yes 147 | 1201,Walnut,69.99,Yes 148 | 1202,Walnut,59.99,Yes 149 | 1203,Walnut,49.99,Yes 150 | ;;;; 151 | 152 | data CERT.CARS; 153 | infile datalines dsd truncover; 154 | input Age:32. Sex:32. Income:32. Color:$8.; 155 | datalines4; 156 | 19,1,14000,Y 157 | 45,1,65000,G 158 | 62,2,35000,W 159 | 31,1,44000,Y 160 | 58,2,83000,W 161 | 68,1,44000,B 162 | 17,2,15000,G 163 | 70,2,33000,B 164 | ;;;; 165 | 166 | data CERT.CHOICES; 167 | infile datalines dsd truncover; 168 | input Day:32. Flavor:$11.; 169 | datalines4; 170 | 1,CHOCOLATE 171 | 1,VANILLA 172 | 1,RASPBERRY 173 | 2,VANILLA 174 | 2,PEACH 175 | 3,CHOCOLATE 176 | 4,RASPBERRY 177 | 4,PEACH 178 | 4,CHOCOLATE 179 | 5,STRAWBERRY 180 | 5,VANILLA 181 | 5,CHOCOLATE 182 | ;;;; 183 | 184 | data CERT.CLASS; 185 | infile datalines dsd truncover; 186 | input Name:$8. Score1:32. Score2:32. Score3:32. Homework:32.; 187 | datalines4; 188 | LINDA,53,60,66,42 189 | DEREK,72,64,56,32 190 | KATHY,98,82,100,48 191 | MICHAEL,80,55,95,50 192 | ;;;; 193 | 194 | data CERT.CLIENTS; 195 | infile datalines dsd truncover; 196 | input Name:$13. EmpID:32.; 197 | datalines4; 198 | "ANKERTON, L.",11123 199 | "DAVIS, R.",22298 200 | "MASTERS, T.",33351 201 | "WOLMER, B.",44483 202 | ;;;; 203 | 204 | data CERT.CLTRIALS; 205 | infile datalines dsd truncover; 206 | input TestDate:DATE9. Name:$13. Sex:$2. Placebo:$3. Cholesterol:32. Triglyc:32. Uric:32.; 207 | format TestDate DATE9.; 208 | datalines4; 209 | 09AUG2000,"Johnson, R",F,YES,200,180,3.7 210 | 01AUG2000,"LaMance, K",M,YES,250,230,5.1 211 | 09AUG2000,"Eberhardt, S",F,NO,244,320,4.6 212 | 22MAY2000,"Nunnelly, A",F,YES,210,300,4 213 | 22MAY2000,"Quigley, M",F,NO,192,139,6.2 214 | 22MAY2000,"Cameron, L",M,YES,198,150,4.3 215 | 22MAY2000,"Underwood, K",M,NO,159,110,4.9 216 | ;;;; 217 | 218 | data CERT.CREDIT; 219 | infile datalines dsd truncover; 220 | input Account:$4. Name:$17. Type:$1. Transaction:$6.; 221 | datalines4; 222 | 1118,ART CONTUCK,D,57.69 223 | 2287,MICHAEL WINSTONE,D,145.89 224 | 6201,MARY WATERS,C,45.00 225 | 7821,MICHELLE STANTON,A,304.45 226 | 6621,WALTER LUND,C,234.76 227 | 1086,KATHERINE MORRY,A,64.98 228 | 0556,LEE McDONALD,D,70.82 229 | 7821,ELIZABETH WESTIN,C,188.23 230 | 0265,JEFFREY DONALDSON,C,78.90 231 | 1010,MARTIN LYNN,D,150.55 232 | ;;;; 233 | 234 | data CERT.DATES; 235 | infile datalines dsd truncover; 236 | input year:32. month:32. day:32.; 237 | datalines4; 238 | 2018,1,22 239 | 2018,2,9 240 | 2018,3,5 241 | 2018,4,27 242 | 2018,5,10 243 | 2018,6,6 244 | 2018,7,23 245 | 2018,8,11 246 | 2018,9,3 247 | 2018,10,5 248 | 2018,11,23 249 | 2018,12,13 250 | ;;;; 251 | 252 | data CERT.DEMOG; 253 | input ID $1-4 Age 6-7 Sex $9-10 @12 Date mmddyy10.; 254 | format Date mmddyy10.; 255 | datalines; 256 | A001 21 M 05/22/07 257 | A002 32 M 06/15/06 258 | A003 24 F 08/17/07 259 | A004 . 01/27/06 260 | A005 44 F 02/24/05 261 | A007 39 M 11/11/05 262 | ; 263 | 264 | ;;;; 265 | 266 | data CERT.DIABETES; 267 | infile datalines dsd truncover; 268 | input ID:32. Sex:$1. Age:32. Height:32. Weight:32. Pulse:32. FastGluc:32. PostGluc:32.; 269 | datalines4; 270 | 2304,F,16,61,102,100,568,625 271 | 1128,M,43,71,218,76,156,208 272 | 4425,F,48,66,162,80,244,322 273 | 1387,F,57,64,142,70,177,206 274 | 9012,F,39,63,157,68,257,318 275 | 6312,M,52,72,240,77,362,413 276 | 5438,F,42,62,168,83,247,304 277 | 3788,M,38,73,234,71,486,544 278 | 9125,F,56,64,159,70,166,215 279 | 3438,M,15,66,140,67,492,547 280 | 1274,F,50,65,153,70,193,271 281 | 3347,M,53,70,193,78,271,313 282 | 2486,F,63,65,157,70,152,224 283 | 1129,F,48,61,137,69,267,319 284 | 9723,M,52,75,219,65,348,403 285 | 8653,M,49,68,185,79,259,311 286 | 4451,M,54,71,196,81,373,431 287 | 3279,M,40,70,213,82,447,504 288 | 4759,F,60,68,164,71,155,215 289 | 6488,F,59,64,154,75,362,409 290 | ;;;; 291 | 292 | data CERT.DONORS1; 293 | infile datalines dsd truncover; 294 | input ID:32. Type:$2. Units:32.; 295 | datalines4; 296 | 2304,O,16 297 | 1129,A,48 298 | 1129,A,50 299 | 1129,A,57 300 | 2486,B,63 301 | ;;;; 302 | 303 | data CERT.DONORS2; 304 | infile datalines dsd truncover; 305 | input ID:32. Code:32. Unit:32.; 306 | datalines4; 307 | 6488,65,27 308 | 1129,63,32 309 | 5438,62,39 310 | 2304,61,45 311 | 1387,64,67 312 | ;;;; 313 | data cert.empdata; 314 | input EmpID $1-5 Dept $7-24 Country $26-29 Salary 30-34 @36 Date mmddyy10.; 315 | format Date mmddyy10.; 316 | datalines; 317 | E1024 FLIGHT OPERATIONS USA 25000 03/11/2002 318 | E1938 FINANCE & IT USA 27000 12/19/2003 319 | E0282 HUMAN RESOUCES USA 36000 01/13/2009 320 | E1192 FLIGHT OPERATIONS USA 30000 02/28/2008 321 | E0283 SALES & MARKETING USA 33000 07/13/2004 322 | E9228 FLIGHT OPERATIONS USA 33000 07/12/2004 323 | E3938 SALES & MARKETING USA 29500 02/28/2009 324 | E0293 FINANCE & IT BE 79000 08/14/2002 325 | E1129 HUMAN RESOURCES BE 29000 03/13/2002 326 | E8102 SALES & MARKETING BE 39000 04/18/2008 327 | E2208 AIRPORT OPERATIONS BE 34000 11/17/2005 328 | E3009 FLIGHT OPERATIONS BE 37000 12/10/2004 329 | E9382 FINANCE & IT CA 45000 11/23/2007 330 | E8273 FINANCE & IT CA 50000 05/29/2008 331 | E0292 SALES & MARKETING CA 85000 08/19/2008 332 | E8292 SALES & MARKETING CA 35000 02/20/2005 333 | E1374 AIRPORT OPERATIONS DK 19000 10/16/2009 334 | E3577 FINANCE & IT DK 36000 10/28/2008 335 | E3991 FINANCE & IT DK 67000 09/15/2007 336 | ;;;; 337 | data cert.empdatu; 338 | input EmpID $1-5 Dept $7-24 Country $25-28 Salary 29-34 @36 Date mmddyy10.; 339 | format Date mmddyy10.; 340 | datalines; 341 | E2275 FLIGHT OPERATIONS USA 19950 03/27/2004 342 | E0021 FINANCE & IT USA 45150 04/09/2003 343 | E0028 FINANCE & IT DE 39900 04/05/2003 344 | ;;;; 345 | data cert.empdatu2; 346 | input EmpID $1-5 Dept $7-24 Country $25-28 Salary 29-34 @36 Date mmddyy10.; 347 | format Date mmddyy10.; 348 | datalines; 349 | E2002 FINANCE & IT USA 28350 12/19/2003 350 | E2005 AIRPORT OPERATIONS DK 21950 12/19/2001 351 | E2009 FINANCE & IT USA 35700 01/26/2007 352 | ;;;; 353 | data CERT.FINANCE; 354 | infile datalines dsd truncover; 355 | input SSN:$11. Name:$12. Salary:32. Date:DATE7.; 356 | format Date DATE7.; 357 | datalines4; 358 | 029-46-9261,Rudelich,35000,02JAN17 359 | 074-53-9892,Vincent,35000,02JAN17 360 | 228-88-9649,Benito,28000,16JAN17 361 | 442-21-8075,Sirignano,5000,06FEB17 362 | 446-93-2122,Harbinger,33900,06FEB17 363 | 776-84-5391,Phillipon,29750,06JUN16 364 | 929-75-0218,Gunter,27500,06JUN16 365 | ;;;; 366 | 367 | data CERT.FITNESS; 368 | infile datalines dsd truncover; 369 | input FirstName:$10. LastName:$10. Gender:$7. Age:32. Weight:32. Group:32.; 370 | datalines4; 371 | Sarah,Edwards,Female,28,198,2 372 | Mike,Elliott,Male,26,165,1 373 | Sophia,Kelley,Female,25,156,1 374 | Ted,Turner,Male,19,201,2 375 | Adison,Hunt,Male,30,299,3 376 | Gianna,Payne,Female,37,205,2 377 | Olivia,Harper,Female,37,233,2 378 | Amy,Rogers,Female,31,187,1 379 | Anna,Brown,Female,39,270,3 380 | Reid,Mitchell,Male,40,168,1 381 | Olivia,Tucker,Female,50,207,2 382 | Abigail,Wright,Female,47,147,1 383 | Robert,Smith,Male,40,301,3 384 | Tara,Mitchell,Female,50,275,3 385 | Naomi,Clark,Female,42,213,2 386 | Nicholas,Hamilton,Male,60,185,1 387 | Elise,Gray,Female,51,174,1 388 | Wilson,Kelly,Male,53,177,1 389 | Harold,Kelley,Male,60,198,2 390 | Maximilian,Cunningham,Male,56,163,1 391 | James,Ryan,Male,66,197,2 392 | Adrian,Henderson,Male,60,251,3 393 | Kirsten,Carter,Female,66,134,1 394 | April,Martin,Female,64,142,1 395 | Vincent,Crawford,Male,69,185,1 396 | ;;;; 397 | 398 | data CERT.FURNTURE; 399 | infile datalines dsd truncover; 400 | input StockNum:$3. Finish:$5. Style:$8. Item:$5. Price:32.; 401 | datalines4; 402 | 310,oak,pedestal,table,229.99 403 | 311,maple,pedestal,table,369.99 404 | 312,brass,floor,lamp,79.99 405 | 313,glass,table,lamp,59.99 406 | 314,oak,rocking,chair,153.99 407 | 315,oak,pedestal,table,178.99 408 | 316,glass,table,lamp,49.99 409 | 317,maple,pedestal,table,169.99 410 | 318,maple,rocking,chair,199.99 411 | ;;;; 412 | 413 | data CERT.HEALTH; 414 | infile datalines dsd truncover; 415 | input IDNum:32. Age:32. Height:32. Weight:32.; 416 | datalines4; 417 | 1025,58,64,148 418 | 6983,27,68,159 419 | 6726,38,60,130 420 | 7258,34,62,198 421 | 2874,43,67,180 422 | ;;;; 423 | 424 | data CERT.HEART; 425 | infile datalines dsd truncover; 426 | input Patient:$3. Sex:32. Survive:$4. Shock:$8. Arterial:32. Heart:32. Cardiac:32. Urinary:32.; 427 | datalines4; 428 | 203,1,SURV,NONSHOCK,88,95,66,110 429 | 54,1,DIED,HYPOVOL,83,183,95,0 430 | 664,2,SURV,CARDIO,72,111,332,12 431 | 210,2,DIED,BACTER,74,97,369,0 432 | 101,2,DIED,NEURO,80,130,291,0 433 | 102,2,SURV,OTHER,87,107,471,65 434 | 529,1,DIED,CARDIO,103,106,217,15 435 | 524,2,DIED,CARDIO,145,99,156,10 436 | 426,1,SURV,OTHER,68,77,410,75 437 | 509,2,SURV,OTHER,79,84,256,90 438 | 742,1,DIED,HYPOVOL,100,54,135,0 439 | 609,2,DIED,NONSHOCK,93,101,260,90 440 | 318,2,DIED,OTHER,72,81,410,405 441 | 412,1,SURV,BACTER,61,87,296,44 442 | 601,1,DIED,BACTER,84,101,260,377 443 | 402,1,SURV,CARDIO,88,137,312,75 444 | 98,2,SURV,CARDIO,84,87,260,377 445 | 4,1,SURV,HYPOVOL,81,149,406,200 446 | 50,2,SURV,HYPOVOL,72,111,332,12 447 | 2,2,DIED,OTHER,101,114,424,97 448 | ;;;; 449 | 450 | data CERT.INSURE; 451 | infile datalines dsd truncover; 452 | input ID:$4. Name:$14. Policy:$5. Company:$11. PctInsured:32. Total:32. BalanceDue:6.2; 453 | format BalanceDue 6.2; 454 | datalines4; 455 | 2458,"Murray, W",32668,MUTUALITY,100,98.64,0.00 456 | 2462,"Almers, C",95824,RELIABLE,80,780.23,156.05 457 | 2501,"Bonaventure, T",87795,A&R,80,47.38,9.48 458 | 2523,"Johnson, R",39022,ACME,50,122.07,61.04 459 | 2539,"LaMance, K",63265,PARNASSUS,50,87.35,43.68 460 | 2544,"Jones, M",92478,ESSENTIAL,80,262.08,52.42 461 | 2552,"Reberson, P",25530,USA INC.,60,518.53,207.41 462 | 2555,"King, E",18744,ACME,80,135.97,27.19 463 | 2563,"Pitts, D",60976,HOMELIFE,80,1554.12,310.82 464 | 2568,"Eberhardt, S",81589,RURITAN,50,346.33,173.17 465 | 2571,"Nunnelly, A",99120,EMPLOYERS,100,583.55,0.00 466 | 2572,"Oberon, M",44544,ACME,100,4537.77,0.00 467 | 2574,"Peterson, V",75986,FRED SMYTHE,60,569.99,228.00 468 | 2575,"Quigley, M",97048,RELIABLE,50,198.01,99.01 469 | 2578,"Cameron, L",42351,COVINGTON,50,222.82,111.41 470 | 2579,"Underwood, K",14592,ESSENTIAL,100,541.64,0.00 471 | 2584,"Takahashi, Y",54219,FRED SMYTHE,60,466.46,186.58 472 | 2586,"Derber, B",74653,RELIABLE,60,590.28,236.11 473 | 2588,"Ivan, H",83809,HOMELIFE,100,474.5,0.00 474 | 2589,"Wilcox, E",94034,ACME,60,530.49,212.20 475 | 2595,"Warren, C",20347,RELIABLE,60,411.11,164.44 476 | ;;;; 477 | 478 | data CERT.INVENT; 479 | infile datalines dsd truncover; 480 | input Item:$13. IDnum:$5. InStock:32. BackOrd:32. CostPerUnit:32.; 481 | datalines4; 482 | Bird Feeder,LG088,3,20,5 483 | 6 Glass Mugs,SB082,6,12,1.5 484 | Glass Tray,BQ049,12,6,2.5 485 | Padded Hangrs,MN256,15,6,2 486 | Jewelry Box,AJ498,23,0,6.5 487 | Red Apron,AQ072,9,12,1 488 | Crystal Vase,AQ672,27,0,7 489 | Picnic Basket,LS930,21,0,3.5 490 | Brass Clock,AN910,2,10,11.5 491 | ;;;; 492 | data cert.jan18temp; 493 | input Day HighTemp AvgHighTemp LowTemp AvgLowTemp; 494 | datalines; 495 | 21185 26 44 13 29 496 | 21186 26 43 13 29 497 | 21187 35 43 13 29 498 | 21188 27 43 16 29 499 | 21189 21 43 13 29 500 | 21190 21 43 11 29 501 | 21191 23 43 8 29 502 | 21192 39 43 19 29 503 | 21193 51 43 30 29 504 | 21194 43 43 27 29 505 | 21195 62 43 38 29 506 | 21196 64 43 57 28 507 | 21197 62 43 21 28 508 | 21198 28 43 17 28 509 | 21199 32 43 18 28 510 | 21200 43 43 30 28 511 | 21201 37 43 20 28 512 | 21202 47 43 19 28 513 | 21203 51 43 25 28 514 | 21204 63 43 28 28 515 | 21205 61 43 32 28 516 | 21206 65 47 43 28 517 | 21207 68 44 47 28 518 | 21208 48 35 44 29 519 | 21209 42 44 31 29 520 | 21210 50 44 28 29 521 | 21211 63 44 38 29 522 | 21212 57 44 47 29 523 | 21213 48 44 41 29 524 | 21214 41 44 24 29 525 | 21215 41 44 21 29 526 | ;;;; 527 | data CERT.LAGUARDIA; 528 | infile datalines dsd truncover; 529 | input Flight:$3. Date:DATE7. Depart:TIME5. Orig:$3. Dest:$3. Boarded:32. Transferred:32. Deplaned:32. Revenue:32.; 530 | format Date DATE7. Depart TIME5.; 531 | datalines4; 532 | 219,04MAR12,9:31,LGA,LON,232,18,250,189065 533 | 219,05MAR12,9:31,LGA,LON,160,4,167,197456 534 | 219,06MAR12,9:31,LGA,LON,163,14,183,162343 535 | 219,07MAR12,9:31,LGA,LON,241,9,250,134520 536 | 219,08MAR12,9:31,LGA,LON,183,11,197,106753 537 | 219,09MAR12,9:31,LGA,LON,211,18,235,122766 538 | 219,10MAR12,9:31,LGA,LON,167,7,181,198744 539 | 271,04MAR12,11:40,LGA,PAR,146,8,163,156804 540 | 271,05MAR12,12:19,LGA,PAR,177,15,227,190098 541 | 271,07MAR12,9:31,LGA,PAR,155,18,172,166470 542 | 271,08MAR12,12:19,LGA,PAR,152,7,187,163248 543 | 271,09MAR12,13:17,LGA,PAR,159,15,191,170766 544 | 271,10MAR12,11:40,LGA,PAR,182,9,153,195468 545 | 271,03MAR12,13:17,LGA,PAR,147,29,183,123456 546 | 271,04MAR12,13:17,LGA,PAR,146,13,163,125632 547 | 271,05MAR12,13:17,LGA,PAR,177,22,203,128972 548 | 271,07MAR12,13:17,LGA,PAR,155,21,180,153423 549 | 271,08MAR12,13:17,LGA,PAR,152,20,176,133345 550 | 271,09MAR12,13:17,LGA,PAR,159,18,182,126543 551 | 271,10MAR12,13:17,LGA,PAR,182,9,198,134976 552 | 387,04MAR12,11:40,LGA,CPH,81,21,103,196540 553 | 387,05MAR12,11:40,LGA,CPH,142,8,152,134561 554 | 387,07MAR12,11:40,LGA,CPH,131,5,142,135632 555 | 387,08MAR12,11:40,LGA,CPH,150,9,162,128564 556 | 387,09MAR12,11:40,LGA,CPH,128,14,145,134523 557 | 387,10MAR12,11:40,LGA,CPH,154,18,177,109885 558 | 622,03MAR12,12:19,LGA,FRA,180,16,200,187636 559 | 622,04MAR12,12:19,LGA,FRA,137,14,155,165456 560 | 622,05MAR12,12:19,LGA,FRA,185,11,199,125436 561 | 622,07MAR12,12:19,LGA,FRA,210,22,237,107865 562 | 622,08MAR12,12:19,LGA,FRA,176,5,187,178543 563 | 622,09MAR12,12:19,LGA,FRA,173,11,189,100987 564 | 622,10MAR12,12:19,LGA,FRA,129,12,147,134459 565 | 821,04MAR12,9:31,LGA,LON,167,17,222,150634 566 | 821,06MAR12,14:56,LGA,LON,167,13,222,150634 567 | 821,07MAR12,13:17,LGA,LON,215,14,158,193930 568 | 821,08MAR12,11:40,LGA,LON,186,8,114,167772 569 | 821,09MAR12,14:56,LGA,LON,203,6,210,183106 570 | 821,10MAR12,9:31,LGA,LON,188,8,211,169576 571 | 821,03MAR12,14:56,LGA,LON,151,17,172,143561 572 | 821,04MAR12,14:56,LGA,LON,167,9,182,170766 573 | 821,06MAR12,14:56,LGA,LON,167,16,185,129560 574 | 821,07MAR12,14:56,LGA,LON,215,11,231,196736 575 | 821,08MAR12,14:56,LGA,LON,186,11,202,125344 576 | 821,09MAR12,14:56,LGA,LON,203,11,218,166543 577 | 821,10MAR12,14:56,LGA,LON,188,5,197,129745 578 | ;;;; 579 | 580 | data CERT.LEUKEMIA; 581 | infile datalines dsd truncover; 582 | input WhiteCells:32. AG:$8. Survived:32.; 583 | datalines4; 584 | 2300,Present,1 585 | 750,Present,1 586 | 4300,Present,1 587 | 2600,Present,1 588 | 6000,Present,0 589 | 10500,Present,1 590 | 10000,Present,1 591 | 17000,Present,0 592 | 5400,Present,1 593 | 7000,Present,1 594 | 9400,Present,1 595 | 32000,Present,1 596 | 35000,Present,0 597 | 1000000,Present,0 598 | 1000000,Present,0 599 | 52000,Present,0 600 | 1000000,Present,1 601 | 4400,Absent,1 602 | 3000,Absent,1 603 | 4000,Absent,0 604 | 1500,Absent,0 605 | 9000,Absent,0 606 | 5300,Absent,0 607 | 10000,Absent,0 608 | 19000,Absent,0 609 | 27000,Absent,0 610 | 28000,Absent,0 611 | 31000,Absent,0 612 | 26000,Absent,0 613 | 21000,Absent,0 614 | 79000,Absent,1 615 | 1000000,Absent,0 616 | 1000000,Absent,1 617 | ;;;; 618 | 619 | data CERT.LOAN; 620 | infile datalines dsd truncover; 621 | input Code:32. Amount:32. Rate:32. Months:32.; 622 | datalines4; 623 | 1,22000,0.1,60 624 | 1,114000,0.095,360 625 | 1,10000,0.105,36 626 | 2,3500,0.105,12 627 | 2,8700,0.105,24 628 | 2,18500,0.1,60 629 | 3,5000,0.105,48 630 | 3,87500,0.095,360 631 | 3,30000,0.0975,360 632 | ;;;; 633 | 634 | data CERT.LOAN01; 635 | infile datalines dsd truncover; 636 | input Code:32. Account:32. Amount:32. Rate:$8. Months:32.; 637 | datalines4; 638 | 1,22000,0.1,60,60 639 | 1,114000,0.095,360,36 640 | 1,10000,0.105,36,36 641 | 2,3500,0.105,12,12 642 | 2,8700,0.105,24,24 643 | 2,18500,0.1,60,60 644 | 3,5000,0.105,48,48 645 | 3,87500,0.095,360,36 646 | 3,30000,0.0975,360,36 647 | ;;;; 648 | 649 | data CERT.MASTER; 650 | infile datalines dsd truncover; 651 | input Account:32. Amount:32. Rate:32.; 652 | datalines4; 653 | 1025,9600,0.07 654 | 1026,1500,0.05 655 | 1027,2500,0.05 656 | 1028,5000,0.08 657 | 1029,6500,0.07 658 | 1030,5000,0.07 659 | 1031,4000,0.06 660 | 1032,3000,0.01 661 | 1033,2500,0.04 662 | 1034,3500,0.04 663 | 1035,1000,0.02 664 | ;;;; 665 | 666 | data CERT.MEASURE; 667 | infile datalines dsd truncover; 668 | input ID:32. Height:32. Weight:32.; 669 | datalines4; 670 | 1129,61,137 671 | 1387,64,142 672 | 2304,61,102 673 | 5438,62,168 674 | 6488,64,154 675 | 9012,63,157 676 | 9125,65,148 677 | 8045,72,200 678 | 8125,70,176 679 | ;;;; 680 | 681 | data CERT.MECHANICS; 682 | infile datalines dsd truncover; 683 | input ID:$4. LastName:$9. FirstName:$9. City:$12. State:$2. Gender:$1. Salary:8.2 Birth:DATE7. Hired:DATE7. HomePhone:$12. SSN:32. JobCategory:$2. JobLevel:$1.; 684 | format Salary 8.2 Birth DATE7. Hired DATE7.; 685 | datalines4; 686 | 1653,ALEXANDER,SUSAN,BRIDGEPORT,CT,G,35108.00,12OCT77,30JUN98,203/675-7715,,ME,2 687 | 1400,APPLE,TROY,NEW YORK,NY,M,29769.00,02MAY78,30APR00,212/586-0808,,ME,1 688 | 1499,BAREFOOT,JOSEPH,PRINCETON,NJ,M,43025.00,16NOV78,23JUL98,201/812-5665,,ME,3 689 | 1403,BOWDEN,EARL,BRIDGEPORT,CT,M,28072.00,06DEC80,13JAN04,203/675-3434,,ME,1 690 | 1782,BROWN,JASON,STAMFORD,CT,M,35345.00,25FEB80,09JAN99,203/781-0019,,ME,2 691 | 1244,BRYANT,LEONARD,NEW YORK,NY,M,,08DEC81,10SEP00,718/383-3334,,ME,2 692 | 1065,CHAPMAN,NEIL,NEW YORK,NY,M,35090.00,24JUN77,23JUL98,718/384-5618,,ME,2 693 | 1129,COOK,BRENDA,NEW YORK,NY,F,3492.90,22FEB81,05JAN07,718/383-2313,,ME,2 694 | 1406,FOSTER,GERALD,BRIDGEPORT,CT,M,351.85,19JUL84,10JUL98,203/675-6363,,ME,2 695 | 1120,GARCIA,JACK,NEW YORK,NY,M,28619.00,14NOV79,09DEC00,718/384-4930,,ME,1 696 | 1409,HARTFORD,RAYMOND,STAMFORD,CT,M,41551.00,11SEP81,12MAR97,203/781-9697,,, 697 | 1121,HERNANDEZ,MICHAEL,NEW YORK,NY,M,29112.00,16NOV78,14MAY96,718/384-3313,,ME,1 698 | 1356,HOWARD,MICHAEL,NEW YORK,NY,M,36869.00,03JAN80,17OCT95,212/586-8411,,ME,2 699 | 1292,HUNTER,HELEN,BRIDGEPORT,CT,F,36691.00,09NOV80,31MAY99,203/675-4830,,ME,2 700 | 1440,JACKSON,LAURA,STAMFORD,CT,F,,11DEC82,15SEP95,12203/781-00,,ME,2 701 | 1900,KING,WILLIAM,NEW YORK,NY,M,35105.00,19JUL80,17MAR03,718/383-3698,,ME,2 702 | 1379,MORGAN,ALFRED,STAMFORD,CT,M,42264.00,30JAN84,21APR05,203/781-2216,,ME,3 703 | 1412,MURPHEY,JOHN,PRINCETON,NJ,N,27799.00,08APR78,29JUL04,201/812-4414,,ME,1 704 | 1423,OSWALD,LESLIE,MT. VERNON,NY,F,35773.00,20JAN80,16JUL98,914/468-9171,,ME,2 705 | 1200,OVERMAN,MICHELLE,STAMFORD,CT,F,27816.00,18FEB80,20JAN97,203/781-1835,,ME,1 706 | 1521,PARKER,JAY,NEW YORK,NY,M,41526.00,01SEP79,02DEC03,212/587-7603,,ME,3 707 | 1385,RAYNOR,MILTON,BRIDGEPORT,CT,M,43900.00,01MAR78,20AUG01,203/675-2846,,ME,3 708 | 1432,REED,MARILYN,MT. VERNON,NY,F,35327.00,07FEB81,01JUL00,914/468-5454,,ME,2 709 | 1420,ROUSE,JEREMY,PATERSON,NJ,M,43071.00,18JUL80,01JUN08,201/732-9834,,ME,3 710 | 1882,TUCKER,ALAN,NEW YORK,NY,M,41538.00,12DEC79,28JUN02,718/384-0216,,ME,3 711 | 1050,TUTTLE,THOMAS,WHITE PLAINS,NY,M,35167.00,16OCT06,27AUG74,914/455-2119,,ME,2 712 | 1995,VARNER,ELIZABETH,NEW YORK,NY,F,28810.00,26OCT80,21NOV00,718/384-7113,,ME,1 713 | 1418,WATSON,BERNARD,NEW YORK,NY,M,28005.00,24MAR80,10MAR99,718/383-1298,,ME,1 714 | 1105,YOUNG,LAWRENCE,NEW YORK,NY,M,34805.00,12OCT80,15OCT97,718/384-0008,,ME,2 715 | ;;;; 716 | 717 | data CERT.ORDERS; 718 | infile datalines dsd truncover; 719 | input Product:$15. Units:32. Price:32. Ordrtime:32.; 720 | datalines4; 721 | Mahogany Chair,52,59.99,4 722 | Mahogany Table,19,799.99,9 723 | Walnut Table,17,449.99,6 724 | Walnut Chair,82,49.99,4 725 | ;;;; 726 | data CERT.PATDAT; 727 | input ID $1-4 Age 6-7 Sex $9-10 @12 Date mmddyy10.; 728 | format Date mmddyy10.; 729 | datalines; 730 | A001 21 M 08/17/97 731 | A002 32 M 02/18/86 732 | A003 24 F 06/07/94 733 | A004 28 M 01/27/90 734 | A005 44 F 04/24/74 735 | A007 39 M 07/10/79 736 | A008 30 F 09/16/88 737 | ; 738 | data CERT.PATIENTS; 739 | infile datalines dsd truncover; 740 | input ID:32. Sex:$8. Age:32.; 741 | datalines4; 742 | 1129,F,48 743 | 1387,F,57 744 | 2304,F,16 745 | 2486,F,63 746 | 4759,F,60 747 | 5438,F,42 748 | 6488,F,59 749 | 9012,F,39 750 | 9125,F,56 751 | 8045,M,40 752 | 8125,M,39 753 | ;;;; 754 | 755 | data CERT.PATS; 756 | infile datalines dsd truncover; 757 | input ID:32. Gender:$2. Age:32.; 758 | datalines4; 759 | 1129,F,48 760 | 1147,M,116 761 | 1387,F,57 762 | 2304,F,16 763 | 2486,F,63 764 | 4759,F,60 765 | 5277,F,202 766 | 5438,F,42 767 | 6745,G,18 768 | 6488,F,59 769 | 8045,M,40 770 | 8125,M,39 771 | 9012,F,39 772 | 9125,F,56 773 | 9968,G,64 774 | ;;;; 775 | 776 | data CERT.PIEDMONT; 777 | infile datalines dsd truncover; 778 | input Phone:$12.; 779 | datalines4; 780 | 919-555-0131 781 | 919-555-0166 782 | 910-555-6753 783 | 910-697-6785 784 | 919-697-6977 785 | 919-596-0687 786 | 919-555-9863 787 | 919-987-4204 788 | 910-576-1684 789 | 919-632-6976 790 | ;;;; 791 | 792 | data CERT.PROPS1; 793 | infile datalines dsd truncover; 794 | input Actor:$5. Prop:$7.; 795 | datalines4; 796 | Curly,Anvil 797 | Larry,Ladder 798 | Moe,Poker 799 | ;;;; 800 | 801 | data CERT.PROPS2; 802 | infile datalines dsd truncover; 803 | input Actor:$5. Prop:$7.; 804 | datalines4; 805 | Curly,Ladder 806 | Moe,Pliers 807 | ;;;; 808 | 809 | data CERT.RECORDS; 810 | infile datalines dsd truncover; 811 | input Account:$8. Amount:DOLLAR8. Rate:PERCENT8.2 Months:32. Payment:DOLLAR7.2 Code:$1.; 812 | format Amount DOLLAR8. Rate PERCENT8.2 Payment DOLLAR7.2; 813 | datalines4; 814 | 101-1092,"$22,000",10.00%,60,$467.43,1 815 | 101-1731,"$14,000",9.50%,360,$958.57,2 816 | 101-1289,"$10,000",10.50%,36,$325.02,2 817 | 101-3144,"$3,500",10.50%,12,$308.52,1 818 | 103-1135,"$8,700",10.50%,24,$403.47,1 819 | 103-1994,"$18,500",10.00%,60,$393.07,2 820 | 103-2335,"$5,000",10.50%,48,$128.02,1 821 | 103-3864,"$87,500",9.50%,360,$735.75,1 822 | 103-3891,"$30,000",9.75%,360,$257.75,2 823 | ;;;; 824 | 825 | data CERT.REPS; 826 | infile datalines dsd truncover; 827 | input IDnum:$4. LastName:$10. FirstName:$8. City:$10. State:$2. Sex:$1. JobCode:$3. Salary:8.2 Birth:DATE7. Hired:DATE7. HomePhone:$12.; 828 | format Salary 8.2 Birth DATE7. Hired DATE7.; 829 | datalines4; 830 | 1269,CASTON,FRANKLIN,STAMFORD,CT,M,NA1,41690.00,06MAY60,01DEC80,203/781-3335 831 | 1935,FERNANDEZ,KATRINA,BRIDGEPORT,CT,,NA2,51081.00,31MAR42,19OCT69,203/675-2962 832 | 1417,NEWKIRK,WILLIAM,PATERSON,NJ,",",NA2,52270.00,30JUN52,10MAR77,201/732-6611 833 | 1839,NORRIS,DIANE,NEW YORK,YN,F,NA1,43433.00,02DEC58,06JUL81,718/384-1767 834 | 1111,RHODES,JEREMY,PRINCETON,NJ,M,NA1,40586.00,17JUL61,03NOV80,201/812-1837 835 | 1352,RIVERS,SIMON,NEW YORK,NY,M,NA2,5379.80,05DEC48,19OCT74,718/383-3345 836 | 1332,STEPHENSON,ADAM,BRIDGEPORT,CT,M,NA1,42178.00,20SEP58,07JUN79,203/675-1497 837 | 1443,WELLS,AGNES,STAMFORD,CT,F,NA1,422.74,20NOV56,01SEP79,203/781-5546 838 | ;;;; 839 | 840 | data CERT.REVIEW2018; 841 | infile datalines dsd truncover; 842 | input Name:$12. Day:32. Rate:$5. Site:$14.; 843 | datalines4; 844 | "Mitchell, K.",12,A2,Westin 845 | "Worton, M.",3,A5,Stockton 846 | "Smith, A.",17,B1,Center City 847 | "Kales, H.",4,A3,Stockton 848 | "Khalesh, P.",7,A1,Stockton 849 | "Samuel, P.",5,B4,Center City 850 | "Daniels, B.",7,C1,Westin 851 | "Mahes, K.",4,B2,Center City 852 | "Hunter, D.",10,B2,Westin 853 | "Moon, D.",5,A2,Stockton 854 | "Crane, N.",3,B1,Stockton 855 | ;;;; 856 | 857 | data CERT.ROUNDERS; 858 | infile datalines dsd truncover; 859 | input Account:32. AccountBalance:32. InvoicedAmount:32. PaymentReceived:32. AmountRemaining:32.; 860 | datalines4; 861 | 1118,6246.34,967.84,1214.18,2214.18 862 | 2287,3687.14,607.3,4294.44,0 863 | 6201,1607.93,137.41,700,1045.34 864 | 7821,7391.62,1069.37,5000,3460.99 865 | 6621,7017.5,9334.08,8351.58,8000 866 | 1086,556.36,1537.28,1300.28,793.36 867 | 2556,6388.1,3577.82,6900.82,3065.1 868 | 7821,10872.96,3885.08,10872.96,3885.08 869 | 5265,1057.46,637.42,1200,494.88 870 | 1010,6387.13,0,3193.57,3193.56 871 | ;;;; 872 | 873 | data CERT.SCH; 874 | infile datalines dsd truncover; 875 | input Program:$21. Producer:$6. AirDate:MMDDYY10.; 876 | format AirDate MMDDYY10.; 877 | datalines4; 878 | All Things Considered,NPR,04/12/2000 879 | BBC World,BBC,04/04/2000 880 | Morning Edition,NPR,04/13/2000 881 | River to River,NPR,04/01/2000 882 | World Cafe,WXPN,04/08/2000 883 | Talk of the Town,NPR,04/04/2000 884 | Classical Music,NPR,04/08/2000 885 | Symphony Live,NPR,04/01/2000 886 | All Things Considered,NPR,04/19/2000 887 | Morning Edition,NPR,04/14/2000 888 | BBC World,BBC,04/06/2000 889 | Morning Edition,NPR,04/17/2000 890 | BBC World,BBC,04/07/2000 891 | Morning Edition,NPR,04/18/2000 892 | BBC World,BBC,04/10/2000 893 | Morning Edition,NPR,04/20/2000 894 | Symphony Live,NPR,04/16/2000 895 | World Cafe,WXPN,04/08/2000 896 | ;;;; 897 | data cert.scores; 898 | input ID Test1 Test2 Test3 Test4 Test5; 899 | datalines; 900 | 1001 100 95 95 92 93 901 | 1002 78 77 78 34 77 902 | 1003 74 71 93 70 73 903 | 1004 88 77 95 82 75 904 | 1005 81 73 40 29 81 905 | 1006 96 89 93 83 86 906 | 1007 79 71 82 80 88 907 | 1008 72 81 94 71 74 908 | 1009 92 80 83 88 93 909 | 1010 83 82 88 89 85 910 | 1011 85 75 83 60 75 911 | 1012 70 80 87 70 77 912 | 1013 76 80 89 90 51 913 | 1014 80 79 100 81 82 914 | 1015 76 86 100 83 80 915 | 1016 70 78 85 74 85 916 | 1017 87 81 91 94 90 917 | 1018 100 90 95 97 86 918 | 1019 97 84 94 93 83 919 | 1020 98 100 77 62 78 920 | ;;;; 921 | data CERT.SET1; 922 | infile datalines dsd truncover; 923 | input ID:32. Sex:$8. Age:32.; 924 | datalines4; 925 | 1128,F,48 926 | 1274,F,50 927 | 1387,F,57 928 | 2304,F,16 929 | 2486,F,63 930 | 4425,F,48 931 | 4759,F,60 932 | 5438,F,42 933 | 6488,F,59 934 | 9012,F,39 935 | 9125,F,56 936 | ;;;; 937 | 938 | data CERT.SET2; 939 | infile datalines dsd truncover; 940 | input ID:32. Height:32. Weight:32.; 941 | datalines4; 942 | 1129,61,137 943 | 1387,64,142 944 | 2304,61,102 945 | 5438,62,168 946 | 6488,64,154 947 | 9012,63,157 948 | 9125,64,159 949 | ;;;; 950 | 951 | data CERT.SPRING; 952 | infile datalines dsd truncover; 953 | input Fabric:$8. Blue:$2. Green:$2. Red:$2. Yellow:$2.; 954 | datalines4; 955 | Blend,Y,Y,Y,Y 956 | Chambray,Y,N,N,N 957 | Cotton,Y,N,Y,N 958 | Linen,Y,Y,N,Y 959 | Rayon,N,Y,N,Y 960 | ;;;; 961 | 962 | data CERT.STAFF; 963 | infile datalines dsd truncover; 964 | input ID:$4. Name:$12. DOB:32. WageCategory:$1. WageRate:7.2 Bonus:7.2; 965 | format WageRate 7.2 Bonus 7.2; 966 | datalines4; 967 | 1351,"Farr, Sue",-4685,S,3392.50,1187.38 968 | 161,"Cox, Kay B",-5114,S,5093.75,1782.81 969 | 212,"Moore, Ron",-2415,S,1813.30,634.65 970 | 2512,"Ruth, G H",-2819,S,1572.50,550.37 971 | 2532,"Hobbs, Roy",-780,H,13.48,500.00 972 | 282,"Shaw, Rick",-3090,S,2192.25,767.29 973 | 3131,"Gant, Amy",-10199,H,13.50,500.00 974 | 341,"Mann, Mary",290,H,13.55,500.00 975 | 3551,"Cobb, Joy F",-636,H,13.65,500.00 976 | 3782,"Bond, Jim S",-4045,S,2247.50,786.63 977 | 381,"Smith, Anna",-3493,S,2082.75,728.96 978 | 3922,"Dow, Tony",-4472,S,2960.00,1036.00 979 | 412,"Star, Burt",-1412,S,2300.00,805.00 980 | 4331,"King, Jan S",-3170,H,11.85,500.00 981 | 442,"Lewis, Ed D",-3590,S,3420.00,1197.00 982 | 452,"Fox, Jim E",-5166,S,3902.35,1365.82 983 | 4551,"Wong, Kim P",-6412,S,3442.50,1204.88 984 | 472,"Hall, Joe B",563,S,2262.50,791.88 985 | 482,"Chin, Mike",-2586,S,2938.00,1028.30 986 | 4921,"Smyth, Nan",-1444,H,15.33,500.00 987 | 5002,"Welch, W B",-832,S,5910.75,2068.76 988 | 5112,"Delgado, Ed",-4146,S,4045.85,1416.05 989 | 511,"Vega, Julie",-822,S,4480.50,1568.18 990 | 5132,"Overby, Phil",-3129,S,6855.90,2399.57 991 | 5151,"Coxe, Susan",-10209,S,3163.00,1107.05 992 | 1351,"Farr, Sue",-4685,S,3392.50,1187.38 993 | ;;;; 994 | 995 | data CERT.STAFF1; 996 | infile datalines dsd truncover; 997 | input ID:$3. Name:$8. Dept:$4. Project:$8.; 998 | datalines4; 999 | 000,Miguel,A12,Document 1000 | 111,Fred,B45,Survey 1001 | 222,Diana,B45,Document 1002 | 888,Monique,A12,Document 1003 | 999,Vien,D03,Survey 1004 | ;;;; 1005 | 1006 | data CERT.STAFF2; 1007 | infile datalines dsd truncover; 1008 | input ID:32. Name:$8. Hours:32.; 1009 | datalines4; 1010 | 111,Fred,35 1011 | 222,Diana,40 1012 | 777,Steve,0 1013 | 888,Monique,37 1014 | ;;;; 1015 | 1016 | data CERT.STRESS; 1017 | infile datalines dsd truncover; 1018 | input ID:$4. Name:$14. RestHR:32. MaxHR:32. RecHR:32. TimeMin:32. TimeSec:32. Tolerance:$1.; 1019 | datalines4; 1020 | 2458,"Murray, W",72,185,128,12,38,D 1021 | 2462,"Almers, C",68,171,133,10,5,I 1022 | 2501,"Bonaventure, T",78,177,139,11,13,I 1023 | 2523,"Johnson, R",69,162,114,9,42,S 1024 | 2539,"LaMance, K",75,168,141,11,46,D 1025 | 2544,"Jones, M",79,187,136,12,26,N 1026 | 2552,"Reberson, P",69,158,139,15,41,D 1027 | 2555,"King, E",70,167,122,13,13,I 1028 | 2563,"Pitts, D",71,159,116,10,22,S 1029 | 2568,"Eberhardt, S",72,182,122,16,49,N 1030 | 2571,"Nunnelly, A",65,181,141,15,2,I 1031 | 2572,"Oberon, M",74,177,138,12,11,D 1032 | 2574,"Peterson, V",80,164,137,14,9,D 1033 | 2575,"Quigley, M",74,152,113,11,26,I 1034 | 2578,"Cameron, L",75,158,108,14,27,I 1035 | 2579,"Underwood, K",72,165,127,13,19,S 1036 | 2584,"Takahashi, Y",76,163,135,16,7,D 1037 | 2586,"Derber, B",68,176,119,17,35,N 1038 | 2588,"Ivan, H",70,182,126,15,41,N 1039 | 2589,"Wilcox, E",78,189,138,14,57,I 1040 | 2595,"Warren, C",77,170,136,12,10,S 1041 | ;;;; 1042 | 1043 | data CERT.STRESS2; 1044 | infile datalines dsd truncover; 1045 | input ID:$4. Name:$14. RestHR:32. MaxHR:32. RecHR:32. TimeMin:32. TimeSec:32. Tolerance:$1.; 1046 | datalines4; 1047 | 2458,"Murray, W",72,185,128,12,38,D 1048 | 2462,"Almers, C",68,171,133,10,5,I 1049 | 2501,"Bonaventure, T",78,177,139,11,13,I 1050 | 2523,"Johnson, R",69,162,114,9,42,S 1051 | 2539,"LaMance, K",75,168,141,11,46,D 1052 | 2544,"Jones, M",79,187,136,12,26,N 1053 | 2552,"Reberson, P",69,158,139,15,41,D 1054 | 2555,"King, E",70,167,122,13,13,I 1055 | 2563,"Pitts, D",71,159,116,10,22,S 1056 | 2568,"Eberhardt, S",72,182,122,16,49,N 1057 | 2571,"Nunnelly, A",65,181,141,15,2,I 1058 | 2572,"Oberon, M",74,177,138,12,11,D 1059 | 2574,"Peterson, V",80,164,137,14,9,D 1060 | 2575,"Quigley, M",74,152,113,11,26,I 1061 | 2578,"Cameron, L",75,158,108,14,27,I 1062 | 2579,"Underwood, K",72,165,127,13,19,S 1063 | 2584,"Takahashi, Y",76,163,135,16,7,D 1064 | 2586,"Derber, B",68,176,119,17,35,N 1065 | 2588,"Ivan, H",70,182,126,15,41,N 1066 | 2589,"Wilcox, E",78,189,138,14,57,I 1067 | 2595,"Warren, C",77,170,136,12,10,S 1068 | ;;;; 1069 | 1070 | data CERT.SUMMER; 1071 | infile datalines dsd truncover; 1072 | input Fabric:$8. Blue:$2. Green:$2. Red:$2. Yellow:$2.; 1073 | datalines4; 1074 | Cotton,Y,Y,Y,Y 1075 | Chambray,N,N,N,N 1076 | Rayon,Y,Y,Y,Y 1077 | Linen,Y,Y,Y,Y 1078 | Blend,Y,Y,Y,Y 1079 | ;;;; 1080 | 1081 | data CERT.SURVEY; 1082 | infile datalines dsd truncover; 1083 | input FirstName:$8. Item1:32. Item2:32. Item3:32. Item4:32. Item5:32. Item6:32. Item7:32. Item8:32. Item9:32. Item10:32. Item11:32. Item12:32. Item13:32. Item14:32. Item15:32. Item16:32. Item17:32. Item18:32.; 1084 | datalines4; 1085 | Alicia,4,3,5,4,3,4,1,2,2,3,1,2,2,3,1,1,2,3 1086 | Bernard,2,1,4,3,1,2,5,4,5,2,5,3,4,5,5,3,4,5 1087 | Betsy,5,3,4,5,5,4,4,4,3,5,4,3,4,2,3,5,2,3 1088 | Carmela,4,5,4,2,3,5,2,1,2,3,2,3,1,2,3,1,4,2 1089 | ;;;; 1090 | 1091 | data CERT.TEMP; 1092 | infile datalines dsd truncover; 1093 | input Address:$19. City:$12. State:$3. Zip:$7. Phone:$10. Startdate:32. Enddate:32. Payrate:$5. Days:32. Hours:32. Birthdate:32. Job:$32. Contact:$21. Dept:$5. Site:32.; 1094 | datalines4; 1095 | 65 ELM DR,CARY,NC,27513,6224549,21142,21196,10,11,88,7054,word processing,WORD PROCESSOR,DP,26 1096 | 11 SUN DR,CARY,NC,27513,6223251,21108,21142,8,25,200,5757,Filing Admin.Duties,ADMIN. ASST.,PURH,57 1097 | 712 HARDWICK STREET,CHAPEL HILL,NC,27514,9974749,21145,21183,40,26,208,3156,Organizational Dev. Specialis,CONSULTANT,PERS,34 1098 | 5372 WHITEBUD ROAD,RALEIGH,NC,27612,6970540,21091,21102,15,10,80,6097,Bookkeeping word processing,BOOKKEEPER ASST.,BK,57 1099 | 11 TALYN COURT,DURHAM,NC,27713,3633618,21125,21136,12,9,72,4327,word processing sec. work,WORD PROCESSOR,DP,95 1100 | 101 HYNERIAN DR,CARRBORO,NC,27510,9976732,21139,21188,15,7,64,5644,Bookkeeping word processing,BOOKKEEPER ASST.,BK,44 1101 | 11 RYGEL ROAD,CHAPEL HILL,NC,27514,9972070,20668,21048,12,12,96,5644,word processing,WORD PROCESSOR,DP,59 1102 | 121 E. MOYA STREET,DURHAM,NC,27713,3633020,21098,21102,10,5,40,4347,word processing sec. work,WORD PROCESSOR,PUB,38 1103 | 1905 DOCK STREET,CARY,NC,27513,6565303,21108,21112,10,5,30,4327,word processing,WORD PROCESSOR,DP,44 1104 | 1304 CRESCENT AVE,RALEIGH,NC,27612,4341557,20999,21122,15,5,25,4527,word processing,WORD PROCESSOR,DP,90 1105 | ;;;; 1106 | 1107 | data CERT.TESTS; 1108 | infile datalines dsd truncover; 1109 | input ID:$4. Name:$20. RestHR:32. MaxHR:32. RecHR:32. TimeMin:32. TimeSec:32. Tolerance:$1.; 1110 | datalines4; 1111 | 2458,"Murray, W",72,185,128,12,38,D 1112 | 2462,"Almers, C",68,171,133,10,5,I 1113 | 2501,"Bonaventure, T",78,177,139,11,13,I 1114 | 2523,"Johnson, R",69,162,114,9,42,S 1115 | 2539,"LaMance, K",75,168,141,11,46,D 1116 | 2544,"Jones, M",79,187,136,12,26,N 1117 | 2552,"Reberson, P",69,158,139,15,41,D 1118 | 2555,"King, E",70,167,122,13,13,I 1119 | 2563,"Pitts, D",71,159,116,10,22,S 1120 | 2568,"Eberhardt, S",72,182,122,16,49,N 1121 | 2571,"Nunnelly, A",65,181,141,15,2,I 1122 | 2572,"Oberon, M",74,177,138,12,11,D 1123 | 2574,"Peterson, V",80,164,137,14,9,D 1124 | 2575,"Quigley, M",74,152,,11,26,I 1125 | 2578,"Cameron, L",75,158,108,14,27,I 1126 | 2579,"Underwood, K",72,165,127,13,19,S 1127 | 2584,"Takahashi, Y",76,163,135,16,7,D 1128 | 2586,"Derber, B",68,176,119,17,35,N 1129 | 2588,"Ivan, H",70,182,126,15,41,N 1130 | 2589,"Wilcox, E",78,189,138,14,57,I 1131 | 2595,"Warren, C",77,170,136,12,10,S 1132 | ;;;; 1133 | 1134 | data CERT.THERAPY; 1135 | infile datalines dsd truncover; 1136 | input Date:$7. AerClass:32. WalkJogRun:32. Swim:32.; 1137 | datalines4; 1138 | JAN2012,56,78,14 1139 | FEB2012,32,109,19 1140 | MAR2012,35,106,22 1141 | APR2012,47,115,24 1142 | MAY2012,55,121,31 1143 | JUN2012,61,114,67 1144 | JUL2012,67,102,72 1145 | AUG2012,64,76,77 1146 | SEP2012,78,77,54 1147 | OCT2012,81,62,47 1148 | NOV2012,84,31,52 1149 | DEC2012,2,44,55 1150 | JAN2013,37,91,83 1151 | FEB2013,41,102,27 1152 | MAR2013,52,98,19 1153 | APR2013,61,118,22 1154 | MAY2013,49,88,29 1155 | JUN2013,24,101,54 1156 | JUL2013,45,91,69 1157 | AUG2013,63,65,53 1158 | SEP2013,60,49,68 1159 | OCT2013,78,70,41 1160 | NOV2013,82,44,58 1161 | DEC2013,93,57,47 1162 | ;;;; 1163 | 1164 | data CERT.THERAPY2012; 1165 | infile datalines dsd truncover; 1166 | input Month:32. Year:32. AerClass:32. WalkJogRun:32. Swim:32.; 1167 | datalines4; 1168 | 1,2012,26,78,14 1169 | 2,2012,32,109,19 1170 | 3,2012,15,106,22 1171 | 4,2012,47,115,24 1172 | 5,2012,95,121,31 1173 | 6,2012,61,114,67 1174 | 7,2012,67,102,72 1175 | 8,2012,24,76,77 1176 | 9,2012,78,77,54 1177 | 10,2012,81,62,47 1178 | 11,2012,84,31,52 1179 | 12,2012,92,44,55 1180 | ;;;; 1181 | 1182 | data CERT.THERAPY2013; 1183 | infile datalines dsd truncover; 1184 | input Month:32. Year:32. AerClass:32. WalkJogRun:32. Swim:32.; 1185 | datalines4; 1186 | 1,2013,37,91,83 1187 | 2,2013,41,102,27 1188 | 3,2013,52,98,19 1189 | 4,2013,61,118,22 1190 | 5,2013,49,88,29 1191 | 6,2013,24,101,54 1192 | 7,2013,45,91,69 1193 | 8,2013,63,65,53 1194 | 9,2013,60,49,68 1195 | 10,2013,78,70,41 1196 | 11,2013,82,44,58 1197 | 12,2013,93,57,47 1198 | ;;;; 1199 | 1200 | data CERT.USA; 1201 | infile datalines dsd truncover; 1202 | input Dept:$5. WageCat:$2. WageRate:32. Manager:$8. JobType:32.; 1203 | datalines4; 1204 | ADM10,S,3392.5,Coxe,3 1205 | ADM10,S,3420,Coxe,50 1206 | ADM10,S,6862.5,Coxe,50 1207 | ADM10,H,13.65,Coxe,240 1208 | ADM20,S,4522.5,Coxe,240 1209 | ADM20,S,2960,Delgado,240 1210 | ADM20,S,5260,Delgado,240 1211 | ADM20,S,1572.5,Delgado,420 1212 | ADM30,S,3819.2,Delgado,420 1213 | ADM30,S,1813.3,Delgado,440 1214 | CAM10,S,6855.9,Overby,1 1215 | CAM10,S,4045.8,Overby,5 1216 | CAM20,S,4480.5,Overby,10 1217 | ADM10,S,5910.8,Overby,20 1218 | CAM10,S,9073.8,Overby,20 1219 | ;;;; 1220 | data cert.addresses; 1221 | input Street $1-23 City $24-39 State $40-46 Tel $47-58; 1222 | datalines; 1223 | 3497 Everette Alley Ft Lauderdale FL33311 954-802-4244 1224 | 2660 Rockford Road Reno NV89501 775-227-3434 1225 | 4746 Cliffside Drive Binghamton NY13901 607-429-7755 1226 | 2160 Graystone Lakes Milledgeville GA31061 478-414-6603 1227 | 5468 Heliport Loop Wadesville IN47638 812-673-9132 1228 | 4468 Tetrick Road Fort Myers FL33901 863-312-1212 1229 | 7002 Petunia Way Birmingham AL35222 205-727-1636 1230 | 2419 Swick Hill Street Metairie LA70001 225-312-0835 1231 | 6718 Hayhurst Lane Southfield MI48034 248-827-8867 1232 | 1056 Spring Avenue Fort Washington PA19034 267-556-7065 1233 | 3164 Clay Street Indianapolis IN46214 317-371-7237 1234 | 3788 Maxwell Farm Road Butte City CA95920 530-982-7305 1235 | 1853 Bate Brother Road Columbus OH43201 614-297-4312 1236 | 3102 Elliot Avenue Seattle WA98101 206-622-2863 1237 | 4416 Saints Alley Plant City FL33566 813-545-1531 1238 | 1705 Anmoore Road Queens NY11101 718-784-7616 1239 | 2108 Seth Street Goldthwaite TX76844 325-648-2803 1240 | 3589 Aspen Court Boston MA02115 617-421-3587 1241 | 4370 Joanne Lane Sudbury MA01776 978-445-5989 1242 | 4914 Tanglewood Road Jackson MS39201 662-990-2780 1243 | 3443 Jacobs Street Pittsburgh PA15237 412-367-9519 1244 | 9946 Spadafore Drive Erie PA16501 814-707-3046 1245 | 2930 Argonne Street Philadelphia DE19103 302-348-4381 1246 | 4813 Parrish Avenue Cranes Mill TX78130 830-905-8540 1247 | 2509 Woodside Circle Panama City FL32401 850-866-1396 1248 | 2536 Philli Lane Tahlequah OK74464 918-453-4707 1249 | 1995 Olive Street Toledo OH43626 419-361-3113 1250 | 5309 Central Avenue New Brunswick NJ08901 201-428-6611 1251 | 3149 Kelly Street Charlotte NC28204 704-874-3423 1252 | 2964 Center Avenue Fresno CA93706 559-474-1262 1253 | 2036 Gnatty Creek Road Huntington NY11743 516-428-5951 1254 | 1949 Poe Lane Kansas City KS66215 913-495-2025 1255 | 1731 Kincheloe Road Portland OR97205 503-450-1962 1256 | 4229 Romrog Way Scotia NE68875 308-245-1745 1257 | 1189 Walnut Drive Glen Ullin ND58631 701-348-3899 1258 | 4882 Mulberry Avenue Little Rock AR72205 501-390-8715 1259 | 1632 Rosewood Court Cannon Falls MN55009 507-263-1975 1260 | 5655 Glen Street Brandenburg KY40108 270-422-6495 1261 | 4849 Walton Street Salt Lake City UT84104 801-421-5174 1262 | 3317 Jehovah Drive Fincastle VA24090 540-473-9026 1263 | 3723 Pinchelone Street Norfolk VA23502 757-333-9158 1264 | 1662 Thompson Drive Oakland CA94612 510-373-7338 1265 | 3915 McVaney Road Blowing Rock NC28605 828-295-1796 1266 | 4111 Happy Hollow Road Fayetteville NC28305 910-527-6782 1267 | 1861 Clarksburg Road Harquala Valley AZ85069 928-372-8713 1268 | 4782 Reel Avenue Albuquerque NM87106 505-402-7439 1269 | 1994 Ashwood Drive Council Bluffs IA51501 712-355-6034 1270 | 3218 Abner Road Stevens Point WI54481 715-345-2083 1271 | 1871 Raver Coft Drive Chattanooga TN37403 423-650-3633 1272 | 2622 Centen Farm Road Minneapolis MN55409 712-551-1241 1273 | 1528 Timbercrest Road Kodiak AK99615 907-654-0563 1274 | 6001 River Road Denver CO80918 719-535-0075 1275 | 4989 Meadow Vew Drive Hartford CT06103 860-540-7607 1276 | 4308 School Street Washington DC20024 202-917-8787 1277 | 2275 Stratford Drive Honolulu HI96819 808-298-7818 1278 | 7357 Bryan Street Lexington NC27292 336-225-9985 1279 | 1271 Mesa Drive Las Vegas NV89101 702-338-8442 1280 | 3446 Sycamore Road Mitchell OR97750 541-462-9060 1281 | 4403 Catherine Drive Grand Fork Base ND58228 701-304-0742 1282 | 1510 Raver Croft Drive Greeneville TN37745 423-639-6321 1283 | 3696 Simpson Square Balko OK73931 580-646-2950 1284 | ;;;; 1285 | data cert.temp18; 1286 | infile datalines truncover dsd; 1287 | input Day HighTemp AvgHighTemp LowTemp AvgLowTemp; 1288 | datalines4; 1289 | 21185,26,44,13,29 1290 | 21186,26,43,13,29 1291 | 21187,35,43,13,29 1292 | 21188,27,43,16,29 1293 | 21189,21,43,13,29 1294 | 21190,21,43,11,29 1295 | 21191,23,43,8,29 1296 | 21192,39,43,19,29 1297 | 21193,51,43,30,29 1298 | 21194,43,43,27,29 1299 | 21195,62,43,38,29 1300 | 21196,64,43,57,28 1301 | 21197,62,43,21,28 1302 | 21198,28,43,17,28 1303 | 21199,32,43,18,28 1304 | 21200,43,43,30,28 1305 | 21201,37,43,20,28 1306 | 21202,47,43,19,28 1307 | 21203,51,43,25,28 1308 | 21204,63,43,28,28 1309 | 21205,61,43,32,28 1310 | 21206,65,47,43,28 1311 | 21207,68,44,47,28 1312 | 21208,48,35,44,29 1313 | 21209,42,44,31,29 1314 | 21210,50,44,28,29 1315 | 21211,63,44,38,29 1316 | 21212,57,44,47,29 1317 | 21213,48,44,41,29 1318 | 21214,41,44,24,29 1319 | 21215,41,44,21,29 1320 | 21216,43,45,28,30 1321 | 21217,43,45,33,30 1322 | 21218,38,46,26,30 1323 | 21219,46,46,27,30 1324 | 21220,50,46,39,30 1325 | 21221,68,46,45,30 1326 | 21222,65,46,37,30 1327 | 21223,43,47,33,30 1328 | 21224,53,47,34,31 1329 | 21225,74,47,47,31 1330 | 21226,67,47,40,31 1331 | 21227,44,48,34,31 1332 | 21228,51,48,33,31 1333 | 21229,50,48,40,32 1334 | 21230,78,48,49,32 1335 | 21231,82,48,56,32 1336 | 21232,67,49,43,32 1337 | 21233,48,49,41,32 1338 | 21234,53,49,48,32 1339 | 21235,54,50,47,33 1340 | 21236,53,50,41,33 1341 | 21237,58,50,36,33 1342 | 21238,64,50,44,33 1343 | 21239,59,51,49,34 1344 | 21240,54,51,39,34 1345 | 21241,53,51,36,34 1346 | 21242,53,52,35,34 1347 | 21243,49,52,31,34 1348 | 21244,59,51,49,34 1349 | 21245,54,51,39,34 1350 | 21246,53,51,36,34 1351 | 21247,53,52,35,34 1352 | 21248,49,52,31,34 1353 | 21249,46,52,33,35 1354 | 21250,51,53,34,35 1355 | 21251,46,53,34,35 1356 | 21252,46,53,33,36 1357 | 21253,49,54,31,36 1358 | 21254,52,54,31,36 1359 | 21255,46,54,34,36 1360 | 21256,47,55,33,37 1361 | 21257,44,55,32,37 1362 | 21258,55,56,31,37 1363 | 21259,47,56,34,38 1364 | 21260,46,56,32,38 1365 | 21261,59,56,34,38 1366 | 21262,56,57,36,38 1367 | 21263,43,57,32,39 1368 | 21264,36,58,32,39 1369 | 21265,49,58,34,39 1370 | 21266,51,58,35,40 1371 | 21267,52,59,33,40 1372 | 21268,48,59,34,40 1373 | 21269,50,59,34,40 1374 | 21270,48,60,34,41 1375 | 21271,58,60,43,41 1376 | 21272,78,60,48,41 1377 | 21273,77,61,45,42 1378 | 21274,61,61,39,42 1379 | ;;;; 1380 | data cert.empdata; 1381 | input EmpID $1-5 Dept $7-24 Country $26-29 Salary 30-34 @36 Date mmddyy10.; 1382 | format Date mmddyy10.; 1383 | datalines; 1384 | E1024 FLIGHT OPERATIONS USA 25000 03/11/2002 1385 | E1938 FINANCE & IT USA 27000 12/19/2003 1386 | E0282 HUMAN RESOUCES USA 36000 01/13/2009 1387 | E1192 FLIGHT OPERATIONS USA 30000 02/28/2008 1388 | E0283 SALES & MARKETING USA 33000 07/13/2004 1389 | E9228 FLIGHT OPERATIONS USA 33000 07/12/2004 1390 | E3938 SALES & MARKETING USA 29500 02/28/2009 1391 | E0293 FINANCE & IT BE 79000 08/14/2002 1392 | E1129 HUMAN RESOURCES BE 29000 03/13/2002 1393 | E8102 SALES & MARKETING BE 39000 04/18/2008 1394 | E2208 AIRPORT OPERATIONS BE 34000 11/17/2005 1395 | E3009 FLIGHT OPERATIONS BE 37000 12/10/2004 1396 | E9382 FINANCE & IT CA 45000 11/23/2007 1397 | E8273 FINANCE & IT CA 50000 05/29/2008 1398 | E0292 SALES & MARKETING CA 85000 08/19/2008 1399 | E8292 SALES & MARKETING CA 35000 02/20/2005 1400 | E1374 AIRPORT OPERATIONS DK 19000 10/16/2009 1401 | E3577 FINANCE & IT DK 36000 10/28/2008 1402 | E3991 FINANCE & IT DK 67000 09/15/2007 1403 | ;;;; 1404 | 1405 | data cert.empdatu; 1406 | input EmpID $1-5 Dept $7-24 Country $25-28 Salary 29-34 @36 Date mmddyy10.; 1407 | format Date mmddyy10.; 1408 | datalines; 1409 | E2275 FLIGHT OPERATIONS USA 19950 03/27/2004 1410 | E0021 FINANCE & IT USA 45150 04/09/2003 1411 | E0028 FINANCE & IT DE 39900 04/05/2003 1412 | ;;;; 1413 | 1414 | data cert.empdatu2; 1415 | input EmpID $1-5 Dept $7-24 Country $25-28 Salary 29-34 @36 Date mmddyy10.; 1416 | format Date mmddyy10.; 1417 | datalines; 1418 | E2002 FINANCE & IT USA 28350 12/19/2003 1419 | E2005 AIRPORT OPERATIONS DK 21950 12/19/2001 1420 | E2009 FINANCE & IT USA 35700 01/26/2007 1421 | ;;;; 1422 | 1423 | 1424 | 1425 | data CERT.VISIT; 1426 | infile datalines dsd truncover; 1427 | input ID $1-4 Visit 6-7 SysBP 8-10 DiasBP 12-14 Weight 15-17 @19 Date mmddyy10.; 1428 | format Date mmddyy10.; 1429 | datalines; 1430 | A001 1 140 85 195 11/05/09 1431 | A001 2 138 90 198 10/13/09 1432 | A001 3 145 95 200 07/04/09 1433 | A002 1 121 75 168 04/14/09 1434 | A003 1 118 68 125 08/12/09 1435 | A003 2 112 65 123 08/21/09 1436 | A004 1 143 86 204 03/30/09 1437 | A005 1 132 76 174 02/27/09 1438 | A005 2 132 78 175 07/11/09 1439 | A005 3 134 78 176 04/16/09 1440 | A008 1 126 80 182 05/22/09 1441 | ;;;; 1442 | 1443 | data _null_; 1444 | file "&path&delim.libname.sas"; 1445 | put '%let path='"&path;"; 1446 | put '%macro setdelim;'; 1447 | put ' %global delim;'; 1448 | put ' %if %index(&path,%str(/)) %then %let delim=%str(/);'; 1449 | put ' %else %let delim=%str(\);'; 1450 | put '%mend;'; 1451 | put '%setdelim'; 1452 | put 'libname cert "&path";'; 1453 | put '%include "&path&delim.cre8workdata.sas";'; 1454 | put; 1455 | run; 1456 | -------------------------------------------------------------------------------- /specialist-prep-guide/cre8workdata.sas: -------------------------------------------------------------------------------- 1 | /*******************************************************************\ 2 | | Copyright (C) 2018 by SAS Institute Inc., Cary, NC, USA. | 3 | | | 4 | | SAS (R) is a registered trademark of SAS Institute Inc. | 5 | | | 6 | |This program creates practice raw data and Excel files for some of | 7 | |the examples in the: | 8 | | - SAS Certification Prep Guide: Base Programming for SAS 9 | 9 | | | 10 | | | 11 | | Last updated: September 4, 2018 | 12 | \*******************************************************************/ 13 | /* If running individually, uncomment this line and make sure it points to your certification data location */ 14 | /*%let path=/folders/myfolders/cert;*/ 15 | 16 | %macro setdelim; 17 | %global delim; 18 | %if %index(&path,%str(/)) %then %let delim=%str(/); 19 | %else %let delim=%str(\); 20 | %mend; 21 | %setdelim 22 | 23 | data WORK.BONUS; 24 | infile datalines dsd truncover; 25 | input ID:32. Bonus:DOLLAR12.; 26 | format Bonus DOLLAR12.; 27 | datalines4; 28 | 1,"$2,000" 29 | 2,"$4,000" 30 | 3,"$3,000" 31 | 4,"$2,500" 32 | ;;;; 33 | 34 | data WORK.CDRATES; 35 | infile datalines dsd truncover; 36 | input Institution:$17. Rate:32. Years:32.; 37 | datalines4; 38 | MBNA America,0.0817,5 39 | Metropolitan Bank,0.0814,3 40 | Standard Pacific,0.0806,4 41 | ;;;; 42 | 43 | data WORK.CLOSE; 44 | infile datalines dsd truncover; 45 | input ID:32. Sale:DOLLAR12.; 46 | format Sale DOLLAR12.; 47 | datalines4; 48 | 1,"$28,000" 49 | 2,"$30,000" 50 | 2,"$40,000" 51 | 3,"$15,000" 52 | 3,"$20,000" 53 | 3,"$20,000" 54 | 3,"$25,000" 55 | 4,"$35,000" 56 | ;;;; 57 | 58 | data WORK.DATAONE; 59 | infile datalines dsd truncover; 60 | input Career:32. Supervis:32. Finance:32.; 61 | datalines4; 62 | 72,26,9 63 | 63,76,7 64 | 96,31,7 65 | 96,98,6 66 | 84,94,6 67 | ;;;; 68 | 69 | data WORK.DATATWO; 70 | infile datalines dsd truncover; 71 | input Variety:32. Feedback:32. Autonomy:32.; 72 | datalines4; 73 | 10,11,70 74 | 85,22,93 75 | 83,63,73 76 | 82,75,97 77 | 36,77,97 78 | ;;;; 79 | 80 | data WORK.MAILLIST; 81 | infile datalines dsd truncover; 82 | input FirstName:$7. LastName:$8. Gender:$6. Marital_Status:$7.; 83 | datalines4; 84 | Preston,Kelly,Male,Single 85 | Jordan,Smith,Male,Single 86 | Natalie,Stewart,Female,Married 87 | Abigail,Martin,Female,Single 88 | Kellan,Douglas,Male,Single 89 | Aiden,Morrison,Male,Single 90 | Kirsten,Murphy,Female,Single 91 | Evelyn,Wells,Female,Married 92 | Kirsten,Payne,Female,Single 93 | Albert,Sullivan,Male,Married 94 | ;;;; 95 | 96 | data WORK.ONE; 97 | infile datalines dsd truncover; 98 | input VarX:32. VarY:$7.; 99 | datalines4; 100 | 1,Groucho 101 | 3,Harpo 102 | 5,Karl 103 | ;;;; 104 | 105 | data WORK.REPS; 106 | infile datalines dsd truncover; 107 | input ID:32. Name:$15.; 108 | datalines4; 109 | 1,Nay Rong 110 | 2,Kelly Windsor 111 | 3,Julio Meraz 112 | 4,Richard Krabill 113 | ;;;; 114 | 115 | data WORK.TWO; 116 | infile datalines dsd truncover; 117 | input VarX:32. VarZ:$5.; 118 | datalines4; 119 | 2,Chico 120 | 4,Zeppo 121 | ;;;; 122 | 123 | 124 | -------------------------------------------------------------------------------- /specialist-prep-guide/ehs01.sas: -------------------------------------------------------------------------------- 1 | /*Drop the variables Total and EquipCost*/ 2 | data work.aprilbills drop=Total, EquipCost; 3 | set clinic.aprbills; 4 | /*If the Days variable is greater than 7 then Discount is Roomcharge multiplied by 20% 5 | if the days variable is less than or equal to 7 then discount is set to 0*/ 6 | if Days > 7 then Discount=(RoomCharge)*.20 else 0; 7 | /*Create New Variable TotalDue and it should be Total minus Discount. There should not be a 8 | missing value for TotalDue*/ 9 | TotalDue=Total-Discount; 10 | /*Format DateIn and DateOut to show as 05APR2009*/ 11 | format DateIn DateOut date9; 12 | /*Format RoomRate RoomCharge Discount TotalDue to show as $100.00*/ 13 | format RoomRate RoomCharge Discount TotalDue dollar10; 14 | proc print data=work.aprilbills; 15 | 16 | -------------------------------------------------------------------------------- /specialist-prep-guide/ehs02.sas: -------------------------------------------------------------------------------- 1 | work.mycars; 2 | set sashelp.cars; 3 | AvgMPG=mean(mpg_city, mpg_highway); 4 | run; 5 | title "Cars with Average MPG Over 40"; 6 | proc print data=work.mycars 7 | var make model type avgmpg; 8 | where AvgMPG>40; 9 | run; 10 | title "Average MPG by Car Type"; 11 | proc means data=work.mycars avg min max maxdec=1; 12 | var avgmpg; 13 | class type; 14 | run; 15 | title; 16 | --------------------------------------------------------------------------------