Edit macro EDITCHEK Edit macro EDITCHEK Author: David McRitchie formatted on 1995/04/01 06:54 for assistance contact: D. McRitchie DMcRitchie@hotmail.com -------------------------------------------------------------------------------- Macro name. EDITCHEK users. SCRIPT users, using ISPF type. Edit Macro resides in SYS1.TSOCLIST -------------------------------------------------------------------------------- EDITCHEK Preliminary check of a SCRIPT document before SCRIPTING. -------------------------------------------------------------------------------- related see Page Printing Considerations in the index. DCFMSGS, EDITCHEK, EDITOL, FIXPI, FIXQUOTE, PERIOD, PINX, PINXDOIT, PIR, PLICHK , SHIFTNX Related special purpose usage: EDITPS (checks for control words that indicate that a page is started). -------------------------------------------------------------------------------- Makes a preliminary check of a document before SCRIPTING. * The following gml tags are checked for beginning and ending tags. :DL. :GL. :HP0. :HP12. :HP16. :HP2. :HP6. :ITALIC. :FN. :GT10. :HP1. :HP13. :HP17. :HP3. :HP7. :LQ. :GB10. :GT12. :HP10. :HP14. :HP18. :HP4. :HP8. :PR12. :GB12. :GT15. :HP11. :HP15. :HP19. :HP5. :HP9. :Q.:SL. * The following commands are checked to match "on" with "off". .kp .li * The following symbolics are checked in pairs &oq. &cq. and &oqq. &cqq. * The following definition pair is checked: ":dt." and ":dd." . * A check of ".bf" to ".pf" is made. * A check of ":ol" to ":eol". ":ul." to ":eul.". and ":xmp." to ":exmp." is made. The edit macro EDITOL can do a more complete check. -------------------------------------------------------------------------------- Since square brackets are not available, optional material is enclosed in European brackets <...>. ISREDIT EDITCHEK -------------------------------------------------------------------------------- lptr-range A pair of line pointers can be used to restrict the lines under consideration. The line pointers must be a labels. Specifying one line pointer is invalid. The default, if not specified, is .ZFIRST and .ZLAST, indicating that all lines are to be proc- essed. X Affects only lines that are EXCLUDED from the display NX Affects only lines that are NOT EXCLUDED from the display Examples: EDITCHEK .A .B Related clists which might not be separately documented * EDITLL, Check for line length problems. Will look for such entities as the following: .fo off, .am, .cd, .cl, .ll, .llmax, .mc, .pm, .pw, :exmp., :xmp., .qq, .qu, .sx, .tp