Subject: | |
From: | |
Reply To: | |
Date: | Tue, 8 Aug 2000 11:40:00 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi all,
I am reading a unique record (from database) which has a field NUMBER which
is defined as I2.. I would like to extract this value somehow using a SETVAR
<filename> or something like that.. !! Following is the requirements..
The NUMBER could be a 1digit, 2 digit, 3digit or 4 digit or 5 digit numeric
number. I would like to extract this number into a 5 digit numeric number
prefixed with leading ZEROES upto the 5th digit irrespective of whatever
value is there in that field.. For ex : if the value in field NUMERIC is 375
then I would want my extract to be 00375.
My final goal is to have the following :
SETVAR FILENAME "PF" + "5 digit numeric number with leading ZEROES coming
from NUMBER" ..
With the above example I would like to have the FILENAME having value
"PF00375"..
Is there any ASCII definitions or leading ZERO populator ? If so how do I do
it ?
Thanks in advance for all your flooding replies.. !!
Regards
Raghu..
The information contained in this message and any attached documents is
intended only for the personal and confidential use of the designated
recipient(s). This message may be a confidential and privileged
communication. If the reader of this message is not the intended recipient
(or an agent responsible for delivering it to the intended recipient), you
are hereby notified that any unauthorized distribution or copying of this
email or the information contained in it is strictly prohibited. If you
have received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer. BlueCross
BlueShield of Tennessee, Inc., and its subsidiary and affiliate companies
are not responsible for errors or omissions in this e-mail message. Any
personal comments made do not necessarily reflect the views of BlueCross
BlueShield of Tennessee, Inc.
|
|
|