"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

Reply via email to