× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yes, I do.

Thanks,


Peter Vidal
MAPICS IT Technical Support Team / SR System Analyst
10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111
http://www.pall.com

"Joy is not in things; it is in us. "
Richard Wagner




smorrison@xxxxxxxxxxxxxxxxxxx
Sent by: midrange-l-bounces@xxxxxxxxxxxx
08/13/2007 11:31 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: Convert Character to Decimal in CL: Trimming leading zeros






You do realize that trimming the leading zeros will change the way your
file names will appear in a sort. You'll get
File1
File10
File11
File12
...
...
File19
File2
File3
File4
File5
...
...
File9


Steven Morrison
Fidelity Express
903-885-1283 ext. 479



Peter Vidal <Peter_Vidal@xxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
08/13/2007 09:43 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Convert Character to Decimal in CL: Trimming leading zeros






"CHGVAR VAR(&DECVAL) VALUE(&CHARVAL)"

Now that this is clear, I do not want to complicate this more but I have a


similar issue with a little variant. I have file names which suffix is a
number from 1 to 350 and I need to trim the leading zeros and then do some


additional processing. For example:

BEFORE: &CHARVAL = 'FILE001 '
AFTER: &CHARVAL = 'FILE1 '

Again, I need to do this for files 1 to 350.

Thanks


Peter Vidal
MAPICS IT Technical Support Team / SR System Analyst
10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111
http://www.pall.com

"Leadership is the transference of vision."Hal Reed

--------------------------------------------------------------------------------

Attention:

This communication may contain information that is confidential,
privileged and/or exempt from disclosure under applicable law.
If you are not the intended recipient, please notify the sender
immediately and delete the original, all attachments, and all
copies of this communication.


--------------------------------------------------------------------------------

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.