Mark Hogden wrote: > I suspect you are putting the cow pie before the cow. Even if what I suspect > you are trying to do worked, you would only see a bunch of numbers with > nothing to tie them to the record key. > > >From the command prompt enter the statement yourself and then > SAVE-LIST XYZZY > > Then EDIT-LIST XYZZY to see the data you are working with. > > Provided that FLAG S/N MINQOH MAXQOH REOQOH QOH QIH QOO are all actual > elements of the RM file and not computed fields you are better off selecting > just the IDS, reading the RM file, extracting, and printing the data. > > If you need to work with the list as written then you'll need something like > this: > > NbrFieldsSelected = 8 > LOOP > ITM = "" > FOR I = 1 TO 8 > READNEXT Datum ELSE BREAK > ITM<I> = Datum > NEXT I > PRINT ITM<1>:... etc. > REPEAT > A much better way to do this in 4.1 and above is to not EXECUTE the query, but use JQLPREPARE etc. This will then give you an iterable result set, where each call for the next row will give you each of the fields you selected wiht or without output formatting etc. Consult the manuals.
Jim --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 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 -~----------~----~----~----~------~----~------~--~---
