Edit macro PINXDOIT Edit macro PINXDOIT Author: David McRitchie formatted on 1995/04/01 06:54 for assistance contact: D. McRitchie DMcRitchie@hotmail.com -------------------------------------------------------------------------------- Macro name. PINXDOIT users. PDF EDIT users particularly SCRIPT users type. Edit Macro resides in SYS1.TSOCLIST -------------------------------------------------------------------------------- PINXDOIT make up .PI entries from scratch -------------------------------------------------------------------------------- related see Page Printing Considerations in the index. EDITCHEK, EDITOL, FIX, FIXPI, FIXQUOTE, PERIOD, PINX, PINXDOIT, PIR, PLICHK, S HIFTNX -------------------------------------------------------------------------------- Use to make ".PI" entries where none previously exist (option BASE). Use to make make additional changes after use of PINX (option START). Use to check if ready for use of PIR (option REDO). -------------------------------------------------------------------------------- Since square brackets are not available, optional material is enclosed in European brackets <...>. ISREDIT PINXDOIT -------------------------------------------------------------------------------- Options in order of use with internal aspects described. There are no label options, the PINXDOIT edit macro will process all NX lines. 1. BASE -- start from scratch exclude all lines '.pi /' changed to '.pi <|split|>' f all ':h' PINX (the PINX edit macro is invoked to create ".PI" en- tries of NX lines) (continues at START which is next) 2. START -- Make '.*--.PI<|split|>' entries active The strings ":" and "&gml" are changed to blank(" "), and the string " & " is changed to " and " for all NX entries. Capitalize first letter after "&broken." (broken bar above back-slash). Capitalize some proper names (e.g. Mytown, AHC, OBC) this is somewhat similar to the edit macro @SMALLS but it not the same. The following proper names are partially capitalized. American Corporation Company New Jersey Smith ABC Dave John NJ Wilson Mytown David McRitchie OS The following JCL terms and packages are capitalized. AUTOTAB DMS IMS P.C.M.S SAS TSO BLKSIZ FB JCL PCMS SMF VB CYL FBS JES PDF SMP VBS DASD IBM MVS PDS TLMS VSPC DCB IFPS MVS/XA RECFM TRK XA First letter of sentences capitalized after periods. (con- tinues at REDO which is next) 3. REDO -- default No changes occur within the REDO portion. The REDO portion checks that the NX (displayed) data does not contain any of the following characters: arithmetic operators "*" "/" " " "-" quotes (') ("), ampersand "&" or colons (:). If the data does contain any of these you will get the short message in the upper-right corner of your screen "Fix Data/RFIND". you should then probably save your data then restart using ===> PINXDOIT start. 4. You are ready/not ready to use PIR depending on the result of this edit macro Examples: PINXDOIT START Warning: AUTOSAVE OFF is not invoked by the PINXDOIT or PINX clists, you should be very careful that you save your data before invoking this edit macro and that you check your results immediately afterwards. Internal Aspects: Described above in the order shown. n PINXDOIT on