NOTE ... this manual was written a while ago, but most of the information is (p
NOTE ... this manual was written a while ago, but most of the information is (probably) still relevant my current address, affiliation, and contact information are as follows ... Mike Zdeb Assistant Professor U@Albany School of Public Health 1 University Place Rensselaer, NY 12144 518.402.6479 msz03@albany.edu A GUIDE TO SyncSort FOR DATA ANALYSTS AND RESEARCHERS Mike Zdeb New York State Department of Health Information Systems and Health Statistics Concourse - Room C-144 Albany, NY 12237-0044 (518)474-2377 May 1996 NOTE This guide assumes a few prerequisites. You must know how to edit a file on VM. You must know how to submit a job from VM to the MVS operating system. You must understand certain concepts about files, records, and fields within records. If any or all of these terms are new to you, the material contained in this guide may be difficult to understand. Even if you have the prerequisites, some or all of the material concerning SyncSort may be new to you. If you do not understand something in the introductory sections of the guide, DO NOT DESPAIR. There are a number of examples in later sections that show you how to use SyncSort to accomplish tasks that are common to the work of most data analysts or researchers. Also, a number of examples are available from current SyncSort users that might help in your understanding of how SyncSort can assist in your work. © 1996 TABLE OF CONTENTS Section Page 1.0 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 SyncSort Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Using SyncSort Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2.1 Selecting Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2.2 Selecting Fields from Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2.3 Sorting / Copying Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2.4 Formatting Output from SORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2.5 Combining Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.0 SyncSort ON MVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1 Copying Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.1 Tape-to-Tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.1a Entire contents of a tape containing only one file . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1.1b Entire contents of a tape containing multiple files . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1.1c Selected records from one tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1.1d Selected records from several tapes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1.1e Selected records from two tapes with fixed length, but with different record lengths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.1.2 Tape-to-VM via the Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.1.2a Selected portions of selected records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.1.2b Multiple output files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2 Counting Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.1 Counts Output to a Single File in the VM Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.2 Counts Output to a Temporary Disk File on MVS - Used as Input to a SAS Job . . . . 15 2.2.3 Multiple Output Files Used to Produce Two Sets of Counts - Sent to VM Reader as One File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.0 SyncSort ON VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.1 Starting SyncSort on VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . uploads/Litterature/ guide-to-syncsort.pdf
Documents similaires










-
23
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Attribution requise- Détails
- Publié le Sep 04, 2021
- Catégorie Literature / Litté...
- Langue French
- Taille du fichier 0.1333MB