NR is the estimated maximum number of input records.
NC is the total number of characters in the defined sort fields. VMSIZE is the storage size of the virtual machine.
112K is the size of the resident CMS nucleus and reserved pages
(provided shared segments are available) For example, enter the command and respond to the prompting message:
sort name address a1 sortedna address b1 DMSSRT60UR ENTER SORT FIELDS: 1 10 25 28
The records in the NAME ADDRESS file are sorted on positions 1-10 and
25-28. The sorted output is written into the newly created file SORTEDNA ADDRESS. If you have a 320K virtual machine, you can sort a
maximum of 5412 records. VMSIZE-172K 320K-172K 148K 151,552
NR ---------= = -------= 5412
14 + NC 14 + 14 28 28 DMSSRT604R ENTER SORT FIELDS: You are requested
them in the form
Fields."
to enter SORT control fields. You should enter
described previously in "Entering Sort Control DMSSRT002E FILE 'fm ft fm' NOT FOUND RC=28 DMSSRT009E COLUMN 'col' EXCEEDS RECORD LENGTH RC=24 DMSSRT019E IDENTICAL FILEIDS RC=24 DMSSRT034E FILE 'fn ft fm' IS NOT FIXED LENGTH RC=32 DMSSRT037E DISK 'mode' IS READ/ONLY RC=36 DMSSRT053E INVALID SORT FIELD PAIR DEFINED RC=24 DMSSRT054E INCOMPLETE FILEID SPECIFIED RC=24 DMSSRT062E INVALID * IN FILEID RC=20 DMSSRT063E NO LIST ENTERED RC=40 DMSSRT070E INVALID PARAMETER 'parameter' RC=24 DMSSRT104S ERROR Inn' READING FILE 'fn ft fm' FROM DISK RC=100 ERROR Inn' WRITING FILE 'fn ft fm' ON DISK RC=100 DMSSRT212E NUMBER OF RECORDS EXCEEDED RC=40 172 IBM VM/310 CMS Command and Macro Reference
SSERV SSERV Use the SSERV command in CMS/DOS to copy, display, print, or punch a
book a DOS/VS source statement library. The format of the SSERV command l.S: r -, I I SSERV r , sublib bookname I ft , r (options ••• [)]] I I I I I I I I I I L
L .J QEtiQE§P ] [PUNCH] (PRINT] [TERM] _______________ ,________________________________ _______________ -J sublib specifies the source statement sublibrary in which the book is
cataloged.
bookname specifies the name of the book in the DOS private or system
source statement sublibrary. The private library, if any, is
seaLched before the system library.
ft specifies the filetype of the file to be created on your
A-disk. ft defaults to COpy if a filetype is not specified.
The filename is always the same as the bookname. You mav enter as many options as you wish, depending upon the functions vou want to perform. copies the book to a CMS file. PUNCa punches the book on the virtual punch. PRINT spools a copy of the book to your virtual printer. displays the book on your terminal.
( I 'c 1. If you want to copy books from private libraries, you must issue an ASSGN command for the logical unit SYSSLB and identify the library
on a OLBL command line using a ddname of IJSYSSL. If you want to copy books from the system library, must have
entered the CMS/DOS environment specifying the mode letter of the system residence volume.
2. You should not use the SSERV command to copy books from macro (El sablibraries, since they are in "edited" (that is, compressed)
form. Use the ESERV command to copy and de-edit from a ma=ro (E) sublibrary. When you use the TERM option, the specified book is displayed at the
terminal.
section 2. :om.ands 173
Previous Page Next Page