On Fri, Feb 5, 2010 at 8:01 PM, Glenn Knickerbocker <[email protected]> wrote:
> "Frank M. Ramaekers" wrote:
>> (like COBOL PIC ZZZZZZ9)?   (I thought I remembered a PIC(TURE)
>> specification
>
> Very nearly--PICTURE is part of a PRINT spec.  You have to read the
> value into a field first:
>
>  ... | specs  a: 1-* .  print a picture ZZZZZZ9 1  | ...

Sure, if you want and can put it in a spec counter. Otherwise,
something like this:

 change substr 1;-2 of w1 /0//

Sir Rob the Plumber

Reply via email to