Edit macro @SMALLS Edit macro @SMALLS Author: David McRitchie formatted on 1995/04/01 06:54 for assistance contact: D. McRitchie DMcRitchie@hotmail.com -------------------------------------------------------------------------------- Macro name. @SMALLS users. PDF EDIT users particularly SCRIPT users type. Edit Macro resides in SYS1.TSOCLIST, and in IS03.SPF2.MACROS for use on SPF/PC -------------------------------------------------------------------------------- @SMALLS Edit macro changing text to lower case, and some back to caps. -------------------------------------------------------------------------------- related @C word-list related @CAPS the antithesis of @SMALLS related LCFIX lower-case fix for Mac, Mc, I, II, III in last names related PROPER proper nouns and capitalizations from words we added to DCF dictionary. relative @BIGS create BLOCK letters, slanting optional relative SPELL check spelling -------------------------------------------------------------------------------- The @SMALLS command takes a group of lines between label ".A" and label ".B" and makes them into lower case ( c all .a .b p'>' p'<' ). Selected words are modi- fied to uppercase or to mixed case e.g. OBC, American, Company. Letters fol- lowing a period and two spaces (. ) are assumed to begin a new sentence and are capitalized. Limited provision is made to capitalize the next line follow- ing a period, unless the line ending in a period contains a colon(":"). Lines containing double-slashes ("//") are considered JCL and are capitalized. -------------------------------------------------------------------------------- Since square brackets are not available, optional material is enclosed in European brackets <...>. ISREDIT @SMALLS -------------------------------------------------------------------------------- lptr-range indicates that two line pointers are required to indicate a range of lines to be processed. The line pointers must be labels. Specifying one line pointer is invalid. If no lptr-range is presented @SMALLS assumes that all lines are to be processed. ENTIRE will be substituted by .ZFIRST .ZLAST all An attempt will be made to process ". " as an end of sen- tence except when a colon ':' appears on the same line. The exception is intended to leave SCRIPT notation intact as much as possible. Examples: @smalls The @SMALLS edit macro will process all data in edit con- verting all data first to lowercase and then capitalizing first words of sentences and proper names. @smalls .a .b The @SMALLS edit macro will process all data inclusively between the labels ".a" and ".b" converting all data first to lowercase and then capitalizing first words of sentences and proper names. notice: AUTOSAVE OFF is invoked Internal Aspects: In addition to the limited provision made for sentences the following words are among those included when this edit macro was formed. Proper names American Mytown Company NJ OBC Corporation New Jersey Packages IFPS MVS TLMS VSPC IMS MVS/XA TSO JES OS TSOMODEL.PUBLIC JCL terms BLKSIZ FBS RECFM VB CYL IMS TESTDISK VBS DCB JCL TRK