Subject: | |
From: | |
Reply To: | TRAPP,RICH (Non-A-Loveland,ex1) |
Date: | Thu, 22 Feb 2001 11:35:44 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Ram,
STEXPORT is a companion product along with the SUPRTOOL product. If you
create a self describing file (out filename,link) from suprtool, stexport
will read it in an create an ASCII file formatting each field using any
number of options. I think the one you want is "ZERO NONE" which strips
leading zeros.
If you need help, I recommend downloading the windows help file version of
the SUPRTOOL help from the Robelle website.
RAT
Rich Trapp <mailto:[log in to unmask]>
Consulting for Agilent Technologies, Loveland, Colorado.
Managed Business Solutions <http://www.mbsnav.com/>
200 South College Avenue
Fort Collins, Colorado 80524-2811
970.679.2221 (voice)
970.669.3071 (fax)
-----Original Message-----
From: Ram Thekkekara [mailto:[log in to unmask]]
Sent: Wednesday, February 21, 2001 2:19 PM
To: [log in to unmask]
Subject: Removing leading zeros
Gurus,
Is there any way I can remove leading zeros from a field in Quiz or Suprtool
?
(I checked the manuals for functions and I couldn't find one)
If not available, can it be done in COBOL in an efficient way ?
eg: I have an item# field which has length of 20 chars
So if I have '000021 ' how do I convert to '21
'
another example : '002323S ' to convert as '2323S '
Thanks,
Ram Thekkekara
Hickory Farms, Inc
Phone: (419) 893 7611 xt 376 EST
Email : [log in to unmask]
|
|
|