[U2] UniVerse Dictionary queston

2014-02-04 Thread Martin Scholl
UniVerse. 

I want to create a dictionary item that extract value 178,1

 

I thought

1.   I

2.   EXTRACT(@RECORD,178,1,0) 

3.   .

4.   .

5.   1L

6.   S

 

Would do but it does not give me the desired result. Any suggestions?

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


Re: [U2] UniVerse Dictionary queston

2014-02-04 Thread José Luis Gutiérrez de la Peza
In line 2 put @RECORD178,1

Regards

JLGP

-Mensaje original-
De: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] En nombre de Martin Scholl
Enviado el: martes, 4 de febrero de 2014 01:33 p. m.
Para: U2 Users List
Asunto: [U2] UniVerse Dictionary queston

UniVerse. 

I want to create a dictionary item that extract value 178,1

 

I thought

1.   I

2.   EXTRACT(@RECORD,178,1,0) 

3.   .

4.   .

5.   1L

6.   S

 

Would do but it does not give me the desired result. Any suggestions?

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

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


Re: [U2] UniVerse Dictionary queston

2014-02-04 Thread Bill Haskett

Martin:

This is the only way to do accomplish the defined task in UniData.  
Maybe @RECORD178,1 is the preferred method in UV.


Bill
Untitled Page



- Original Message -
*From:* msch...@martinscholl.com
*To:* U2 Users List u2-users@listserver.u2ug.org
*Date:* 2/4/2014 11:33 AM
*Subject:* [U2] UniVerse Dictionary queston

UniVerse.

I want to create a dictionary item that extract value 178,1

I thought

1.   I
2.   EXTRACT(@RECORD,178,1,0)
3.   .
4.   .
5.   1L
6.   S


Would do but it does not give me the desired result. Any suggestions?


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


Re: [U2] UniVerse Dictionary queston

2014-02-04 Thread George Gallen
Another option to this would be to define field 178 in one dictionary

@ID=ITEMWHOLE
D
178
 
DESCRIPTION
1L
S

And then

@ID=ITEMPART
I
ITEMWHOLE ; @11,1
 
PIECEofITEM
1L
S

This way if you ever move where the ITEM is stored, just change the D Item. BUT 
You might still
Have to recompile the I descriptor - I don't think it will automatically sense 
the ITEMWHOLE
Reference changed.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of José Luis Gutiérrez 
de la Peza
Sent: Tuesday, February 04, 2014 2:39 PM
To: 'U2 Users List'
Subject: Re: [U2] UniVerse Dictionary queston

In line 2 put @RECORD178,1

Regards

JLGP

-Mensaje original-
De: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] En nombre de Martin Scholl
Enviado el: martes, 4 de febrero de 2014 01:33 p. m.
Para: U2 Users List
Asunto: [U2] UniVerse Dictionary queston

UniVerse. 

I want to create a dictionary item that extract value 178,1

 

I thought

1.   I

2.   EXTRACT(@RECORD,178,1,0) 

3.   .

4.   .

5.   1L

6.   S

 

Would do but it does not give me the desired result. Any suggestions?

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

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