dbTalk Databases Forums  

lvp definition please

comp.databases.pick comp.databases.pick


Discuss lvp definition please in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Dale
 
Posts: n/a

Default Re: lvp definition please - 01-02-2007 , 05:28 PM






LPV only works with F codes in the dictionary. (at least that's what I
found)

I suspect the code that you really want is:

f;lpv;'12';/;'100';*;lpv;'12';r;+]mr2 where the ] is a value mark

Quote:
From the looks of the code the original programmer may have been
intending to get the number of dozens from the inventory file along
with the number of descrete quantities less that a dozen shown as a
decimal portion

Grasping at straws,

Dale

dtsig wrote:
Quote:
Tracy Raines wrote:
From the D3 reference manual pdf

lpv Last processing code value (result of the previous processing
code).

So this is the 'result' of the last process?

0> itemid
1> a
2> 0
7> A"100"*((LPV/"12")(MR0))+R(LPV"12") MR2
8> AIF (7(TINVENTORY;X;56;56)+"0")="0" THEN "12" ELSE
7(TINVENTORY;X;56;56)
9> R
10> 8

it would seem that 8 would be calculated giving result of either "12"
or value of attribute 56 in inventory table id= what is in attribute 7
of base table.

Is this the result that would pop up for LPV?

thanks


Reply With Quote
  #12  
Old   
dtsig
 
Posts: n/a

Default Re: lvp definition please - 01-02-2007 , 06:02 PM






Tracy Raines wrote:
Quote:
From the D3 reference manual pdf

lpv Last processing code value (result of the previous processing
code).
Tracy .. here is another example. This one is in

<0> itemid
<1> a
<2> 0
<8> AIF (1(G0-1))(TINVOICES;X;1;1)="CM" THEN "1" ELSE "0" ]
AIF
(2(G0-1))(TINVOICES;X;1;1)="CM" THEN (LPV+"2") ELSE LPV


I would guess that the LPV in the second value was referring to the
value calculated in the first .. yeah

thanks again



Reply With Quote
  #13  
Old   
dtsig
 
Posts: n/a

Default Re: lvp definition please - 01-02-2007 , 06:06 PM




Ed Sheehan wrote:
<snip>
Quote:
I found this in the mvBase docs on RD'd site:
<snip>

thanks <g> i should have guessed .. working with D3 .. use others
documents <G>

thanks again
Quote:


Reply With Quote
  #14  
Old   
Tom Phillips
 
Posts: n/a

Default Re: lvp definition please - 01-02-2007 , 10:55 PM



There are a couple of LPV examples here:
http://www.tom-phillips.info/diction...les.index.html

Mostly it's used when you need to select on the results from the correlative
in attribute 8, but need to do some further processing in the conversion in
attribute 7.
Tom

"dtsig" <dtsig (AT) hotmail (DOT) com> wrote

Quote:
Tracy Raines wrote:
From the D3 reference manual pdf

lpv Last processing code value (result of the previous processing
code).

Tracy .. here is another example. This one is in

0> itemid
1> a
2> 0
8> AIF (1(G0-1))(TINVOICES;X;1;1)="CM" THEN "1" ELSE "0" ]
AIF
(2(G0-1))(TINVOICES;X;1;1)="CM" THEN (LPV+"2") ELSE LPV


I would guess that the LPV in the second value was referring to the
value calculated in the first .. yeah

thanks again




Reply With Quote
  #15  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: lvp definition please - 01-02-2007 , 11:52 PM



Have a look at an article I just posted to my blog called "How Pick
Dictionary Items Work." I think it explains a lot about how LPV works
as well as the relationship between conversions and correlatives, and
multivalued codes.

http:// please-remove-this-partNebula-RnD.com/blog/

Of course I welcome you to have a look at other articles as well,
register to post comments, and/or subscribe to an RSS feed to get
notification of new postings.

Regards,
T
TG@ we-really-hate-spamNebula-RnD.com

Reply With Quote
  #16  
Old   
Allen Egerton
 
Posts: n/a

Default Re: lvp definition please - 01-03-2007 , 06:51 AM



Tony Gravagno wrote:
Quote:
Have a look at an article I just posted to my blog called "How Pick
Dictionary Items Work." I think it explains a lot about how LPV works
as well as the relationship between conversions and correlatives, and
multivalued codes.

http:// please-remove-this-partNebula-RnD.com/blog/

Of course I welcome you to have a look at other articles as well,
register to post comments, and/or subscribe to an RSS feed to get
notification of new postings.

Regards,
T
TG@ we-really-hate-spamNebula-RnD.com
Very nice.

Coming from Prime Information into Universe/Unidata I'm most familiar
with "D" and "I" types as opposed to "A" and "F" types. Your article
shed some light for me. Thank you.

--
Allen Egerton aegerton at pobox dot com


Reply With Quote
  #17  
Old   
dtsig
 
Posts: n/a

Default Re: lvp definition please - 01-03-2007 , 11:40 AM




Tony Gravagno wrote:
Quote:
Have a look at an article I just posted to my blog called "How Pick
Dictionary Items Work." I think it explains a lot about how LPV works
as well as the relationship between conversions and correlatives, and
multivalued codes.

http:// please-remove-this-partNebula-RnD.com/blog/

Of course I welcome you to have a look at other articles as well,
register to post comments, and/or subscribe to an RSS feed to get
notification of new postings.
Thanks .. checked it out .. glad i could give you something to write
about <G>

Spend most of my time in "I" type environments so coming back to OLD
legacy 'PICK' code sometimes stretches my already short supply of gray
cells

dtsig



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.