An other way is |space 1 05 |insert x05
This works also when the number of words is variable. j. 2008/12/16 Glenn Knickerbocker <[email protected]>: > "Wilson, Roger" wrote: >> CICS 19.5 >> DOSVSE .25 >> COMP .19 >> I need a tab before CICS, DOSVSE or COMP and the numbers. > > ... | specs x05 1 word 1 next x05 next word 2 next | ... > > If you know your input records will always be well formed, or if you > don't care about the tab character when the number is missing, you can > take advantage of the fact that x05 is the default field separator and > use the NEXTFIELD keyword to add it implicitly: > > ... | specs x05 1 word 1 next word 2 nextfield | ... > > Note that we can't use NEXTFIELD to add the leading tab character, > because the separator is only written if the output is already non-null. > > ¬R >
