I meant.... EXECUTE whatever CAPTURING output
...within the EB.READLIST routine (if it is possible to modify that routine), and then parse out the 'Records selected' message. But... if this is a T24 routine that is un-modify-able then you are probably SOL :-) as there is no intrinsic option to suppress the 'Records selected' text. Dan On Mon, Aug 20, 2012 at 9:06 PM, Noh Sayachack <[email protected]>wrote: > I use like this > > EXECUTE "COMO OFF" CAPTURING MSG > > but it doesn't work > > > > On Mon, Aug 20, 2012 at 7:01 PM, Daniel Klein <[email protected]>wrote: > >> Use the CAPTURING clause. >> >> Dan >> >> >> On Fri, Aug 17, 2012 at 2:04 AM, Noh <[email protected]> wrote: >> >>> Hello... >>> I am a newbie on jBASE >>> I wrote a simple routine like this >>> >>> PROGRAM TEST.ACCT >>>> $INSERT I_COMMON >>>> $INSERT I_EQUATE >>>> $INSERT I_F.ACCOUNT >>>> >>>> FN.ACCOUNT = 'F.ACCOUNT' >>>> F.ACCOUNT= '' >>>> CALL OPF(FN.ACCOUNT,F.ACCOUNT) >>>> EXECUTE "COMO ON ACCT" >>>> SEL.CMD1 = "SELECT ": FN.ACCOUNT :" WITH CO.CODE EQ LA0010001" >>>> *SEL.CMD1 = "SELECT ": FN.ACCOUNT >>>> CALL EB.READLIST(SEL.CMD1,SEL.LIST1,"",NO.REC1,Y.RET1) >>>> IF NO.REC1 THEN >>>> CRT "TOTAL = ": NO.REC1 >>>> END >>>> >>>> EXECUTE "COMO OFF " >>>> RETURN >>>> END >>>> >>> >>> and the result is >>> >>> COMO ACCT established 12:54:52 17 AUG 2012 >>>> >>>> 25300 Records selected >>>> >>>> TOTAL = 25300 >>>> COMO completed 12:55:01 17 AUG 2012 >>>> >>> >>> and i need your help how to remove or hide this text "25300 Records >>> selected" >>> >>> thank you in advance ^^ >>> >>> -- >>> -- >>> IMPORTANT: T24/Globus posts are no longer accepted on this forum. >>> >>> To post, send email to [email protected] >>> To unsubscribe, send email to [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/jBASE?hl=en >>> >>> >>> >>> >> >> -- >> -- >> IMPORTANT: T24/Globus posts are no longer accepted on this forum. >> >> To post, send email to [email protected] >> To unsubscribe, send email to [email protected] >> For more options, visit this group at >> http://groups.google.com/group/jBASE?hl=en >> >> >> >> > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > > > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
