REMBLANK edit macro

Macro name. REMBLANK Edit macro REMBLANK
users. All EDIT users Author: David McRitchie
type. Edit Macro resides in SYS1.TSOCLIST for use with TSO
Edit Macro resides in d:\spfmacro  for use with SPF/PC
REMBLANK Remove columns which are entirely blank
Related ALIGNTAB, LEFT@, REFORMAT, REMDUPS, SHIFT, SHIFTNX

The REMBLANK execute will remove columns which are entirely blank within the specified label or CC-range. The REMBLANK execute is particularly useful in making tables more compact as demonstrated in the example supplied later.


ISREDIT  REMBLANK  [lptr-range]

CC-range A process range between CC line commands is an acceptable line-range for this macro. 
lptr-rangeIndicates that two line pointers are required to indicate a range of lines to be deleted. The line pointers must be a labels. Specifying one line pointer is invalid. 

If a lptr-range is not used then the line command CC-range must be supplied.

Examples


|Fixed Character Fonts (F) Available
+-----+----------------+------+-----------+----+-----+-----+---+----+-----+-----
|  =  | Typeface       |Weight|   Width   | Sz |  Sp |  SP | F |  in|  in |  =
+-----+----------------+------+-----------+----+-----+-----+---+----+-----+-----
+-----+----------------+------+-----------+----+-----+-----+---+----+-----+-----
+-----+----------------+------+-----------+----+-----+-----+---+----+-----+-----

     ===> c all '-' ' '
     ===> remblank .zf .zl

|Fixed Character Fonts (F) Available
+    +        +      +      +  +   +   + +   +  +    |Char|        |      |
| =  |Typeface|Weight|Width |Sz| Sp| SP|F| in|in| =  |
+    +        +      +      +  +   +   + +   +  +    |GT24|Gothic  |Medium|Norma
+    +        +      +      +  +   +   + +   +  +    |GT20|Gothic  |Medium|Norma
+    +        +      +      +  +   +   + +   +  +

     ===> x all
     ===> f all '+'
     ===> c all nx 1 54 ' ' '-'

|Fixed Character Fonts (F) Available
+----+--------+------+------+--+---+---+-+---+--+----|Char|        |      |
| =  |Typeface|Weight|Width |Sz| Sp| SP|F| in|in| =  |
+----+--------+------+------+--+---+---+-+---+--+----|GT24|Gothic  |Medium|Norma
+----+--------+------+------+--+---+---+-+---+--+----|GT20|Gothic  |Medium|Norma
+----+--------+------+------+--+---+---+-+---+--+----

Comments and Related Information

You are visitor  ctr since count started June 5, 1997.

Please send your comments concerning my pages or materials to:  David using send email comments

Disclaimer and site usage:  Material at The REXX Macros Toolbox is available without warranty of any kind.  Redistribution of source, coding and documentation other than from this site is prohibited.

Copyright © 1995 - 2006, F. David McRitchie, All Rights Reserved