That gets rid of all @VMs not just the empty trailing ones. I realize it answers the very specific example posted , but if that example was really the case being questioned I would say just use FXI=FXI<1,1,1> or count=1 I would assume that this question is really being asked about a more general situation such as FXI = 1ý2ýý In which case >> FXI=trim(FXI,@VM,'T') To remove all empty @VM delimited fields >> FXI=trim(FXI,@VM,'R')
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of George Gallen Sent: January 31, 2011 09:13 AM To: U2 Users List Subject: Re: [U2] How to Clear Empty VM marks in Field Am I missing something, or would CONVERT CHAR(253) TO "" IN FXI not do the job? or FXI=CHANGE(FXI,CHAR(253),"") Maybe: EQU CLEARVM TO CONVERT CHAR(253) TO "" IN ... ... ... CLEARVM FXI > -----Original Message----- > From: [email protected] [mailto:u2-users- > [email protected]] On Behalf Of Bill Brutzman > Sent: Friday, January 28, 2011 8:26 PM > To: U2 Users List > Subject: Re: [U2] How to Clear Empty VM marks in Field > > I suspect that there is no canned function. > > I little homemade sub could look like > > SUBROUTINE SUB.XM.Counter(FXI, XM.Count) > > XM.Count = 0 > Total.String.Length = len(FXI) > For Posn = 1 to Total.String.Length > > Next = Posn + 1 > > This.Char = FXI[Posn, 1] > Next.Char = FXI[Next, 1] > > Begin case > Case This.Char = VM ; begin case > Case This.Char = > Next.Char ; null > Case 1 ; > XM.Count += 1 > End case > End case > > Next Posn > > return > END > > I hope that I made no speling mistakes this time... > > --Bill > > -----Original Message----- > From: [email protected] [mailto:u2-users- > [email protected]] On Behalf Of Garry Smith > Sent: Friday, January 28, 2011 7:30 PM > To: U2 Users List > Subject: [U2] How to Clear Empty VM marks in Field > > FXI = 1ýý > > DCount(FXI,VM) returns 3 > Is there function to clear the blank value marks so that FXI = 1 > and then DCOUNT would return 1 > > TIA > > Garry L. Smith > Dir Info Systems > Charles McMurray Company > V# 559-292-5782 F# 559-346-6169 > > -----Original Message----- > From: Garry Smith > Sent: Friday, January 28, 2011 2:04 PM > To: 'U2 Users List' > Subject: RE: [U2] What do you do with CallHTTP? > > I tried to but we are still using AIX 4.3.3 and UV 9.6 > > Garry L. Smith > Dir Info Systems > Charles McMurray Company > V# 559-292-5782 F# 559-346-6169 > > -----Original Message----- > From: [email protected] [mailto:u2-users- > [email protected]] On Behalf Of Steve Romanow > Sent: Friday, January 28, 2011 1:29 PM > To: U2 Users List > Subject: Re: [U2] What do you do with CallHTTP? > > On 1/28/2011 1:50 PM, David Wolverton wrote: > > What uses have you found for CallHTTP for in your applications? > None whatsoever. > > Are you 'eating' someone else's data with it - like doing lookups > > against a web service call? > > > > Or are you using it to 'serve' data to others? Rocket says you can > do > > this, but I can't see how it would work offhand and would like to > know > > the scenario. > > > > How complex have you found it and how stable? > > > Too complex, not sure about stability. > > I am following someone on c.d.p's lead from 2006 and using curl. I > have also used wget in the past for a dictionary items to do a > filecheck on web images. You can use wget in --spider mode and it will > just give you back an http 200 if the file resolves, but will not > actually download it. > > Thanks for your thoughts! > > > > > > > > > > > > _______________________________________________ > > U2-Users mailing list > > [email protected]<mailto:[email protected]> > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > _______________________________________________ > U2-Users mailing list > [email protected]<mailto:[email protected]> > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > [email protected]<mailto:[email protected]> > http://listserver.u2ug.org/mailman/listinfo/u2-users > > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
