Does Unidata allow the following type of construct

SEARCHITEM = RAISE(RECORD<31)
SELECTV SEARCHITEM TO MYSEARCHLIST
DONE = FALSE; CNT = 0
LOOP
   READNEXT ITEM FROM MYSEARCHLIST ELSE DONE = TRUE
....

that's how I do this in Universe, not sure if you can do this in Unidata








-----Original Message-----
From: Daniel McGrath <dmcgr...@rocketsoftware.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Thu, Jun 7, 2012 10:26 am
Subject: Re: [U2] FW: Multivalue Question


UniData does not keep AM pointers. You might be thinking about UniVerse's 
inting mechanism.
Regards,
an
-----Original Message-----
rom: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
n Behalf Of David Wolverton 
ent: Thursday, June 07, 2012 10:50 AM
o: 'U2 Users List'
ubject: Re: [U2] FW: Multivalue Question
Or since UniData does keep AM pointers, you could do this - then the @SVM 
become 
VM -- and if there is sub-valued data, in some ways this is EASIER than 
racking what item 'REMOVE' is handling.
SEARCHITEM = RAISE(RECORD<31>)
NT = DCOUNT(SEARCHITEM,@AM)
OR PTR = 1 TO CNT
  ELEMENT = SEARCHITEM<PTR>
  ....
EXT PTR
-----Original Message-----
rom: u2-users-boun...@listserver.u2ug.org
mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David A. Green
ent: Thursday, June 07, 2012 11:45 AM
o: 'U2 Users List'
ubject: Re: [U2] FW: Multivalue Question
X = RECORD<31> isn't your issue.
This is your issue:
NT = DCOUNT(MVDATA, @VM)
OR PTR=1 TO CNT
 SNGDATA = MVDATA<1, PTR>
 ...
EXT PTR
Use instead:
ORE.FLAG = (MVDATA # "")
OOP WHILE MORE.FLAG DO
 SNGDATA = REMOVE(MVDATA, MORE.FLAG)
 ...
EPEAT
Of course other factors can help your decision on how to store your data.
1. Does it need to be sorted?
. How do you need to retrieve it?
David A. Green
480) 813-1725
AG Consulting
-----Original Message-----
rom: u2-users-boun...@listserver.u2ug.org
mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Al DeWitt
ent: Thursday, June 07, 2012 9:30 AM
o: u2-users@listserver.u2ug.org
ubject: [U2] FW: Multivalue Question
Unidata 7.1.20 Pick Flavor
 
I am going to end up with a situation where I will have a multivalue field that 
ontains 5500 +/- values.  Each value will be 5-characters long.
 
I'm concerned that this will issues with the following statement: X = RECORD<31>
 
I've tried searching the manuals and can't find a good answer.
 
Appreciate your input.
 
Albert DeWitt, CPIM
_______________________________________________
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users

______________________________________________
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users
______________________________________________
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to