|
Siva, you can search the archives for RTVSTRLEN. it will give you the code for a simple command and a CPP of 5 lines. QCLSCAN is limited to strings of maximum 999 characters (IIRC). I do not know, if a character variable length has been extended in V5R3, but as far as I know it is 9999 characters max. Regards, Carel Teijgeler. *********** REPLY SEPARATOR *********** On 4-3-05 at 20:01 Siva wrote: >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. > > > > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com >-- >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list >To post a message email: MIDRANGE-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/midrange-l >or email: MIDRANGE-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.