Brian, That Thanks.
Brian, The eval works just as needed. Thanks. --Jeff On Thu, 2005-07-07 at 22:40 +0200, [EMAIL PROTECTED] wrote: > Jeff Powell <[EMAIL PROTECTED]> wrote on 07.07.2005, 20:24:48: > > I am executing a list command via uniojbects and I need to parse the > > resulting screen output into columns. Is there a way to print a > > character between each attribute? > > > > Jeff, > > YOu have three main options: > > 1. Create a composite field or EVAL expression that includes the fields > you need with a specified delimiter: > > e.g. > > LIST MyFile EVAL "MyField1:'|':MyField2:'|':MyField3" etc. > NOTE you will need to do some work if the fields are multivalued. > > 2. Similar, but save the composite field contents using a SELECT ... > SAVING option. This will save the fields you want to a select list that > you can then open and read directly from the &SAVEDLISTS& file. > > 3. Look at the options for producing XML output using the TOXML > ATTRIBUTES keywords IF you are on UniVerse 10 (preferably 10.1). This > may prove simpler to parse and is certainly easier for multivalued > fields and for filtering such as WHEN clauses. > > Brian > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
