Re: [U2] [UV] is there an equivalent to the UD ALL UniQuery keyword?

2005-12-02 Thread Ian Stuart
Or  move LIST to VOCLIB, setup LIST as an R type in the VOC pointing 
to VOCLIB and use F4 in  the R  VOC entry to invoke a remote 
subroutine that can then modify the sentence.
Regards
Ian Stuart

Ken Wallis wrote:

Larry Hiscock wrote:

  

How about just adding a phrase to each DICT called ALL that
lists all of
the D-type items?



[snip]

  

One time setup, then it's available for their use.



And then they have to maintain it for ever?  Or shall I put a trigger on the
dictionary of every file that updates the ALL phrase whenever a D item is
added or deleted?

Thanks Larry, but I think I preferred the BASIC front end to LIST idea
better.

Cheers,

Ken

  

Ken Wallis wrote:



  

A site I know is moving from UniData on VMS to UniVerse on
UNIX.  Don't ask
why, they just decided that was the path they wanted to go
down.  Anyhow,
they've got used to the ability in UniData to LIST filename
ALL and see
everything.  They're a bit surprised that this doesn't work
in UniVerse.
Any ideas?

Of course we could write them a BASIC program called LIST
that scans the
command for the keyword ALL and if it finds it, works out
what ALL means in
the context of that file before invoking the real UniVerse LIST with a
modified command, but I'd like to exhaust other options first.


---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


___ DISCLAIMER ___


This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail transmission
cannot be guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses. The sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.

  




___ DISCLAIMER ___


This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail transmission
cannot be guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses. The sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] is there an equivalent to the UD ALL UniQuery keyword?

2005-12-02 Thread Mats Carlid

Would LIST.ITEM be an answer ?

At least it lists all the fields...

-- mats
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] - word Document

2005-12-02 Thread Bjorn Behr
We generate a 'text/word' document from Universe.

What I would like to know is does anybody know what characters I need to
place in the document so that when it is opened up in Word, it is in
landscape format?

Many Thanks
Bjorn Behr
Programmer (TSD)

Tel : +27 11 523 4202
Email   : [EMAIL PROTECTED] 
Web Site: www.supergrp.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] File to Table Mapping Uni Objects .NET

2005-12-02 Thread zishan iqbal
Hi
   
  I am new to Uni data and Uni Objects(.NET). I am not able to understand how 
the mapping between files and tables is performed in unidata. For example when 
I access the UniData database through ODBC I can access the table Zee, but 
when I access
  the database through Uni Objects it requires that the developer should know 
the
  name of the file in which the table resides. I think that there may be a file 
exists 
  in which the information about this mapping is present.
   
  Does somebody tell me how to get the above mapping information. Moreover 
  if you have some reading material related to this problem then please send 
  me the link to that material.
   


-
 Yahoo! DSL Something to write home about. Just $16.99/mo. or less
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Free Editor

2005-12-02 Thread Bob Witney
er -
 
have you tried downloadingthe Unidebugger editor from the IBM site ?

-Original Message- 
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] 
Sent: Fri 02/12/2005 12:32 
To: u2-users@listserver.u2ug.org 
Cc: 
Subject: SV: [U2] Free Editor



This works great for me, it's very promising and you directly start to 
think
of when there will be a debugging functionality in the U2 Editor?

Bjvrn Eklund
Anknytning: 2088


-Ursprungligt meddelande-
Fren: Andy Pflueger [mailto:[EMAIL PROTECTED]
Skickat: den 2 december 2005 03:13
Till: u2-users@listserver.u2ug.org
Dmne: Re: [U2] Free Editor
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

[demime 1.01d removed an attachment of type application/ms-tnef which had a 
name of winmail.dat]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Free Editor

2005-12-02 Thread Gordon J Glorfield
I use the UniDebugger exclusively for editing programs and it has the 
debugging built in.  It comes free with each licensed installation.  Check 
it out, it's on the utilities disk.


Gordon J. Glorfield
Sr. Applications Developer
MAMSI (A UnitedHealth Company)
301-360-8839

[EMAIL PROTECTED] wrote on 12/02/2005 07:32:15 AM:

 This works great for me, it's very promising and you directly start to 
think
 of when there will be a debugging functionality in the U2 Editor?

 Bjvrn Eklund
 Anknytning: 2088
[snip]


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] - word Document

2005-12-02 Thread Andy Pflueger
On 12/2/05, Bjorn Behr [EMAIL PROTECTED] wrote:
 We generate a 'text/word' document from Universe.

 What I would like to know is does anybody know what characters I need to
 place in the document so that when it is opened up in Word, it is in
 landscape format?
snip

I did a quick Google search and found something stating that (per
Epson) there aren't any real ASCII codes to change the printed
documents orientation to landscape. However, I do believe there's a
PCL compatible code for changing a printers orientation. Does the
document have to be opened with Word or why not generate the document
in PDF which to my understanding is very much PCL compliant? I'm not
sure if a Word document is PCL compliant using the text/word
document type.

HTH,
Andy
--
The Linux philosophy is 'Laugh in the face of danger'.
Oops. Wrong One. 'Do it yourself'. Yes, that's it.
Linus Torvalds
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Resize

2005-12-02 Thread Lance Jahnke
Maybe I will just delete the file and use OPEN/WRITESEQ and create 
flatfiles. So many options, so little time.


Louie Bergsagel wrote:


Just write a program that loops until the resize matches the
recommendations.

See if it goes forever.

*:)*
-- Louie

*Oh, sometimes programmers just want to have fun.*



On 12/1/05, Kryka, Richard [EMAIL PROTECTED] wrote:

 Original Message:
 Just noticed something strange...I RESIZE to these specs and run
 HASH.HELP.

 My response:
 I have noticed that HASH.HELP is strange like this on UV W2K.  You can
 end up resizing the file over and over and over because the
 recommendations, including the file type, change as you resize the file.
 Best bet is to stop after one use of HASH.HELP.

 Dick Kryka
 Director of Applications
 CCCS of Greater Denver, Inc.
 Paragon Financial Services
 303-632-2226
 [EMAIL PROTECTED]
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Leif Smith

2005-12-02 Thread Kevin King
Anyone know how to get ahold of Leif?
 
-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Free Editor

2005-12-02 Thread David Wolverton
It drives me nuts that since we are an SB+ installation, there's not a great
way to use UniDebugger with our UniData programs -- Unless someone has a tip
to share!! 

Although the UniData interactive debugger isn't bad, the UniDebugger is
nice.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] - word Document

2005-12-02 Thread Ron White

Bjorn Behr wrote:


We generate a 'text/word' document from Universe.

What I would like to know is does anybody know what characters I need to
place in the document so that when it is opened up in Word, it is in
landscape format?

Many Thanks
Bjorn Behr
Programmer (TSD)

Tel : +27 11 523 4202
Email   : [EMAIL PROTECTED] 
Web Site: www.supergrp.com

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


 


For the document to appear as landscape in Word you will need to
change the page orientation property under Page Setup.  I have never
tried to do this from UniVerse but there is likely a way to do it.

Ron White
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] is there an equivalent to the UD ALL UniQuery keyword?

2005-12-02 Thread Marilyn Hilb
Ohoh. I like that!

 -Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Mats Carlid
Sent:   Friday, December 02, 2005 2:43 AM
To: u2-users@listserver.u2ug.org
Subject:Re: [U2] [UV] is there an equivalent to the UD ALL UniQuery
keyword?

Would LIST.ITEM be an answer ?

At least it lists all the fields...

-- mats
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Mod10 Credit Card Checksum

2005-12-02 Thread Baker Hughes
Say, has anyone written some code to validate a Credit Card number,
using the Mod10 (nicknamed) or ANSI X4.13 (realname) LUHN formula?  I
was just told today get this installed yesterday, so I'm naturally
looking to see if some kind-hearted fellow MV'ver has something already
written (it is the season for giving ;-) ).

I searched ansi.org and only got hits on meeting agendas - [in session
4.13 discuss blah blah]
I found the previous u2ug posting that used Mod10 to validate a UPC, but
it looks a bit different from algorithm described elsewhere to validate
CCnumbers, and doesn't look agreeable to variable lengths (different you
know based on each card type).

I'm really thankful for U2UG, and glean much from the postings.  I'd
contribute more answers but I've only been at this 14 years and someone
more seasoned invariably gives a thoroughly enlightening response.

TIA.

-Baker
bakerdothughes
atmouser
dotcom
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Mod10 Credit Card Checksum

2005-12-02 Thread Robin Stanley
We have been using this Mod10 code for years. Note - CLEN = LEN(CARD.NUM)

0076 **
0077 ** 
0078 **
0079 ALGO.CHECK:  ** card number algorithm check
0080  CSTR =  ; PTR = 0
0081  FOR I = CLEN TO 1 STEP -1
0082   PTR = PTR + 1
0083   IF MOD(PTR, 2) # 0 THEN MULTI = 1 ELSE MULTI = 2
0084   CSTR = CARD.NUM[I, 1] * MULTI : CSTR
0085  NEXT I
0086  **
0087  CSUM = 0 ; CLEN = LEN(CSTR)
0088  FOR I = 1 TO CLEN
0089   CSUM += CSTR[I, 1]
0090  NEXT I
0091  **
0092  IF NOT((MOD(CSUM, 10) = 0)) THEN
0093   ERR = Invalid card number.
0094  END
0095 RETURN

Robin Stanley

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Baker Hughes
Sent: Friday, December 02, 2005 8:11 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Mod10 Credit Card Checksum


Say, has anyone written some code to validate a Credit Card number,
using the Mod10 (nicknamed) or ANSI X4.13 (realname) LUHN formula?  I
was just told today get this installed yesterday, so I'm naturally
looking to see if some kind-hearted fellow MV'ver has something already
written (it is the season for giving ;-) ).

I searched ansi.org and only got hits on meeting agendas - [in session
4.13 discuss blah blah]
I found the previous u2ug posting that used Mod10 to validate a UPC, but
it looks a bit different from algorithm described elsewhere to validate
CCnumbers, and doesn't look agreeable to variable lengths (different you
know based on each card type).

I'm really thankful for U2UG, and glean much from the postings.  I'd
contribute more answers but I've only been at this 14 years and someone
more seasoned invariably gives a thoroughly enlightening response.

TIA.

-Baker
bakerdothughes
atmouser
dotcom
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Mod10 Credit Card Checksum

2005-12-02 Thread James F Thompson
  SUBROUTINE CC.VALID(CCN,OK,CTYPE)
*
  OK=0 ; WGT=2 ; SUM=0 ; CCLEN=LEN(CCN)
  DIGIT=0 ; CTYPE=
  CHK.DIGIT=CCN[CCLEN,1] ; MDIGIT=0
  FOR X = CCLEN - 1 TO 1 STEP -1
 CC.D=CCN[X,1]
 IF NOT(NUM(CC.D)) THEN CC.D=-9
 DIGIT=WGT * CC.D
 SUM=SUM + INT(DIGIT / 10) + MOD(DIGIT,10)
 IF WGT = 2 THEN
WGT = 1
 END ELSE
WGT = 2
 END
  NEXT X
  MDIGIT=(10-MOD(SUM,10))
  MDIGIT2=MOD(MDIGIT,10)
  IF MDIGIT2 # CHK.DIGIT THEN
 OK=0
 CTYPE=Invalid Credit Card Number
  END ELSE
 BEGIN CASE
CASE CCN[1,1]=4 AND (CCLEN=13 OR CCLEN=16)
   CTYPE=V
CASE CCN[1,2]=51 AND CCLEN=16
   CTYPE=M
CASE CCN[1,2]=52 AND CCLEN=16
   CTYPE=M
CASE CCN[1,2]=53 AND CCLEN=16
   CTYPE=M
CASE CCN[1,2]=54 AND CCLEN=16
   CTYPE=M
CASE CCN[1,2]=55 AND CCLEN=16
   CTYPE=M
CASE CCN[1,4]=6011 AND CCLEN=16
   CTYPE=D
CASE CCN[1,2]=37 AND CCLEN=15
   CTYPE=AX
CASE CCN[1,2]=34 AND CCLEN=15
   CTYPE=AX
CASE CCN[1,3]=389 AND CCLEN=14
   CTYPE=CB
CASE CCN[1,2]=94 AND CCLEN=14
   CTYPE=CB
CASE CCN[1,2]=95 AND CCLEN=14
   CTYPE=CB
CASE CCN[1,2]=30 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,2]=36 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,3]=381 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,3]=382 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,3]=383 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,3]=384 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,3]=385 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,3]=386 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,3]=387 AND CCLEN=14
   CTYPE=DC
CASE CCN[1,3]=388 AND CCLEN=14
   CTYPE=DC
CASE 1
   CTYPE=
 END CASE
 IF CTYPE =  THEN
OK=0
CTYPE = Invalid Credit Card Type
 END ELSE
OK=1
CTYPE=OCONV(CTYPE,TPAY.TYP;X;;0)
IF CTYPE =  THEN
   OK=0
   CTYPE = Credit Card Type not Accepted
END
 END
  END
*
  RETURN




James F Thompson 
Senior System Analyst 
Cypress Business Solutions 
678.494.9353 x1410
 
[EMAIL PROTECTED] 
www.cypressesolutions.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Baker Hughes
Sent: Friday, December 02, 2005 11:11 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Mod10 Credit Card Checksum

Say, has anyone written some code to validate a Credit Card number,
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Free Editor

2005-12-02 Thread Results

David,
   Ask on the SB+ list. visit http://listserver.u2ug.org, enter your 
e-mail address, and 'browse all' lists to join the sb+ list or digest.



David Wolverton wrote:

It drives me nuts that since we are an SB+ installation, there's not a great way to use UniDebugger with our UniData programs -- Unless someone has a tip to share!! 
 


--
- Charles Barouch
[EMAIL PROTECTED]
(718) 762-3884 x 1
	P. O. Box 540957, 
	Linden Hill, NY 11354-0957

www.KeyAlly.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Mod10 Credit Card Checksum

2005-12-02 Thread Kevin King
Today's your lucky day.  I have the LUHN check (and much more) written
in Javascript and posted on the web @
http://www.precisonline.com/ccvalidate.html.  Should be no big deal to
translate to U2. 

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] is there an equivalent to the UD ALL UniQuery keyword?

2005-12-02 Thread Dawn Wolthuis
On 12/2/05, Marilyn Hilb [EMAIL PROTECTED] wrote:

 Ohoh. I like that!

 -Original Message-
 From:   [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED]  On Behalf Of Mats Carlid
 Sent:   Friday, December 02, 2005 2:43 AM
 To: u2-users@listserver.u2ug.org
 Subject:Re: [U2] [UV] is there an equivalent to the UD ALL
 UniQuerykeyword?

 Would LIST.ITEM be an answer ?

 At least it lists all the fields...


Cool!  That works in OpenQM too.  I was wondering why ALL was only in
UniData.  Thanks.  --dawn

-- mats
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/




--
Dawn M. Wolthuis
Tincat Group, Inc.

Take and give some delight today!
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Mod10 Credit Card Checksum

2005-12-02 Thread Gahan, Mick
Baker,

This is pretty old code and it was taken out of production last January,
However, it was working at the point we stopped using it.  Sorry,
there's not much documentation, but I seem to recall that it used the
MOD10 method.

Give it a try and see what happens.

Mick

Mick Gahan
Director, MIS
Metropolitan Community College
Omaha, NE
(402) 457-2402


SUBROUTINE CCP.CHECK.DIGIT(VALID,CARD.NO)

**CARD.NO = '5286309653523638'

* Last updated by ACTIVE (GAHAN) at 16:39:34 on 08/26/1993.

  TEMP.CARD.NO = CARD.NO

  CONVERT ' ' TO '' IN TEMP.CARD.NO
  CONVERT '-' TO '' IN TEMP.CARD.NO
  IF NOT(NUM(TEMP.CARD.NO)) THEN VALID = 0 ; RETURN

  IF MOD(LEN(TEMP.CARD.NO),2) # 0 THEN
 PROGRESSION = '1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1'
  END ELSE
 PROGRESSION = '2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2'
  END
  CONVERT ',' TO @FM IN PROGRESSION

  LAST.DIGIT = TEMP.CARD.NO[1]
  TEMP.CARD.NO = TEMP.CARD.NO[1,LEN(TEMP.CARD.NO)-1]

  PRODUCT = ''
  TEMP.CARD.NO.LENGTH = LEN(TEMP.CARD.NO)
  FOR IDX = 1 TO TEMP.CARD.NO.LENGTH
 TEMP = TEMP.CARD.NO[IDX,1] * PROGRESSIONIDX
 TEMP = TEMP[1,1] + TEMP[2,1]
 PRODUCTIDX = TEMP
  NEXT IDX
  SUM.RESULTS = SUM(PRODUCT)

  IF SUM.RESULTS[1] = 0 THEN
 CHECK.DIGIT = 0
  END ELSE
 CHECK.DIGIT = 10 - SUM.RESULTS[1]
  END

  IF LAST.DIGIT # CHECK.DIGIT THEN
 VALID = 0
  END ELSE
 VALID = 1
  END

  RETURN

END 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Baker Hughes
Sent: Friday, December 02, 2005 10:11 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Mod10 Credit Card Checksum

Say, has anyone written some code to validate a Credit Card number,
using the Mod10 (nicknamed) or ANSI X4.13 (realname) LUHN formula?  I
was just told today get this installed yesterday, so I'm naturally
looking to see if some kind-hearted fellow MV'ver has something already
written (it is the season for giving ;-) ).
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Mod10 Credit Card Checksum

2005-12-02 Thread Results

Barker,
I haven't needed to know this for the last several years, so I had 
to look it up. This looks right, but you should double check it:


   http://www.epanorama.net/documents/smartcard/magcard.html

   - Chuck LRC Barouch

Baker Hughes wrote:


Say, has anyone written some code to validate a Credit Card number,
using the Mod10 (nicknamed) or ANSI X4.13 (realname) LUHN formula?  I
was just told today get this installed yesterday, so I'm naturally
looking to see if some kind-hearted fellow MV'ver has something already
written (it is the season for giving ;-) ).
 


--

- Charles Barouch
[EMAIL PROTECTED]
(718) 762-3884 x 1
	P. O. Box 540957, 
	Linden Hill, NY 11354-0957

www.KeyAlly.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] RE: U2 Users Digest V1 #944

2005-12-02 Thread Boyd, Diane
Subject: Re: [U2] RE: [UV] is there an equivalent to the UD ALL UniQuery
keyword?

In regards to seeing all Universe Dict Items on a table with one list
statement:

You will need to create a DICT item for each table with the ID = '@'
F1 = PH 
F2 = COLUN NAME1 COLUMN NAME2 


At the TCL PROMPT  LIST INVENTORY 


Now all the inventory columns will display.


Diane Boyd 
PVI Industries 
Programmer Analyst 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Mod10 Credit Card Checksum

2005-12-02 Thread john reid
Did this a long time ago.  It wont cost much to see if it works.
j
**  SUBROUTINE MOD10CD(NUM1, CDNUM)
M2STR= 
SUM.STRING=
SUM.OPERANDS=
NEXT.HIGH.10=0
INPUT NUM1
LNUM1=LEN(NUM1)
FOR I = LNUM1 TO 1 STEP -2
IF MOD(I,2) = 0 THEN
SUM.STRING-1=NUM1[I,1]
END ELSE
M2STR:=NUM1[I,1]
END
NEXT I
M2STRM=M2STR*2
SUM.OTHER = SUM(SUM.STRING)
NUM.MULT.DIGITS=LEN(M2STRM)
FOR I = 1 TO NUM.MULT.DIGITS
OPERAND=M2STRM[I,1]
SUM.OPERANDS+=OPERAND
NEXT I
FINAL.SUM=SUM.OPERANDS + SUM.OTHER
FINAL.SUM=SUM.OPERANDS + SUM.OTHER
LOOP
UNTIL NEXT.HIGH.10 = FINAL.SUM
NEXT.HIGH.10 += 10
REPEAT
CDNUM = NEXT.HIGH.10 - FINAL.SUM
CRT CDNUM
RETURN


On 12/2/05, Baker Hughes [EMAIL PROTECTED] wrote:
 Say, has anyone written some code to validate a Credit Card number,
 using the Mod10 (nicknamed) or ANSI X4.13 (realname) LUHN formula?  I
 was just told today get this installed yesterday, so I'm naturally
 looking to see if some kind-hearted fellow MV'ver has something already
 written (it is the season for giving ;-) ).

 I searched ansi.org and only got hits on meeting agendas - [in session
 4.13 discuss blah blah]
 I found the previous u2ug posting that used Mod10 to validate a UPC, but
 it looks a bit different from algorithm described elsewhere to validate
 CCnumbers, and doesn't look agreeable to variable lengths (different you
 know based on each card type).

 I'm really thankful for U2UG, and glean much from the postings.  I'd
 contribute more answers but I've only been at this 14 years and someone
 more seasoned invariably gives a thoroughly enlightening response.

 TIA.

 -Baker
 bakerdothughes
 atmouser
 dotcom
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/



--
john
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] OT: Hard drive failure

2005-12-02 Thread Larry Hiscock
I have a client whose hard drive in his laptop has failed.  Naturally, he
has no backups.  Does anyone have any experience with any of the various
data recovery services, and can you make any recommendations?

Thanks,

Larry Hiscock
Western Computer Services
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] - word Document

2005-12-02 Thread Ross Morrissey
You might try saving the XXX.DOC as a new file type XXX.DOCL, then associate
the .DOCL file type with word.exe run with a command line switch that
referenced a macro to switch to landscape when it started.

Thanks, Ross.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr
Sent: Friday, December 02, 2005 3:52 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] - word Document

We generate a 'text/word' document from Universe.

What I would like to know is does anybody know what characters I need to
place in the document so that when it is opened up in Word, it is in
landscape format?

Many Thanks
Bjorn Behr
Programmer (TSD)

Tel : +27 11 523 4202
Email   : [EMAIL PROTECTED] 
Web Site: www.supergrp.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] is there an equivalent to the UD ALL UniQuery keyword?

2005-12-02 Thread Scott Ballinger
Unfortunately, LIST-ITEM is just a raw record dump and does not display
field names (just numbers) and does not apply the appropriate
conversions for numbers, dates, times, etc.

I like letting REVISE build the @REVISE item- why not call it from a
trigger whenever the dict is updated?  Or you could probably make an
I-type VOC item called ALL or @ALL that parsed the dict and displayed
all the fields in a pretty way- but that's still a lot of work to
re-create something that UD already does for you.

/Scott Ballinger
Pareto Corporation
Edmonds WA USA
206 713 6006


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
Sent: Friday, December 02, 2005 12:43 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [UV] is there an equivalent to the UD ALL UniQuery
keyword?

Would LIST.ITEM be an answer ?

At least it lists all the fields...

-- mats
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Free Editor

2005-12-02 Thread Mike Pflugfelder
Is there any documentation for this?  Like others, I've been able to
download Eclipse, install it and the U2Editor, but I'm unable to connect
to any of my servers as of yet.  So far, I've tried a Windows and a
Linux server, each running current versions of Universe, but I have yet
to see any of my files.

Thanks,
-Mike Pflugfelder 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of D Averch
Sent: Thursday, December 01, 2005 3:47 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Free Editor

For too many years in the U2 Community, we have been laboring with a
single
line editor.  Whether it was ED or the improved AE we have been pretty
much
stuck in the 70's and 80's.  Others have produced a lot of full-screen
editors, but they take a telnet license for every session.  We have a
solution for those who need to edit from multiple accounts, machines and
databases simultaneously in one editor environment.

U2Editor works on workstations such as Windows, Linux, Hp-UX, AIX,
Solaris,
and Mac OS X. U2Editor is built on open source development tool called
Eclipse as a plug-in.  By using the Eclipse platform for the open source
community, U2Editor can be updated automatically or manually via the web
using Eclipse Update.  Those using U2Editor will always have the most
up-to-date copy of the software. 

U2Editor is available today for downloading at www.u2logic.com.  Or send
us
an email [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] File to Table Mapping Uni Objects .NET

2005-12-02 Thread Jeff Powell
Zishan,

On our system the files are the tables. I would do something like this
to get some records.

LIST ORDER WITH CUST.NUM=00012345 ORD.NUM WRITTEN.BY BY ORD.NUM

to achieve similar results to

select ord.num, written.by from order where cust.num='00012345' order by
ord.num

I hope this is helpful.

I have the pdf manuals from IBM's website to help you understand the
UniQuery language if you need them.


Best regards.

Jeff

On Fri, 2005-12-02 at 04:58 -0800, zishan iqbal wrote:
 Hi

   I am new to Uni data and Uni Objects(.NET). I am not able to understand how 
 the mapping between files and tables is performed in unidata. For example 
 when I access the UniData database through ODBC I can access the table Zee, 
 but when I access
   the database through Uni Objects it requires that the developer should know 
 the
   name of the file in which the table resides. I think that there may be a 
 file exists 
   in which the information about this mapping is present.

   Does somebody tell me how to get the above mapping information. Moreover 
   if you have some reading material related to this problem then please send 
   me the link to that material.

 
   
 -
  Yahoo! DSL Something to write home about. Just $16.99/mo. or less
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] OT: Hard drive failure

2005-12-02 Thread George Gallen
What I did was removed the hard drive, placed it into an external 
enclosure (USB). Then on another PC, ran ACRONIS Disk Imager. It
can create a duplicate image on another drive of the hard drive.
What is nice about it (oppsed to Norton ghost) is it will ignore
drive errors (bad tracks and such).

After my drive crashed, I only lost a few files.

www.acronis.com  (they have both a linux and Windows file format version)

PS. How my hard drive crashed was an interesting story...
I stopped using my laptop as mobile, and sat it above my monitor on
one of those stands, problem was it was tilted about 30 degrees. After
about 9 months or so, I moved the laptop to a 0 degree surface. The 
hard drive was so used to spinning at the old angle it wouldn't work
and crashed. When I was recovering the driver, I had to actually hold
the bad drive at a 30 degree angle for anything to be able to be read.

so...if you use your laptop as a desk PC for any extended period of time
(mine was apx 9 months), make sure it's a flat 0 degree surface.

PPS. Ever since then, I backup my laptop weekly now :) using the imager



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Larry Hiscock
 Sent: Friday, December 02, 2005 12:25 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] OT: Hard drive failure
 
 
 I have a client whose hard drive in his laptop has failed.  
 Naturally, he
 has no backups.  Does anyone have any experience with any of 
 the various
 data recovery services, and can you make any recommendations?
 
 Thanks,
 
 Larry Hiscock
 Western Computer Services
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UD Terminal Emulator using UniObjects

2005-12-02 Thread Burwell, Edward
Has anyone seen or attempted to create a UD terminal emulator with vb6 and
UniObjects?  What control would you use as the emulator?  TextBox?
PictureBox?  WebBrowser control?  How do you handle the terminal definition?
Do you actually scrape the screen, then display the results (perhaps in a
picturebox), then capture keystrokes and display them?  Any info would be
greatly appreciated.  Thanks in advance.

Ed Burwell
973-361-5400 ext. 1512
[EMAIL PROTECTED]

__
This e-mail has been scanned by MCI Managed Email Content Service, using 
Skeptic(tm) technology powered by MessageLabs. For more information on MCI's 
Managed Email  Content Service, visit http://www.mci.com.
__
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Mod10 Credit Card Checksum

2005-12-02 Thread karlp
Thanks James. This is a project I'm embroiled in, too. Your code worked
right out of the box.

Karl

quote who=James F Thompson
   SUBROUTINE CC.VALID(CCN,OK,CTYPE)
 *
   OK=0 ; WGT=2 ; SUM=0 ; CCLEN=LEN(CCN)
   DIGIT=0 ; CTYPE=
   CHK.DIGIT=CCN[CCLEN,1] ; MDIGIT=0
   FOR X = CCLEN - 1

 stuff deleted... 

-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UD Terminal Emulator using UniObjects

2005-12-02 Thread Bob Modrich
The following company sells an activex control and a .net component for
terminal emulation.
http://www.dart.com/default.asp
I have used both and am now polishing up my telnet client using vs 2005 and
their .net component. I need to work with IBM to get device licensing
incorporated into this client.

Communicate with legacy applications using VT-52, VT-100, VT-220 and VT-320
terminal emulation. The Vt control is a powerful terminal emulator that
enables you to build custom terminal emulation applications for .NET.
Integrated Telnet capability, using the best-selling PowerTCP Telnet for
.NET component, enables the Vt control to start a session with as little as
one line of code. Also includes a custom font with VT multinational and
graphic characters, a FontDialog control that manages fixed-width raster and
True-Type fonts, comprehensive style information for every cell, and
powerful printing capabilities.

VT control emulates VT-52, VT-100, VT-220 and VT-320 terminals. 
Interprets text and escape sequences to display a screen that can be used
interactively (like a regular terminal) or invisibly (to capture screen
text). 
Screen scraping returns all the text in the scroll-back buffer as well as
the display. 
Integrated Telnet component provides a default real-time data source, but
any 7 or 8-bit source can be used. 
Numerous display options are available to customize your screen. 
Printing of the display is fully supported, as is the printing of postscript
files and auto-print (prints each line as it is received). 
Screens can be scraped to HTML, transforming style information into HTML
tags. 
Graphic characters for box drawing are fully supported for all fonts. 
Key remapping is easily coded. 
Dynamic scroll-back buffer can save hundreds (or thousands) of lines. 
Includes all the capability available in PowerTCP Telnet for .NET (Telnet,
rexec, rsh, rlogin). 
Single development license with royalty-free distribution. 
Integrated Help 2.0 documentation includes over a dozen tutorials and a
comprehensive reference guide with full support for dynamic help. 
Supports VS.NET, Delphi 8, C# Builder, and other .NET compliant development
environments. 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Mod10 Credit Card Checksum

2005-12-02 Thread Baker Hughes
Thanks to each of you for the good postings. You've got me going now.  I
may miss their target date of yesterday but Tuesday is looking pretty
good.  Now, if anyone has an algorithm to speed up the QA dept things
will shake out rather nicely.  We'll be using something which follows
very closely on James Thompson's subroutine.  I wasn't going to check
the prefix against card type, but before I got the final END on my
subroutine, more requirements came in !-\

-Baker
bakerdothughes
atmouser
dotcom
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] More Credit Card Info

2005-12-02 Thread karlp
To those of you who have automated CC processing:

Have you any experience with PaymenTech? They are our vendor. They give us
NO penalty for keyed in cards vs swiped cards. Other than that, I don't
know much about this.

-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UD] LIST XMLDATA ...

2005-12-02 Thread David Wolverton
We're trying to work the new XML logic... I'm working a simple test, and
think I've done all right up to now...

UniData 7.1 / Windows:

LIST XMLDATA ImpCoInfo.xml _XML/IMPCOINFO.EXT COMPANY.NAME ADDR.ONE

This command is giving me the response

XMLDATA is not a desired record in VOC file. 
Open file error.

I'm stumped... XMLDATA is set up as a KeyWord (K) in the VOC ... 

Also - is it just me, or did they have to make LIST a lot smarter to 'know'
how to use this new Keyword?!? I reread the docs 3 or 4 times to make sure
it was not LIST_XMLDATA or something to actually use a different verb!!

Thanks for any thoughts...
David W.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] LIST XMLDATA ...

2005-12-02 Thread Kevin King
What's the filename? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Wolverton
Sent: Friday, December 02, 2005 3:18 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UD] LIST XMLDATA ...

We're trying to work the new XML logic... I'm working a simple test,
and think I've done all right up to now...

UniData 7.1 / Windows:

LIST XMLDATA ImpCoInfo.xml _XML/IMPCOINFO.EXT COMPANY.NAME ADDR.ONE
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] LIST XMLDATA ...

2005-12-02 Thread David Wolverton
Well ... That's the rub!!  The syntax uses the XML file (ImpCoInfo.xml) and
the extract mapping file (IMPCOINFO.EXT) to extract the data 'as if' it were
from the data file referenced then the extract file was built...  SO, there
is NO 'real' UniData file in use to run this command, but makes the mapped
XML data behave as if it WERE an UniData file. 

Now that's if I understand this all!!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Friday, December 02, 2005 4:53 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UD] LIST XMLDATA ...

What's the filename? 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD Terminal Emulator using UniObjects

2005-12-02 Thread John Jenkins
From my recollection, wIntegrate can run as an ActiveX control and has been
used as a screen scraper emulation behind GUI (WWW) applications in the
past (videotex even). It may even still be In the field to do this. If you
want any specifics drop me a line off the list and I'll see what I can add.

Don't know whether this helps or not?

I have to ask the question though - what is it you are trying to achieve
with this approach? 

Dynamic Connect ships at no additional cost with the databasem, but it looks
as if you want a hybrid application part GUI application and part TELNET.
wIntegrate gives you most of the functions you would need with its API (or
possibly using a wrapper on the bare control if you need to).

BTW: You would have to write the termulator yourself or acquire one from
someone else as a control (see above) Down to every nasty feature (aargh
- vt100 and the sticky cursor line wrapping question )


Regards

JayJay

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Burwell, Edward
Sent: 02 December 2005 18:35
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] UD Terminal Emulator using UniObjects

Has anyone seen or attempted to create a UD terminal emulator with vb6 and
UniObjects?  What control would you use as the emulator?  TextBox?
PictureBox?  WebBrowser control?  How do you handle the terminal definition?
Do you actually scrape the screen, then display the results (perhaps in a
picturebox), then capture keystrokes and display them?  Any info would be
greatly appreciated.  Thanks in advance.

Ed Burwell
973-361-5400 ext. 1512
[EMAIL PROTECTED]

__
This e-mail has been scanned by MCI Managed Email Content Service, using
Skeptic(tm) technology powered by MessageLabs. For more information on MCI's
Managed Email  Content Service, visit http://www.mci.com.
__
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] More Credit Card Info

2005-12-02 Thread karlp
I'm curious about how data can be transferred. I'm interested in a text
file via FTP or SFTP.

Thanks,

Karl

quote who=Kevin King
 I've done quite a bit with Paymentech.  What exactly is the question?

 -Kevin
 [EMAIL PROTECTED]
 http://www.PrecisOnline.com
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/



-- 
karl

 _/  _/  _/  _/_/_/      __o
_/ _/   _/  _/_/   _-\._
   _/_/_/  _/_/_/ (_)/ (_)
  _/ _/   _/  _/   ..
 _/   _/ arl _/_/_/  _/ earson[EMAIL PROTECTED]

--
IT Director, ATS Industrial Supply, Inc.
http://www.atsindustrial.com
Toll-free: 800-789-9300 x29
Direct2Desk: 801-978-4429
Facsimile: 801-972-3888
--
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] More Credit Card Info

2005-12-02 Thread Kevin King
I don't know if Paymentech has a drop file interface; it's been my
experience that they prefer the socket interface.  Even the settlement
file is transferred and responses received over a socket interface.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD Terminal Emulator using UniObjects

2005-12-02 Thread Tony Gravagno
Burwell, wrote:
 Has anyone seen or attempted to create a UD terminal
 emulator with vb6 and 
 UniObjects?  What control would you use as the emulator? ...

In addition to the Dart controls already recommended, see
http://catalyst.com/ for SocketTools.  Over the years I've used many of
their components, including the telnet protocol library and terminal
emulation library - this last one is the one you'd be interested in.  Very
happy with them.

You can also use the internals of AccuTerm to accomplish tasks - I've use
the telnet connectivity component with no UI, but never tried to use the UI
with a custom pipe like UO.  This is still subject to licensing but you can
discuss specifics with Pete Schellenbach.

May I ask exactly what you're doing with this sort of interface?  I find
many times that people ask how to technically implement X because they want
to do function Y, and it turns out the real technical solution may be to
use Z.  Here we go again with the notion of banging screws with hammers...
:)

If you do need something special written up and don't have the resources to
do it internally, I'll be happy to consider such a project.

HTH
Tony Gravagno,
Nebula Research and Development
TG@ removethisNebula-RnD .com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] - word Document

2005-12-02 Thread Tony Gravagno
Bjorn Behr wrote:
 We generate a 'text/word' document from Universe.
 What I would like to know is does anybody know what
 characters I need to place in the document so that when
 it is opened up in Word, it is in landscape format?

In order to get Word to do things you need to provide more than plain text,
you need to provide specific instructions.  Of course instructions need to
be formatted, and there are different ways to format instructions for Word,
including XML and HTML, using macros from existing Word docs/templates, or
you can use Word add-ins to pump data to/from Word and U2.  See an example
of a product that was written (not currently offered anymore, subject to
change based on encouragement from the market) to do this:
http:// removethisNeebula-RnD .com/products/doc.htm

For your purposes right now, you can use HTML as a base rather than plain
text.  Below this note is full HTML source which can be used as the base
for a landscape document.  Save this HTML page with a .DOC extension.  Word
will opens it, but to be considered a real Word Doc the user must SaveAs
DOC.  There is no getting around this: again, if you want Word to do
special things you must somehow integrate with it.

Rather than plain text, if you do use some method of using Word as a server
and pumping data into it, then you can execute a macro like this to change
the orientation:
  Sub SetLandscape()
ActiveDocument.PageSetup.Orientation = wdOrientLandscape
  End Sub
Combining the HTML provided below with macros, you could save your HTML as
.DOC, then open Word and using command-line switches cause it to execute
your macros, SaveAs DOC, then mail this final document to users.  Lots of
ways to skin this cat.

Rather than using Universe as your base, it might make more sense to ask
Universe to fire up a Windows process which will then read your text into a
formatted Word document (template), perform the orientation change, then
save the document where it can be used, e-mailed, etc.  You can even tie
this to standard Word mailmerge functions.  You can still use your BASIC
business rules, and data and everything else, it's just being initiated
from somewhere else.  For this, you can use tools like UO, UO.NET, mv.NET,
or PDP.NET as the data conduit and for executing your BASIC code and
returning data.  My preference would be to use the more advanced features
of the Visual Studio Tools for Office in conjunction with .NET, and then
use mv.NET as the link to U2.  I'll be happy to work on a project like this
if requested.

Before jumping into development, people might want to consider firing off
an instance of Word every time they want to generate a document.  Not only
is this a very bad use of resources but it's subject to many issues.
Opening an instance of Word (or other MS Office apps) in a Windows Service
is a straight-forward process for someone who knows how, but there are MANY
issues that need to be addressed, and Microsoft strongly discourages using
these user-oriented products in a server context.  Having a lot of
experience in this area, I also discourage that sort of usage, and that's
one of the reasons I no longer offer NebulaDoc as it was originally
designed.

HTH,
Tony Gravagno
Nebula Research and Development
TG@ removethisNebula-RnD .com

~
!-- Save this file as landscape.doc, then open with Word --
html xmlns:o=urn:schemas-microsoft-com:office:office
xmlns:w=urn:schemas-microsoft-com:office:word
xmlns=http://www.w3.org/TR/REC-html40;
head
style
!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:Times New Roman;
mso-fareast-font-family:Times New Roman;}
@page Section1
{size:11.0in 8.5in;
mso-page-orientation:landscape;
margin:1.25in 1.0in 1.25in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
--
/style
/head

body
div class=Section1
p class=MsoNormalyour content goes here/p
/div
/body
/html
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] SQL Server and UniVerse

2005-12-02 Thread Don Kibbey
With a multiprocessor box (dual core Opteron's, Yes!) you can set SQL
Server to use only a set number of the processors for itself.  The OS
and UniVerse would then share the remaining.  Aside from that and
tossing lots of memory and disk into the box you should be OK.

One side note is that you may find your self dealing with two systems
going down at the same time when a need for a reboot comes up.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Free Editor

2005-12-02 Thread Walter
I have Unidata 7.1 on Windows XP and I had the same server conncetion
problems until I setup the server as follows:

Name: any name (I tied the server name to the windows account I was
logged into)
Host: 'localhost' (without the quotes)
User: Name of the windows account you are logged into
Password: Password of the windows account you are logged into
Verify Password: Same as password above

Once I got the server setup with localhost and windows account and
password I reserved an account using the Demo example and I'm able to
access the directory and hashed files in the Unidata Demo account.
Just a thought since I haven't tried it myself. You may have to setup a
server for each windows account that you would want to use U2Editor from
since the server setup seems to be windows account specific. You would
also need to reserve the account(s) under each server that you want to
access.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Pflugfelder
Sent: Friday, December 02, 2005 11:47 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Free Editor


Is there any documentation for this?  Like others, I've been able to
download Eclipse, install it and the U2Editor, but I'm unable to connect
to any of my servers as of yet.  So far, I've tried a Windows and a
Linux server, each running current versions of Universe, but I have yet
to see any of my files.

Thanks,
-Mike Pflugfelder 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of D Averch
Sent: Thursday, December 01, 2005 3:47 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Free Editor

For too many years in the U2 Community, we have been laboring with a
single line editor.  Whether it was ED or the improved AE we have been
pretty much stuck in the 70's and 80's.  Others have produced a lot of
full-screen editors, but they take a telnet license for every session.
We have a solution for those who need to edit from multiple accounts,
machines and databases simultaneously in one editor environment.

U2Editor works on workstations such as Windows, Linux, Hp-UX, AIX,
Solaris, and Mac OS X. U2Editor is built on open source development tool
called Eclipse as a plug-in.  By using the Eclipse platform for the open
source community, U2Editor can be updated automatically or manually via
the web using Eclipse Update.  Those using U2Editor will always have the
most up-to-date copy of the software. 

U2Editor is available today for downloading at www.u2logic.com.  Or send
us an email [EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0548-1, 12/01/2005
Tested on: 12/2/2005 10:39:38 PM
avast! - copyright (c) 1988-2004 ALWIL Software.
http://www.avast.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/