Like this?

pipe literal unpadded padme unpadded | specs PAD . w1 1 w2 nw.8 left w3 nw | 
cons                                                                            
   
unpadded padme... unpadded                                                      

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not necessarily those of my 
employer.

-----Original Message-----
From: CMSTSO Pipelines Discussion List [mailto:[email protected]] On 
Behalf Of Gentry, Steve
Sent: Wednesday, April 22, 2015 14:09
To: [email protected]
Subject: SPEC and PAD

I've found that SPEC has a PAD option/function.  From what I've read it is used 
to pad a field with a leading character.
I have a word, in a stream, that can be up to 8 characters long, however, if it 
isn't 8 characters, I'd like to append a dot/period to complete the 8 
characters.  I can use the PAD stage and in the grand scheme of things the time 
is insignificant.
However, I was wondering if the PAD function in the SPEC stage can do such a 
thing.
Thanks,
Steve

Reply via email to