Edit macro LABNX Edit macro LABNX Author: David McRitchie formatted on 1995/04/01 06:54 for assistance contact: D. McRitchie DMcRitchie@hotmail.com -------------------------------------------------------------------------------- Macro name. LABNX users. PDF EDIT users particularly SCRIPT users type. Edit Macro resides in SYS1.TSOCLIST, and in IS03.SPF2.MACROS fo r use on SPF/PC -------------------------------------------------------------------------------- LABNX Label all NX lines included or included between two labels -------------------------------------------------------------------------------- related NXNX -------------------------------------------------------------------------------- related ISPF usage Since square brackets are not available, optional material is enclosed in European brackets <...>. ===> reset LABEL ===> loc LABEL -------------------------------------------------------------------------------- The LABNX edit macro will place labels on NX lines. This is partic- ularly useful in checking particular lines in relation to the main text. The NX lines are the lines visible when you scroll through your file. the help key for line (Use commands -- NX, for more information). -------------------------------------------------------------------------------- ISREDIT LABNX -------------------------------------------------------------------------------- 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. CC-range may be defined with a single C or a pair of CC instead. The default is to process the entire range .ZFIRST to .ZLAST . NX Process only the NX lines in range. This is the de- fault. After all this edit macro is named LABNX. X Process only the excluded (X) lines in the range. This would not be normal use but has been provided for. LAB(abc) Create Labels beginning with .ABCAA instead of .LABAA; The highest user label possible is .YZZZZ; Labels be- ginning with .Z are all reserved (.ZFIRST, .ZLAST, .ZCSR). NOPROCESS Should be used when LABNX is called from another CLIST or execute. Prevents PROCESS command from being in- voked. The edit macro NXNX can be used to redisplay all labelled lines within a range. The edit macro LABNX can label lines, you may do other work which undisplays (hides) the labelled lines. You can make them reappear using the NXNX edit macro. Examples: +------------------------------------------------------------------------------+ | ===> x all | | ===> f '.kp' all | | ===> labnx (will be next command entered) | +------------------------------------------------------------------------------+ | EDIT---- IS03.SHARE.TEXT(SOP#1010) - 01.00 - COLUMNS 001 124 | | COMMAND ===> labnx SCROLL ===> CSR | | ****** **************************** TOP OF DATA **************************** | | * | | - - - - - - - - - - - - - 1 LINE(S) NOT DISPLAYED | | 000946 .kp off;.sk 1 | | - - - - - - - - - - - - - 2 LINE(S) NOT DISPLAYED | | 000949 .in +7 | | - - - - - - - - - - - - - 5 LINE(S) NOT DISPLAYED | | 000955 .kp off;.sk 1 | | - - - - - - - - - - - - - 6 LINE(S) NOT DISPLAYED | | ****** **************************** BOTTOM OF DATA ************************* | | * | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | appearance after using ===> RESET | +------------------------------------------------------------------------------+ | EDIT---- IS03.SHARE.TEXT(SOP#1010) - 01.00 - COLUMNS 001 124 | | COMMAND ===> SCROLL ===> CSR | | ****** **************************** TOP OF DATA **************************** | | * | | 000945 ªOperator.... ªCapacities see capacities | | .LABAA .kp off;.sk 1;.kp on | | 000947 .tp 63;.IF 38PP = &$PDEV .tp 64 | | 000948 :hp2.&rbl..pi /98 - Related procedures, index/nnnn//&.pron./: | | ehp2.&rbl.ª | | .LABAB .in +7 | | 000950 This form is used within the ".related" macro to create an | | 000951 index entry relating the procedure being written to procedure | | .A "nnnn" to which it refers. The reverse is not entered, because | | 000953 it can be read directly from the "Reference&rbl.to&rbl.Related&r | | bl.Procedures" | | 000954 at the end of each procedure. | | .LABAC .kp off;.sk 1;.kp on | | 000956 .tp 27;.IF 38PP = &$PDEV .tp 29 | | 000957 :hp2.&rbl..pn fract:ehp2.&rbl. ªSCRIPT control word usage | | 000958 .in +7 | | 000959 Used in place of ".PA" to create fractional update pages the | | 000960 rest of the manual will be retaining original pages. If it | | 000961 does not replace a ".PA" it should be placed at the point at | | ****** **************************** BOTTOM OF DATA ************************* | | * | +------------------------------------------------------------------------------+