× 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.



Here's the V5R2 link:

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/apis/qclsca
n.htm

But I would use a substring method myself - no reason to call another
program and take the performance hit when you can do it in a loop with %SST.

                   
>            Siva  
>            <matchrefree@yaho
>            o.com>                                                     To
>            Sent by:                  Midrange Systems Technical
>            midrange-l-bounce         Discussion
>            s@xxxxxxxxxxxx            <midrange-l@xxxxxxxxxxxx>
>                                                                       cc
>                  
>            03/04/2005 11:26                                      Subject
>            PM                        RE: Any way in the CL program to
>                                      find the length of the character
>                                      datastored in a variable?
>            Please respond to
>            Midrange Systems
>                Technical
>               Discussion
>            <midrange-l@midra
>                nge.com>
>                  
>                  
> 
> 
> 
> 
> Thanks Doug....
> Is it an API?... Wats the Parm list for this...  Coudnt get any in my
> manuals...
> 
> Thanks
> Siva.
> 
> 
> Doug Hart <DougHart@xxxxxxxxxxxx> wrote:
> 
> QCLSCAN
> 
> 
> ---
> Doug Hart
> 
> 
> 
> -----Original Message-----
> From: midrange-l-bounces@xxxxxxxxxxxx
> [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Siva
> Sent: Friday, March 04, 2005 11:02 PM
> To: MIDRANGE-L@xxxxxxxxxxxx
> Subject: Any way in the CL program to find the length of the character
> datastored in a variable?
> 
> 
> Is there any way in the CL program to find the length of the character data
> stored in a variable?
> 
> I find there is no direct CL command to acheive this... may be some
> roundabout way there to do this... but nothing striking at this moment....
> 
> i think of some prgm calls with the required variable as the parm and the
> receiviong prgm process the variable etc... but couldnt get any logic here
> :-)......
> 
> 
> Thanks
> Siva.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.