[U2] Position Wanted - South Florida, USA

2008-02-28 Thread U2-Users
The company I worked, Tandem Staffing Solutions for was acquired and 
dissolved as of the end of 2007. I started in accounting and after 5 years 
switched into the IT side.  For the next 12 years, I have worked with 
Unidata and SBClient as the development platform. I helped develop and 
maintain inhouse applications, Masterpack, and HRPyramid (formerly SCORPEO 
from FW Davison).  I worked my way up from a juinior programmer to ,at the 
end, CIO for a brief time.  My heart, however, lies in the programming and 
development spectrum.

I have worked on projects that included:
- Check Printing (PCL)
- ACH and Bank Electronic transfers
- Payroll Tax and Treasury
- Operations Reporting
- FTP and PGP interfaces integrating via PERL
- Excel Spreadsheet Creation (via PERL)
- Executive Reporting
- Various staffing applications including an internally developed 
application
- Microsoft ASP integration with IBM Redback (now WDE).

I am currently looking for a position as a senior programmer, application 
development manager, or any like position in the South Florida area. 
Specifically in Broward County, Dade County, or West Palm beach.

If interested please email me at [EMAIL PROTECTED] to 
receive my resume or possible discussion the possible opportunities within 
your company.  Contract positions will be considered, although a permanent 
full time position is desired.

Regards,

Don Verhagen
[EMAIL PROTECTED]  (please remove [remove this] from 
the email address)
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2][UV] PE Edition Telnet Service Won't Start

2007-11-28 Thread u2
AFAIK, the PE edition of universe doesn't allow you to change the telnet
port via uniAdmin. However it does use the definition in the services file
(at c:\windows\system32\drivers\etc) so it you change telnet there then
universe will use the new port.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
> Sent: Wednesday, November 28, 2007 10:51 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2][UV] PE Edition Telnet Service Won't Start
> 
> 
> With Unidata at least you could use UniAdmin to reconfigure 
> the telnet port to something else temporarily.  I would 
> assume the same to be true for UV?
> 
> On Nov 28, 2007 8:35 AM, Andrew Lakeland 
> <[EMAIL PROTECTED]> wrote:
> > Proabbly License,  but you could start windows in safe mode 
> and see if 
> > your problem goes away. If it does, start your apps one by 
> one and see 
> > which ones prevents it from starting.
> >
> > Skype caused me a few problems.
> >
> > Re
> > andy
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds
> > Sent: 28 November 2007 16:00
> > To: u2-users@listserver.u2ug.org
> >
> > Subject: RE: [U2][UV] PE Edition Telnet Service Won't Start
> >
> > I also have the same problem.  I am at the U2U conference in San 
> > Francisco and have approached the experts with the issue.  
> If we get 
> > it resolved I will let all of you know the solution.
> >
> > Tom Dodds
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> Perry Taylor
> > Sent: Wednesday, November 28, 2007 5:48 AM
> > To: u2-users@listserver.u2ug.org
> > Subject: [U2][UV] PE Edition Telnet Service Won't Start
> >
> > I'm having some trouble getting my UniVerse 10.2 PE 
> (Windows) telnet 
> > service to start.  The last time I used it several months ago it 
> > worked just fine.  Now when I try to start it I get this in 
> the event 
> > log...
> >
> > Event Type: Error
> > Event Source:   IBM UniVerse
> > Event Category: None
> > Event ID:   1004
> > Date:   11/28/2007
> > Time:   8:40:30 AM
> > User:   N/A
> > Computer:   LS031
> > Description:
> > UniVerse error: Unable to bind socket to telnet port 23. It may be 
> > used by other application. WSA error: 10038.
> >
> > Running an open ports utility I see nothing bound to port 23.  The 
> > Windows telnet service is disabled.  I have uninstalled and 
> > re-installed UniVerse and still have had no success.
> >
> > Has anyone any suggestions?
> >
> > Thanks.
> >
> > Perry Taylor
> > ZirMed
> > ---
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> >
> > Legal Disclaimer:
> > The information contained in this message may be privileged and 
> > confidential. It is intended to be read only by the individual or 
> > entity to whom it is addressed or by their designee. If the 
> reader of 
> > this message is not the intended recipient, you are on 
> notice that any 
> > distribution of this message, in any form, is strictly 
> prohibited. If 
> > you have received this message in error, please immediately 
> notify the 
> > sender and delete or destroy any copy of this message
> >
> > ---
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> >
> 
> 
> 
> -- 
> -Kevin
> http://www.PrecisOnline.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] Clearing a portion of a screen

2007-08-28 Thread u2
It depends on what kind of terminal you're using. If you're using a terminal
emulator like Accuterm, there are command to set and clear an arbitrary
block on the screen. If you're using a vt100-type terminal or emulator, you
can set a scrolling region and then clear the region (by scrolling it). On a
wyse terminal, you can print the parts of the screen you want to not clear
using the protected attribute, and the part that you want to clear using
unprotected, and then use the clear unprotected control sequence. Universe
has @() entries for turning on and off protected mode and clearing
unprotected, but I don't think it has any predefined entries for scrolling
regions.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Joseph Ruiz
> Sent: Tuesday, August 28, 2007 4:42 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Clearing a portion of a screen
> 
> 
>   I know this is an easy question but how would I, in 
> Universe, clear out a section of a screen? Now I am doing the 
> following:
> 
> 
> 
> COL = 1
> 
> FOR XXX = IST.ROW  TO LST.ROW
> 
> CRT @(COL,XXX):@(-4)
> 
> NEXT XXX
> 
> 
> 
> Say the first position is  (1,1) and the last is (6,6). I 
> think I have done this in the past.
> 
> 
> 
> Thanks,
> 
> Joe
> ---
> 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] Stacker commands

2007-07-16 Thread u2
On universe you can get at the command stack with SYSTEM(33) from basic, but
I don't know that they are stored anywhere accessable from other processes.
(unidata saves the stack somewhere, as does D3, but some people think that
is a security hole--though no worse than TANDEM).
You can purposely save them somewhere with .S and restore with .R

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
> Sent: Monday, July 16, 2007 2:35 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [UV] Stacker commands
> 
> 
> Hello,
> 
> When the .L command is done at the TCL level, the last 
> executed commands are shown.  Anyone here know where those 
> commands are stored ?
> 
> Jacques G.
> 
> 
>
> __
> __
> Pinpoint customers who are looking for what you sell. 
> http://searchmarketing.yahoo.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 CREATE.FILE

2007-07-03 Thread u2
It depends on the flavor. The commands are very different.
In idea flavor, it's just
CREATE-FILE dirname 1
Or
CREATE-FILE dirname 19
And it creates a default dictionary for the file as type 3 modulo 1. If you
want a different size/type for the dictionary, create it first with
CREATE-FILE DICT dirname 3 4 5
Which creates the dict as type 3 modulo 4 seperation 5, and then create the
data portion with
CREATE-FILE DATA dirname 19

If you are in PICK flavor,
CREATE-FILE dirname 4,5,6 1,1,19
Will create a type 19 file with a type 6 dictionary modulo 4 seleration 5.
You need to put in the dummy 1,1 before the type 19.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
> Sent: Tuesday, July 03, 2007 1:36 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] UV CREATE.FILE
> 
> 
> Hello Group,
> 
> Anybody know the syntax to create a DIR type file from a 
> single command line execute on Universe?
> 
>  
> 
> The helps says it's type, then  modulo and sep -  then gives 
> the specific example CREATE.FILE DATA TEST 4 3 2 saying that 
> this will create type 4 file with a modulo of 3 and a 
> separate of 4, but when I type that exact command at TCL I get:
> 
>  
> 
> >CREATE.FILE DICT SJTEST7 4 3 2  
> 
> Creating file "D_SJTEST7" as Type 18, Modulo 4, Separation 1.
> 
> Added "@ID", the default record for RetrieVe, to "D_SJTEST7".
> 
> I've always just done it CREATE.FILE filename - then hit 
> return and it prompts me.  It does, by the way prompt for 
> modulo first.  But if I try to do THAT on the command line, 
> as in CREATE.FILE SJTEST8 1 2 19 . I still don't get what I'm after:
> 
>  
> 
> >CREATE.FILE SJTEST8 1 2 19 
> 
> Creating file "SJTEST8" as Type 18, Modulo 2, Separation 1. 
> 
> Creating file "D_SJTEST8" as Type 18, Modulo 1, Separation 1
> 
> Added "@ID", the default record for RetrieVe, to "D_SJTEST8"
> ---
> 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] [UD] Dynamic variable. Kids, Don't try this at home!!!

2007-04-06 Thread u2
You can come up with some bizzare and totally unportable code in unidata
using equates:
EQU READNEXT TO 12345
ID='2R'
LOOP WHILE READNEXT ID DO
  CRT READNEXT ID
  CRT ID
  *just for demo--won't make you go into an endless loop
  EXIT
REPEAT

Which on unidata prints
12\34\5
2R
Because fmt(12345,'2R')=12\34\5.
On universe, this compiles, but the equate processor doesn't replace the
READNEXT, so it would exit the loop immediately.

This innocent definition of an ascii table compiles and works on universe
but won't on unidata:
EQU NUL TO CHAR(0)
EQU SOH TO CHAR(1)
EQU STX TO CHAR(2)
...
EQU DEL TO CHAR(127)
A='1':@AM:'2'
DEL A<1>
CRT A



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tony Gravagno
> Sent: Friday, April 06, 2007 4:56 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UD] Dynamic variable
> 
> 
> Ed wrote:
> > Just discovered something kinda cool that I want to share:
> > 
> > Here are a set of equates:
> > 
> > 004:EQU TEF.TOTAL.VAL   TO SUM(TEF.VAL)
> > 0009: PRINT "TOTAL  = ":TEF.TOTAL.VAL"R#3"
> > 0010: PRINT "SUM= ":SUM(TEF.VAL)"R#3"
> > When you run this, the variable "TEF.TOTAL.VAL" always 
> "knows" the sum 
> > of the values in TEF.VAL!!
> 
> That's interesting because in other cases it could be a bug.  
> Ed, since you initiated this, could you tell us what happens 
> with the following?  I don't have UD installed here at the moment:
> 
>   EQU DELETE TO 1
>   OPEN "FOO" TO F ELSE STOP
>   DELETE F,"KEY"
>   INFO = "BLAH"
>   INFO = DELETE(INFO,1)
> 
> Does it give you an error telling you the delete lines are 
> invalid?  If so it could be converting to this:
>   1 F,"KEY"
>   INFO = 1(INFO,1)
> 
> In other MV systems we do NOT want to do something like this 
> because the code is compiled into the object, not evaluated 
> at runtime like the SUM() :
>   EQU SCREEN.HDR TO @(-1):@(20,0):"Top of Page..."
> 
> I would be careful about taking advantage of tricks like this 
> simply because it's a crap shoot as to whether the code will 
> be portable to another MV release - and even an upgrade of 
> the current environment could break this if some developer 
> decided it was a bug that needed to be fixed.
> 
> Thanks for the tip.
> T
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.26/748 - Release 
> Date: 4/5/2007 3:33 PM
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007
3:33 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] Dynamic variable

2007-04-06 Thread u2
Sorry, I mentioned vlist in my previous response. That's a universe thing. I
don't know if there's an equivalent in unidata. Universe/unidata differ in
what they will accept in an equate. I know jbase differs. Something like
this:
0001 C=0
0002 EQU A TO CHAR(C
0003 C=1
0004 *note I left the closing parenthesis off of the equate line. So I need
to add it here:
0005 CRT A)
Is legal in jbase (and cachi) but wont compile in universe or unidata, or
probably d3 (didn't check). And it looks like a silly thing to do, but c
programmers are familiar with some of the odd gymnastics that can be done
with defines.

Both unidata and Jbase  accept this, though universe wont:
0001 DIM MYCHAR(100)
0002 MYCHAR(64)='AT-SIGN'
0003 EQU CHAR TO MYCHAR
0004 CRT CHAR(64)
Unidata and jbase print AT-SIGN instead of the probably expected @. Universe
is doing some extra parsing that prevent you from replacing system functions
with equates, but jbase and unidata allow this.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Burwell, Ed
> Sent: Friday, April 06, 2007 3:43 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [UD] Dynamic variable
> 
> 
> Just discovered something kinda cool that I want to share:
> 
> Here are a set of equates:
> 
> COM.DEFS TEST.FILE
> 001:DIM TEF(2)
> 002: *
> 003:EQU TEF.VAL TO TEF(1)
> 004:EQU TEF.TOTAL.VAL   TO SUM(TEF.VAL)
> 005: *
> 
> And here is a little test program:
> 
> 0001: *
> 0002: INCLUDE COM.DEFS TEST.FILE
> 0003: 10  MAT TEF=""
> 0004: FOR I=1 TO 5
> 0005:TEF.VAL<1,I>=RND(20)
> 0006:PRINT "VALUE ":I:" = ":TEF.VAL<1,I>"R#2"
> 0007: NEXT I
> 0008: PRINT ""
> 0009: PRINT "TOTAL  = ":TEF.TOTAL.VAL"R#3"
> 0010: PRINT "SUM= ":SUM(TEF.VAL)"R#3"
> 0011: PRINT STR("-",78)
> 0012: PRINT "RETURN to do it again or 'E'xit ": ; INPUT B,1
> 0013: IF UPCASE(B)="E" THEN STOP ELSE GO 10
> 0014:  END
> 
> When you run this, the variable "TEF.TOTAL.VAL" always 
> "knows" the sum of the values in TEF.VAL!!
> 
> Also, if you try to do this in a program:
> 
> TEF.TOTAL.VAL=0
> 
> It won't compile!!  It knows!!
> 
> Very cool (I think).
> 
> Ed
> 
> __________
> 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/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.26/748 - Release 
> Date: 4/5/2007 3:33 PM
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007
3:33 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] Dynamic variable

2007-04-06 Thread u2
TEF.TOTAL.VAL isn't a variable. For the most part, equates are just
replacements. Everywhere you have TEF.TOTAL.VAL in your code gets replaced
with SUM(TEF.VAL) so
TEF.TOTAL.VAL=0
Becomes
SUM(TEF.VAL)=0
Which of course is illegal and won't compile.

You can see the replacements at work with vlist. Compile this program:
0001 EQU TEF.TOTAL.VAL TO SUM(TEF.VAL)
0002 CRT TEF.TOTAL.VAL
0003 CRT SUM(TEF.VAL)
And then vlist it:
1: EQU TEF.TOTAL.VAL TO SUM(TEF.VAL)

2: CRT TEF.TOTAL.VAL
2 0 : 198 sumTEF.VAL  => $R0
2 6 : 046 crtcrlf$R0

3: CRT SUM(TEF.VAL)
3 C : 198 sumTEF.VAL  => $R0
3 00012 : 046 crtcrlf$R0
4 00018 : 190 stop

The equate line doesn't generate any code, and the two CRTs generate
identical code.
So, just like when you use define in C, you need to be careful about what
you equate. For example:

0001 C=0
0002 EQU A TO CHAR(C)
0003 C=1
0004 CRT A
Is going to print char(1) on line 4 instead of the maybe expected char(0).

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Burwell, Ed
> Sent: Friday, April 06, 2007 3:43 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [UD] Dynamic variable
> 
> 
> Just discovered something kinda cool that I want to share:
> 
> Here are a set of equates:
> 
> COM.DEFS TEST.FILE
> 001:DIM TEF(2)
> 002: *
> 003:EQU TEF.VAL TO TEF(1)
> 004:EQU TEF.TOTAL.VAL   TO SUM(TEF.VAL)
> 005: *
> 
> And here is a little test program:
> 
> 0001: *
> 0002: INCLUDE COM.DEFS TEST.FILE
> 0003: 10  MAT TEF=""
> 0004: FOR I=1 TO 5
> 0005:TEF.VAL<1,I>=RND(20)
> 0006:PRINT "VALUE ":I:" = ":TEF.VAL<1,I>"R#2"
> 0007: NEXT I
> 0008: PRINT ""
> 0009: PRINT "TOTAL  = ":TEF.TOTAL.VAL"R#3"
> 0010: PRINT "SUM= ":SUM(TEF.VAL)"R#3"
> 0011: PRINT STR("-",78)
> 0012: PRINT "RETURN to do it again or 'E'xit ": ; INPUT B,1
> 0013: IF UPCASE(B)="E" THEN STOP ELSE GO 10
> 0014:  END
> 
> When you run this, the variable "TEF.TOTAL.VAL" always 
> "knows" the sum of the values in TEF.VAL!!
> 
> Also, if you try to do this in a program:
> 
> TEF.TOTAL.VAL=0
> 
> It won't compile!!  It knows!!
> 
> Very cool (I think).
> 
> Ed
> 
> __________
> 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/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.26/748 - Release 
> Date: 4/5/2007 3:33 PM
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.26/748 - Release Date: 4/5/2007
3:33 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] HELP!!! with MVEnterprise and DigiPort Problem

2007-03-05 Thread u2
It's probably not mventerprise's fault. You need to debug the digiport from
AIX.
Do you have a file /dev/tty82 and does it have read/write permissions for
the user that mventerprise runs as? You probably need to configure the
digiport through smit to get the range of tty numbers that you want.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of John Varney
> Sent: Monday, March 05, 2007 9:39 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] HELP!!! with MVEnterprise and DigiPort Problem
> 
> 
> I have a REAL strange problem here.
> 
> We just went from an old box to new box.
> AIX version 5.3
> MVEnterprise 4.2
> Digi Realport v3.8.7
> 
> We went from AIX v5.2 to 5.3
> MVEnterprise 4.1 to 4.2
> 
> Most everything went painlessly except when we tried to get 
> our Digiports up. The error we get is as follows:
> 
>  ** prodpick 82 tty82 ** Terminal path '/dev/tty82' open errno 11
> * prodpick 82 tty82 ** Child exit; mvEnterprise status 11
> 
> Trying to go back to the old box yields the SAME error.
> 
> Has anyone seen this before? Does anyone have a solution for this?
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.7/711 - Release 
> Date: 3/5/2007 9:41 AM
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.7/711 - Release Date: 3/5/2007
9:41 AM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UVBACKUP

2007-02-20 Thread u2
According to the documentation (HELP uvbackup), the -t parameter on uvbackup
can be either an entry in &DEVICE& or a pathname

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Linda Dubes Law
> Sent: Tuesday, February 20, 2007 9:56 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] UVBACKUP
> 
> 
> UV on AIX
> 
> Is it possible to use UVBACKUP to backup to a file on the harddisk 
> rather than to tape?  How do I set up the device to be a directory?
> 
> Thanks,
> 
> Linda Law
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.441 / Virus Database: 268.18.3/693 - Release 
> Date: 2/19/2007 5:01 PM
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.3/693 - Release Date: 2/19/2007
5:01 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] SPOOLER

2007-01-26 Thread u2
What user is the spooler running as (I think it's usd that's doing the
spooling here?) If it's root, then su won't need a password.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen
> Sent: Friday, January 26, 2007 8:14 AM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UV] SPOOLER
> 
> 
> Would have to include the user password in the feed to 
> satisdy the 'su' command however.
> 
> Barry  Rogen
> PNY Technologies, Inc.
> Senior  Programmer/Analyst
> (973)  515 - 9700  ext 5327
> [EMAIL PROTECTED]
> 
> -
> Far better it is to dare mighty things, to win 
> glorious triumphs even though checkered by
> failure, than to rank with those poor spirits who
> neither enjoy nor suffer much because they live
> in the gray twilight that knows neither victory
> nor defeat.t. roosevelt
> 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mats Carlid
> Sent: Friday, January 26, 2007 3:42 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] [UV] SPOOLER
> 
> A simple  "su  $1"  in the spooler driver before lp
> should  make the user the owner of the print job
> and allow 'm to cancel the job.
> 
> Disclaimer: Not tested.
> 
> 
> HTH
> -- 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/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.10/651 - Release 
> Date: 1/24/2007 6:48 PM
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/653 - Release Date: 1/26/2007
11:11 AM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] SPOOLER

2007-01-25 Thread u2
You could install sudo and give joe permission to run cancel.
You could take the unix spooler out of the loop and just have universe print
to the printer directly. You could configure universe to use a program like
tcpcat to print instead of passing the job to lp.
Are you using cups for unix printing?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Barry Rogen
> Sent: Thursday, January 25, 2007 12:11 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [UV] SPOOLER
> 
> 
>We are in the processing of  setting up a new system that 
> we will be migrating to.
>It will be running  10.2  on HPUX 11.23.
> 
>We are planning to stop using our network print server and 
> spool through Unix
>directly to the IP address. Here is the challenge.
> 
> Joe produces a quite sizable job to the printer. So, the 
> UniVerse spooler processes
> the job and hands it off to the Unix spooler. At this 
> point, the job is no longer visible
> to the UniVerse spooler.  Since 'usd'  is running with 
> superuser level,  the Unix print
> file gets created with the same security level.
> 
> Joe decides to cancel the print job.  He can not execute 
> SPOOL -CANCEL because
> UniVerse is no longer cognizant of the file. He cant 
> 'cancel'  the job, because he does
> not have security level.
> 
> Question:  How to create a print job from UniVerse, so 
> that the Unix print file will have
> an ownership/security that will allow Joe 
> to cancel his own print job.
> 
>  Note: If you press the  button on printer, Unix 
> seems to say 'oh, something
>   happened to the printing, let me start over and 
> print it again'
> 
> 
> Thoughts, ideas, comments, criticisms.
> 
> Barry  Rogen
> PNY Technologies, Inc.
> Senior  Programmer/Analyst
> (973)  515 - 9700  ext 5327
> [EMAIL PROTECTED]
> 
> -
> Far better it is to dare mighty things, to win
> glorious triumphs even though checkered by
> failure, than to rank with those poor spirits who
> neither enjoy nor suffer much because they live
> in the gray twilight that knows neither victory
> nor defeat.    t. roosevelt
> ----
> 
> [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/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.10/651 - Release 
> Date: 1/24/2007 6:48 PM
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.10/651 - Release Date: 1/24/2007
6:48 PM
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UDT.EXE

2006-12-21 Thread u2
I don't know about udsort.exe, but you can purposely rebuild udt.exe.
There's a makeudt command documented in the administration manual. You can
add some usefull features with it.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Thursday, December 21, 2006 3:04 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] UDT.EXE
> 
> 
> You mean like by a virus? 
> 
> >-Original Message-
> >From: Dave S
> >
> >Has anyone seen where the udt.exe and udsort.exe has been modified ?
> >   
> >  If so, what causes this to happen ?
> ---
> 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 - commands from Unix

2006-11-22 Thread u2
I've never seen documentation, but you can run some of them with no
parameters and get a usage message. You can also search the mailing list
archives:
http://www.mail-archive.com/search?l=u2-users%40listserver.u2ug.org&q=mkdbfi
le

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Hennessey, Mark F.
> Sent: Wednesday, November 22, 2006 12:32 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] UV - commands from Unix
> 
> 
> Is there documentation for Unix/OS level commands like 
> 'mkdbfile'? I'm also very interested in UVchange, UVdelete, 
> UVread and  UVwrite - they appear to allow editing of 
> universe records at the os level...
> 
> As all ways, any advice is appreciated.
> 
> Mark Hennessey
> ---
> 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] Universe Equivalent of the UnIData DIR command

2006-11-08 Thread u2
Universe has a STATUS statement (not the function) and a FILEINFO()
function. I think the STATUS statement will return most of what you are
looking for.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Doug Farmer
> Sent: Tuesday, November 07, 2006 4:12 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Universe Equivalent of the UnIData DIR command
> 
> 
> Similar to my last post, Is there is a command that works the 
> same as the UniData DIR command under UniVerse.  I have not 
> been able to find any items in the UniVerse documentation 
> that comes close.  I am using the DIR command to determine if 
> a file exists at the OA level.
> 
> The UnIData DIR command returns the file size in bytes, last 
> modified date, last modified time, and file permissions of a file.
> 
> Again, I need this to work under Windows and Unix
> 
> Thanks in Advance
> 
> Doug Farmer
> 
> 
> This e-mail is for the use of the intended recipient(s) only. 
> If you have received this e-mail in error, please notify the 
> sender immediately and then delete it. If you are not the 
> intended recipient, you must not use, disclose or distribute 
> this e-mail without the author's prior permission. We have 
> taken precautions to minimize the risk of transmitting 
> software viruses, but we advise you to carry out your own 
> virus checks on any attachment to this message. We cannot 
> accept liability for any loss or damage caused by software viruses.
> ---
> 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@listserver.u2ug.org

2006-10-26 Thread u2
This may be more overhead than you want, but it's easy to use SETPTR mode 2
to print to a specific file

0001 * something you would do only once as part of installation
0002 EXECUTE 'CREATE-FILE ALT.HOLD 19'
0003
0004 PORT='HOLD':@USERNO ;* or something more unique like "INVOICES"
0005 ENTRYNAME=PORT ;* in case you want the file to have a different name
from the PORT
0006 OPEN 'ALT.HOLD' TO ALT.HOLD ELSE STOP ;* your favorite error handling
goes  here
0007 HOLD.PATH=FILEINFO(ALT.HOLD,2) : '/' : ENTRYNAME
0008 WRITE '' ON ALT.HOLD,ENTRYNAME ;* the file needs to exist, and you want
it  to be empty to start
0009
0010 OPEN '&DEVICE&' TO DEVICES ELSE STOP
0011 WRITE 'HOLD FOR PORT ':@USERNO : @AM : HOLD.PATH ON DEVICES,PORT
0012
0013 EXECUTE 'ASSIGN ':PORT:' TO LPTR 0'
0014 * the ASSIGN does an automatic SETPTR with default settings that you
might  want to change
0015 EXECUTE 'SETPTR 0,132,60,,,2,BRIEF'
0016
0017 * now print stuff. The assign also did an SP-OPEN, so everything goes
to the same file
0018 EXECUTE "BLOCK-PRINT HELLO"
0019 EXECUTE "LIST VOC LPTR"
0020 EXECUTE "BLOCK-PRINT GOODBYE"
0021
0022 * and when you are done
0023 EXECUTE "UNASSIGN ":PORT

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
> Sent: Thursday, October 26, 2006 11:50 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Somewhere other than &HOLD&
> 
> 
> Is there a way in UV to direct a printjob to another file 
> besides &HOLD& using the SETPTR (more precisely the !SET.PTR command?
> 
> I Just want to re-direct specific jobs, but keep &HOLD&
> 
> My workaround is is READ/WRITE/DELETE the job from &HOLD& to
>where I want it after the job is completed. But I'd rather not have
>to open 2 more files if it can be done via the setptr.
> 
> George
> 
> George Gallen
> Senior Programmer/Analyst
> Accounting/Data Division
> [EMAIL PROTECTED]
> ph:856.848.1000 Ext 220
> 
> SLACK Incorporated - Delivering the best in health care 
> information and education worldwide. http://www.slackinc.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] Cache

2006-09-14 Thread u2
Cache has a utility MVIMPORT that will load a uvbackup. So use universe to
back up an account, and then import it into cache. If you are running cache
on windows, it asks if you want to view the "getting started" page at the
end of the install, and there's information there about more you can do.
Also there's some multivalue documentation in the system documentation link
that you get by right-clicking the cache cube.
There's a google group CacheMV http://groups.google.com/group/CacheMV for
the cache MV developer community.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Nick 
> Cipollina
> Sent: Thursday, September 14, 2006 3:42 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2][UV] Cache
> 
> 
> Hello,
> 
> Has anyone on the list ever looked at Cache from 
> InterSystems?  We are currently evaluating it, and I'm trying 
> to figure out how to pull some of our Universe stuff into 
> Cache.  Any help would be appreciated.
> 
> Thanks,
> 
> Nick Cipollina
>  
> MCTS, MCP
> ACS Heritage, Inc.
> 2810 North Parham Road, Suite 210
> Richmond, VA 23294
> (804)965-8294
> ---
> 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] RE: [U2] Caché and UniVerse

2006-08-15 Thread u2
I've been playing with it. There's also a google group cacheMV.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Claus Derlien
> Sent: Tuesday, August 15, 2006 10:21 AM
> To: u2-users@listserver.u2ug.org
> Cc: [EMAIL PROTECTED]
> Subject: [U2] Cachi and UniVerse
> 
> 
> I have started to look alittle on Cachi from Intersystems, 
> and it looks very promising, does anyone on the list know it ?
> 
> best regards from denmark
> 
> Claus Derlien
> ---
> 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] Unidata proc manual

2006-08-08 Thread u2
Has anyone ever seen a unidata proc manual? I can't find any reference,
other than some information on user exits

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/411 - Release Date: 8/7/2006
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] RE: Multivalued datatypes considered harmful | The Register

2006-07-20 Thread u2
[EMAIL PROTECTED] wrote:
> I responded in a positive tone to the author with examples of how his 
> assertions are undermined by simple understanding of the processes involved - 
> primarily separating selection from display in one's mindset.

I've also replied - with a condensed version of my usual stuff about Codd & 
Date's rules being a useless foundation for building a decent theory on. Rather 
than likening those rules to Newton, I decided it was better to liken them to 
Galileo. Galileo said "the planets CIRCLE the sun", which was badly wrong. We 
view him much more favourably, in part because he had the right idea, and in 
part because we confuse the words "circle" and "orbit" such that what we hear 
is very much *not* what he said.

I'm hoping he might respond to me, in which case I'll point him to rather more 
stuff. In particular, my page on PickWiki, but I don't want to risk that 
reference getting published!

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


RE: [U2] Search email archives

2006-07-11 Thread u2
If people only searched the archives for answers before posting
questions... if you'd bothered to search the archives, you'd see that
indexinfocus has been down for a while now. Hehe.
But anyway.
Try http://www.mail-archive.com/u2-users%40listserver.u2ug.org/


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of DAWES, Ray
> Sent: Tuesday, July 11, 2006 9:37 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Search email archives
> 
> 
> I have tried to search the email archives from the u2 web 
> site but get the following error:
> 
> The requested URL /cgi-bin/htsearch was not found on this 
> server. Apache/2.0.54 (Fedora) Server at www.indexinfocus.com 
 Port 80

Anyone know how to fix?

Ray Dawes
Manufacturing Systems Manager
CarnaudMetalbox Engineering plc, Dockfield Road,
Shipley, BD17 7AY, UK
Email: [EMAIL PROTECTED] 
   Tel: 0 (+44) 1274 846283 Fax: 0 (+44) 1274 846201




CONFIDENTIALITY NOTICE

The information contained in this e-mail is intended only for the
confidential use of the above named recipient. If you are not the
intended recipient or person responsible for delivering it to the
intended recipient, you have received this communication in error and
must not distribute or copy it. Please accept the sender's apologies,
notify the sender immediately by return e-mail and delete this
communication. Thank you. 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/384 - Release Date:
7/10/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/384 - Release Date:
7/10/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] CREATE.BFILE filetype

2006-06-13 Thread u2
Looks like CREATE.BFILE is just a wrapper for create.file. The only
difference between a type 1 and a type 19 file physically is that the
type 1 has an empty file in it named ".Type1". So maybe you replaced
CREATE.BFILE with a program that runs CREATE.BFILE under another name
and then writes the magic file, or resizes it?
In ideal flavor, creating a type 19 file is as easy as typing
"CREATE.FILE MYFILE 19" and you get a default dictionary size, so maybe
you replaced CREATE.BFILE with a proc?
PQ
HCREATE-FILE
A2
H19
P


> -Original Message-
> From: [EMAIL PROTECTED] 
> [HYPERLINK
"mailto:[EMAIL PROTECTED]"mailto:[EMAIL PROTECTED]
ver.u2ug.org] On Behalf Of gerry-u2ug
> Sent: Tuesday, June 13, 2006 10:46 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] CREATE.BFILE filetype
> 
> 
> Stupid brainfart question (?) :
> 
> we had things configured so that CREATE.BFILE created type 19 
> files. sometime recently the command has reverted to creating 
> type 1 files.
> 
> I can't remember how we got the type 19 behaviour so I'm not 
> sure where to look for the culprit or how to change it back. 
> Can anyone point me in the right direction on this ?
> 
> The problem surfaced when UV.VI stopped working for items 
> with long names - again :( I fixed the issue here by changing 
> CREATE.BFILE to CREATE.FILE 19 to force the file type to 19.
> 
> Gerry
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit HYPERLINK
"http://listserver.u2ug.org/"http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.8.3/362 - Release 
> Date: 6/12/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 6/12/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Printer page breaks

2006-06-09 Thread u2
You don't have to actually write to the screen, just X=@(0) is enough:
Any reference to the cursor positioning function will work. It has to be
an actual positioning function and not one of the negative codes like
@(-1)

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik
> Sent: Friday, June 09, 2006 2:50 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UV] Printer page breaks
> 
> 
> >I like the command
> >
> >   crt @(0)
> 
> So writing to the screen using specific coordinates will 
> disable paging? Interesting.
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.8.3/359 - Release 
> Date: 6/8/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 6/8/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] SETPTR MODE 1

2006-06-09 Thread u2
We on the list reserve the right to answer a different question from the
one asked provided that 1) we give some explanation as to why we are
answering a different question,  2) we refrain from actually coming out
and saying that the original question was really dumb: you must couch
your response in terms like "It will avoid you much pain if...", and 3)
we are willing to accept that the person asking the question might
actually enjoy the pain he will be putting himself through by ignoring
our off-topic response.
(btw, not a dumb question at all. Just another example of why I always
wonder about people who run UNIverse in WINverse)

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach
> Sent: Friday, June 09, 2006 11:01 AM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] SETPTR MODE 1
> 
> 
> Yes, but that's not what he asked .. (or as much fun).
> 
> Brian 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> Jeff Schasny
> > Sent: 09 June 2006 15:32
> > To: u2-users@listserver.u2ug.org
> > Subject: RE: [U2] SETPTR MODE 1
> > 
> > Would it not be easier to just setptr mode 3 and read the
> > resulting item from &HOLD&?
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Brian Leach
> > Sent: Friday, June 09, 2006 3:01 AM
> > To: u2-users@listserver.u2ug.org
> > Subject: RE: [U2] SETPTR MODE 1
> > 
> > 
> > Chris,
> > 
> > The shd files are not meant to be readable. To get the
> > printer and job information you really need to go through the 
> > Windows APIs - but it's not as bad as that sounds .
> > 
> > You can get printer and job information through the WMI
> > library (search on MSDN for WMI Printer). WMI is a COM based 
> > model, which means you can call it from VBScript or a simple 
> > executable in VB or Delphi. VBScript you can execute from 
> > UniVerse using a verb pointer to the cscript command (copy 
> > the pointer for DOS and change cmd.exe to cscript.exe), or a 
> > simple executable can be made into a verb pointer directly.
> > 
> > Both will allow you to capture output.
> > 
> > (IF you haven't met VBScript before, I have an article on the
> > U2UG knowledge base on using VBScript with UniObjects. 
> > VBScript is very useful.)
> > 
> > I have done something similar for interfacing UniVerse to the
> > Windows Fax Manager.
> > 
> > If you need some help getting started, email me off list.
> > 
> > Regards,
> > 
> > Brian
> > 
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Chris Day
> > > Sent: 09 June 2006 05:25
> > > To: u2-users@listserver.u2ug.org
> > > Subject: RE: [U2] SETPTR MODE 1
> > >
> > > Hi John,
> > >
> > > Good that you have found where the print files are located on the
> > > system.
> > >
> > > Unfortunately, I have not tried to read the details
> > contained in the
> > > .shd file at all, but someone else on the list may be able
> > to assist
> > > with this.
> > >
> > > Chris Day
> > > Technical Pre-Sales Specialist
> > > Meier Business Systems
> > > Melbourne * Sydney * Kuala Lumpur * Singapore
> > >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of John Kent
> > > Sent: Friday, 9 June 2006 12:31 PM
> > > To: u2-users@listserver.u2ug.org
> > > Subject: Re: [U2] SETPTR MODE 1
> > >
> > > Chris,
> > > aha found it.
> > >
> > > But how does one read the shd file ?
> > > This look like where the job description etc SPOOL -LIST uses on
> > > windows So i am guessing there is a way to read this and 
> define the 
> > > data delimiters
> > >
> > > jak
> > > - Original Message -
> > > From: "Chris Day" <[EMAIL PROTECTED]>
> > > To: 
> > > Sent: Friday, June 09, 2006 11:38 AM
> > > Subject: RE: [U2] SETPTR MODE 1
> > >
> > >
> > > > Hi John,
> > > >
> > > > On windows if you use the HOLD keyword on the SETPTR
> > statement, the
> > > > resulting print job will end up in the spooler directory of the
> > > system.
> > > >
> > > > On

RE: [U2] [UV] XMLEXECUTE syntax {Unclassified}

2006-06-06 Thread u2
According to the examples here:
http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0601dre
yfuss/ XMLExecute takes 4 parameters, while your sample show 2, so I
guess the new features documentation must be out of date.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of HENDERSON MIKE,
MR
Sent: Tuesday, June 06, 2006 6:51 PM
To: u2-users@listserver.u2ug.org
Cc: TOMLINSON RUTH, MS
Subject: [U2] [UV] XMLEXECUTE syntax {Unclassified}


Folks

According to the 10.1 'new features' list ["newfeatures.pdf"], the
syntax below is correct, but the compiler doesn't like it. And of
course, there's no "HELP BASIC XMLEXECUTE" and the Basic Extensions
manual says the same as the New Features Guide.

Any ideas what the syntax is really supposed to be?


Thanks


Mike

> __
> From: TOMLINSON RUTH, MS
> Sent: Wednesday, 7 June 2006 10:38
> To:   HENDERSON MIKE, MR
> Subject:  xmlexecute
>
> Compiling: Source = '', Object = ' ***?**
> **
> 000373  STATUS = XMLEXECUTE(A1000.GEN.XML.SENT, Z.XML.MSG)
>^ 
> Incorrect number of arguments
>
>
> 1 Errors detected, No Object Code Produced.

The information contained in this Internet Email message is intended for
the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence
Force. If you are not the intended recipient you must not use, disclose,
copy or distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
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 - USING keyword

2006-05-26 Thread u2
Using the demo files that come with universe (MAKE.DEMO.FILES creates
them) I can
LIST USING DICT INVENTORY.F CUSTOMER.F
And
LIST USING DICT CUSTOMER.F INVENTORY.F
And
LIST CUSTOMER.F USING DICT INVENTORY.F
Not that any of those commands make any sense ;-) but they all work.
So maybe there's something odd about the dict of your TEMP.DICT or
CUSTOMER.FILE. Maybe one of them has a definition for USING? Or maybe
the VOC entry for USING got wiped. The one on my system looks like:
>CT VOC USING

 USING
0001 K
0002 24

Does CUST.NAME exist in the dict TEMP.DICT?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Banker
> Sent: Friday, May 26, 2006 4:59 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] UV - USING keyword
> 
> 
> What is the proper way to use the USING keyword in a list? It 
> doesn't seem to work as stated in the manual unless I am 
> using (no pun intended) wrong. According to the manual this 
> is how the command is used.
> 
> 
> 
> LIST [DICT | USING [DICT] dictname] filename [records | FROM 
> n] [selection] [output.limiter] [sort] [output] [report.qualifiers]
> 
> 
> 
> When I try
> 
> LIST USING DICT TEMP.DICT CUSTOMER.FILE CUST.NAME
> 
> 
> 
> I get the error
> 
> RetrieVe: syntax error.  Unexpected symbol.  Token was "DICT".
> 
>   Scanned command was LIST USING DICT
> 
> 
> 
> Now I've tried moving the using part to different places on 
> the line but none seem to work.
> 
> Any help would be appreciated.
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.7.1/348 - Release 
> Date: 5/25/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.1/348 - Release Date: 5/25/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Accessing UV Data from Microsoft SSIS in SQL Server 2005

2006-05-22 Thread u2
[EMAIL PROTECTED] wrote:
> Bill
> 
> The VSG is for UniData only, and is used to enable a UniData account for
> ODBC. 
> 
> For UniVerse you don't have a VSG equivalent, but you do need good clean
> dictionaries (I recommend creating a clean set of dictionary files and
> connecting them to the live data files via file pointers), ensure MVs and
> associations are correctly defined and only use D and I types; and ensure
> that the necessary @ entries (e.g. @SELECT) are set up before enabling an
> account for ODBC/OleDB using the HS.ADMIN menu (LOGTO HS.ADMIN and type
> HS.ADMIN), assuming that is how you wish to get at the data.
> 
> If you want more help with ODBC/OleDB email me off-list.
> 
There's a bunch of programs to clean up your file definitions for odbc on 
PickWiki. Written by yours truly. Take a look...

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


RE: [U2] Backup Question

2006-05-17 Thread u2
Seems like there should be a market for a product that can do online
backups of unidata like uvbackup does for universe or the FILE-SAVE does
for pick.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Robert DunnMiller
> Sent: Wednesday, May 17, 2006 1:06 PM
> To: u2-users@listserver.u2ug.org
> Cc: [EMAIL PROTECTED]
> Subject: RE: [U2] Backup Question
> 
> 
> There is not a UniData backup utility like UniVerse does. 
> Every site that I have been involved with uses o/s level backups.
> 
> There is a need to quiesce the database before breaking the 
> mirror for backups. dbpause will force all writes to disk and 
> will inhibit writes to the datafiles in the database, with a 
> few exceptions (writes to the _HOLD_,
> _PH_) and will not interrupt report printing. Once the 
> dbpause is executed, the mirror is broken, and the database 
> is resumed with dbresume. This can be scripted so as to 
> minimize the actual down time. For a very large installation 
> (>1800 users, very active system) this time is in the 
> neighborhood of 1-4 minutes, depending on disk activity, and 
> how much data needs to be flushed to disk.
> 
> Please contact me off line if you would like to discuss further.
> 
> Regards,
> 
> Robert
> 
> ---
>  
> Regards,
>  
> Robert
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Wednesday, May 17, 2006 10:42
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] Backup Question
> 
> Does unidata have a backup utility at all, or are all backups 
> done at the os level? Unidata DOES have journaling. I don't 
> know how much overhead that adds to the system, but it could 
> be worth looking into. If you go the mirroring route, you 
> would still have to stop the database before breaking the 
> mirror to ensure the integrity of what you are backing up on 
> the mirror, so it seems there would still be down-time required.
> 
> > -----Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > [EMAIL PROTECTED]
> > Sent: Wednesday, May 17, 2006 9:53 AM
> > To: u2-users@listserver.u2ug.org
> > Subject: Re: [U2] Backup Question
> > 
> > 
> > [EMAIL PROTECTED] wrote:
> > > Hello all,
> > > 
> > >  
> > > 
> > > I have a client that only does backup once a week.  I feel
> > this is a
> > > dangerous situation and would like to suggest they look for an
> > > alternative. I believe that they could mirror the live 
> system, stop 
> > > the mirror, backup this copy and then restart and resync 
> the mirror.
> > 
> > The problem with this approach is that UV does not update the
> > headers that much. Dunno about UD. So if they ever DID need 
> > to recover, you might find yourself in a world of hurt with 
> > uvfixfile over this ...
> > 
> > > What I don't know, and
> > > would like a little more information on before I approach 
> them with
> > > the idea, is now these steps are done. Or, if anyone has a better 
> > > solution to a shop that has to be up 24/7 I am willing to 
> listen, I 
> > > just hope they are.
> > > 
> > The safest UV backup is always one that uses the native UV
> > facilities... there's something called UVBackup :-)
> > > 
> > > They are running SunOS 5.8.  They have just hired a new Unix
> > > Administrator, right out of college, and I don't know if he is 
> > > understands the problem. That is why I would like to 
> > suggest the steps
> > > that he looks into, just to get the ball rolling.
> > > 
> > Doesn't understand the importance of backing up, or doesn't
> > understand the importance / problems of backing up U2?
> > 
> > What you probably want to do is use uvbackup to automatically
> > dump the database every time the system is likely to be quiet 
> > - you can run that while people are logged on - it's not a 
> > problem. That simply dumps all the accounts into a text dump 
> > file that you can back up onto tape or whatever later. And 
> > there are no file integrity problems.
> > 
> > If you go down the mirror route (and yes, that is a good
> > idea, but there's no need to do it that often if you're 
> > uvbackup'ing), then I think there's a dbpause command that 
> > will sync files and stop any disk i/o. Pause the db (doesn't 
> > stop users using it), break the mirror, resume th

RE: [U2] Backup Question

2006-05-17 Thread u2
Does unidata have a backup utility at all, or are all backups done at
the os level?
Unidata DOES have journaling. I don't know how much overhead that adds
to the system, but it could be worth looking into.
If you go the mirroring route, you would still have to stop the database
before breaking the mirror to ensure the integrity of what you are
backing up on the mirror, so it seems there would still be down-time
required.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Wednesday, May 17, 2006 9:53 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] Backup Question
> 
> 
> [EMAIL PROTECTED] wrote:
> > Hello all,
> > 
> >  
> > 
> > I have a client that only does backup once a week.  I feel 
> this is a 
> > dangerous situation and would like to suggest they look for an 
> > alternative. I believe that they could mirror the live system, stop 
> > the mirror, backup this copy and then restart and resync the mirror.
> 
> The problem with this approach is that UV does not update the 
> headers that much. Dunno about UD. So if they ever DID need 
> to recover, you might find yourself in a world of hurt with 
> uvfixfile over this ...
> 
> > What I don't know, and
> > would like a little more information on before I approach them with 
> > the idea, is now these steps are done. Or, if anyone has a better 
> > solution to a shop that has to be up 24/7 I am willing to listen, I 
> > just hope they are.
> > 
> The safest UV backup is always one that uses the native UV 
> facilities... there's something called UVBackup :-)
> > 
> > They are running SunOS 5.8.  They have just hired a new Unix 
> > Administrator, right out of college, and I don't know if he is 
> > understands the problem. That is why I would like to 
> suggest the steps 
> > that he looks into, just to get the ball rolling.
> > 
> Doesn't understand the importance of backing up, or doesn't 
> understand the importance / problems of backing up U2?
> 
> What you probably want to do is use uvbackup to automatically 
> dump the database every time the system is likely to be quiet 
> - you can run that while people are logged on - it's not a 
> problem. That simply dumps all the accounts into a text dump 
> file that you can back up onto tape or whatever later. And 
> there are no file integrity problems.
> 
> If you go down the mirror route (and yes, that is a good 
> idea, but there's no need to do it that often if you're 
> uvbackup'ing), then I think there's a dbpause command that 
> will sync files and stop any disk i/o. Pause the db (doesn't 
> stop users using it), break the mirror, resume the db, backup 
> the mirror, resume the mirror.
> 
> If you've got both types of backup you should be reasonably secure.
> 
> If he doesn't understand the importance of using UV-aware 
> backup tools, just ask him if he has any experience of 
> backing up Windows - and how often do his backups there screw 
> up because Windows has a file open? Although Unix will quite 
> happily let him back up an open UV file, because it's open 
> it's internally inconsistent on disk, and a disk backup tool 
> won't get a clean backup!
> 
> Cheers,
> Wol
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.392 / Virus Database: 268.6.0/341 - Release 
> Date: 5/16/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.0/341 - Release Date: 5/16/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Backup Question

2006-05-17 Thread u2
Universe or unidata?
How long does their weekly backup take?
Are they really 24x7, or do they shut down for the backup?
How do they currently do the backup? Uvbackup? Cpio?
How much of their data is outside of u2 on unix files?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bob Hite
> Sent: Wednesday, May 17, 2006 9:28 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Backup Question
> 
> 
> Hello all,
> 
>  
> 
> I have a client that only does backup once a week.  I feel 
> this is a dangerous situation and would like to suggest they 
> look for an alternative. I believe that they could mirror the 
> live system, stop the mirror, backup this copy and then 
> restart and resync the mirror.  What I don't know, and would 
> like a little more information on before I approach them with 
> the idea, is now these steps are done. Or, if anyone has a 
> better solution to a shop that has to be up 24/7 I am willing 
> to listen, I just hope they are. 
> 
>  
> 
> They are running SunOS 5.8.  They have just hired a new Unix 
> Administrator, right out of college, and I don't know if he 
> is understands the problem. That is why I would like to 
> suggest the steps that he looks into, just to get the ball rolling.  
> 
> 
> Bob Hite
> [EMAIL PROTECTED]
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.392 / Virus Database: 268.6.0/341 - Release 
> Date: 5/16/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.0/341 - Release Date: 5/16/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Backup Question

2006-05-17 Thread u2
[EMAIL PROTECTED] wrote:
> Hello all,
> 
>  
> 
> I have a client that only does backup once a week.  I feel this is a
> dangerous situation and would like to suggest they look for an alternative.
> I believe that they could mirror the live system, stop the mirror, backup
> this copy and then restart and resync the mirror.

The problem with this approach is that UV does not update the headers that 
much. Dunno about UD. So if they ever DID need to recover, you might find 
yourself in a world of hurt with uvfixfile over this ...

> What I don't know, and
> would like a little more information on before I approach them with the
> idea, is now these steps are done. Or, if anyone has a better solution to a
> shop that has to be up 24/7 I am willing to listen, I just hope they are. 
> 
The safest UV backup is always one that uses the native UV facilities... 
there's something called UVBackup :-)
> 
> They are running SunOS 5.8.  They have just hired a new Unix Administrator,
> right out of college, and I don't know if he is understands the problem.
> That is why I would like to suggest the steps that he looks into, just to
> get the ball rolling.  
> 
Doesn't understand the importance of backing up, or doesn't understand the 
importance / problems of backing up U2?

What you probably want to do is use uvbackup to automatically dump the database 
every time the system is likely to be quiet - you can run that while people are 
logged on - it's not a problem. That simply dumps all the accounts into a text 
dump file that you can back up onto tape or whatever later. And there are no 
file integrity problems.

If you go down the mirror route (and yes, that is a good idea, but there's no 
need to do it that often if you're uvbackup'ing), then I think there's a 
dbpause command that will sync files and stop any disk i/o. Pause the db 
(doesn't stop users using it), break the mirror, resume the db, backup the 
mirror, resume the mirror.

If you've got both types of backup you should be reasonably secure.

If he doesn't understand the importance of using UV-aware backup tools, just 
ask him if he has any experience of backing up Windows - and how often do his 
backups there screw up because Windows has a file open? Although Unix will 
quite happily let him back up an open UV file, because it's open it's 
internally inconsistent on disk, and a disk backup tool won't get a clean 
backup!

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


RE: [U2] call sunroutine in command line

2006-05-09 Thread u2
You can't run a subroutine with parameters from the command line on any
platform (except for cachi).
You can write a little program to call your subroutine. That's pretty
much your only option if you need to test the results.
It looks like your subroutine is executing a SQL statement. On universe
you can test the SQL directly from the command line (if the server is
the computer you are running it on). Unidata has a "connect" command
IIRC and universe may have something similar that lets you send
interactive sql to another server.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Vance, Kathy
> Sent: Tuesday, May 09, 2006 9:17 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] call sunroutine in command line
> 
> 
> All,
> 
> How could I test a subroutine with AccuTerm command line? For 
> example, the subroutine is called 
> WEB.BI.RENTAL.SUB(BTN.ID,CUST.ID,ERR.MSG) and it has a select 
> statement and returns a result set. In subroutine, there is 
> something like:
> 
> SUBROUTINE WEB.BI.RENTAL.SUB(BTN.ID,CUST.ID,ERR.MSG)
> . 
> EXECSQLSTMT = SQLSTMT 
> ST=SQLExecDirect(@HSTMT,EXECSQLSTMT)
> 
> RETURN
> End
> 
> Could I call this subroutine in command line by using:
> > RUN WEB.BI.RENTAL.SUB('953145678','4897','');
> OR
> > CALL WEB.BI.RENTAL.SUB('953145678','4897','');
> 
> As a result, I could check the result of returned values from 
> this subroutine.
> 
> Thanks a lot,
> 
> Kathy
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.392 / Virus Database: 268.5.5/334 - Release 
> Date: 5/8/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.5/334 - Release Date: 5/8/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] OPEN Statement DICT Default

2006-05-09 Thread u2
[EMAIL PROTECTED] wrote:
> You did mean
> OCONV(DATE(),"D2/")[1,2] for month, at least in the Western Hemisphere 
> and [4,2] for the Eastern, right? ;-)
> 
No 

It's [4,2] for me, and although I do live in the Eastern hemisphere - just - 
most of my country lies in the West (hint - Greenwich is five miles down the 
road, and my daily commute takes me into the West).

Cheers,
Wol

> 
> Roger
> Mark Johnson wrote:
> 
> >I specifically remember being taught
> >X=STR("0",5-LEN(X)):X
> >for the 1 concept.
> >Before the % was allowed, a shorter form was
> >X=("0":X)"R#5"
> >which I recall using until % came about.
> >
> >On that note, I stole "R-10" and "C#10" from UD and offered it to D3
> >hopefully for their next release.
> >
> >Thanks
> >Mark Johnson
> >
> >P.S. Many use OCONV(DATE(),"D2/")[7,2] for the month. I think DATE()"DM" is
> >the shortest way.
> >Puzzle: Illustrate the simplest way to generate Jan thru Dec.
> ---
> 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] Forcing Subroutine to be Re-read

2006-05-02 Thread u2
I don't know of any way to force another process to refresh it's
subroutine cache (maybe someone else has the answer to that) but it's a
good idea sometimes for a background process to periodically restart
itself, i.e, for a program named WATCHER running as a phantom:
0001 MAX.TIME=3600
0002 LAST.TIME=TIME()
0003 LOOP
0004   GOSUB DO.SOMETHING.USEFULL:
0005 UNTIL TIME()-LAST.TIME > MAX.TIME DO REPEAT
0006 CHAIN "WATCHER"
WATCHER does it's stuff for an hour, and then restarts itself via chain.
This clears the subroutine cache as well as allowing it to reload a new
version of itself.
You could also have the program check a flag, or the timestamp on a
program, and restart itself (or shut itself down cleanly) based on other
events.


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Tuesday, May 02, 2006 2:03 PM
> To: u2-Users
> Subject: [U2] [UV] Forcing Subroutine to be Re-read
> 
> 
> Hi all,
> 
> UV9.6.1.14
> HPUX 11
> 
> I have a background processor that calls a number of 
> subroutines.  Everytime I make a change to any of the 
> subroutines, I have to shutdown the job and restart it 
> because the subroutine is still in memory.  Does anyone know 
> of a way that I can force the background job to reread the subroutine?
> 
> Thanks in advance,
> 
> Scott
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.5.1/328 - Release 
> Date: 5/1/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.1/328 - Release Date: 5/1/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] DIM statement flavour variation

2006-04-19 Thread u2
Or in the pick account you can copy the voc entry for CATALOG to
GCATALOG, and then ED VOC GCATALOG and change attribute 6 from
PICK.FORMAT to INFORMATION.FORMAT.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of phil walker
> Sent: Wednesday, April 19, 2006 9:50 PM
> To: U2Users
> Subject: RE: [U2] DIM statement flavour variation
> 
> 
> It is a real pain having to reply to all.
> 
> CATALOG will not globally catalog in a PICK flavour account. 
> What you need to do is get the CATALOG verb from a IDEAL 
> flavour account and copy it to the PICK flavour account with 
> a name of GCATALOG.
> 
> HTH.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of John Kent
> Sent: Thursday, 20 April 2006 1:31 p.m.
> To: [EMAIL PROTECTED]; 'U2Users'
> Subject: Re: [U2] DIM statement flavour variation
> 
> Ed,
> just what i was looking for.
> 
> Does anyone know if the Pick flavour has limitations or 
> variations on globally cataloging ?
> 
> I have created a local BP file in a Pick flavoured account 
> with a couple of programs, one being a subroutine  that when 
> i try to globally catalog complains that
> 
> Executing the command "CATALOG JAKBP *SR.JAK SR.JAK FORCE". 
> Unable to open "JAKBP.O/%ASR.JAK" for cataloging. "SR.JAK" cataloged.
> 
> Other cataoging optios work ok as expected
> 
> jak
> 
> 
> ----- Original Message -
> From: <[EMAIL PROTECTED]>
> To: "'John Kent'" <[EMAIL PROTECTED]>; "'U2Users'" 
> 
> Sent: Thursday, April 20, 2006 9:23 AM
> Subject: RE: [U2] DIM statement flavour variation
> 
> 
> > It's not actually the pick flavor that controls variable 
> dimming: it's 
> > the STATIC.DIM options that you can turn on or off in any 
> flavor with 
> > $OPTIONS STATIC.DIM Or
> > $OPTIONS -STATIC.DIM
> > It's off by default in ideal and information flavors and on 
> by default
> > in Pick. You would use the second format in PICK flavor to turn on
> > dynamic dimensioning. Be warned though that with STATIC.DIM off,
> arrays
> > have an element 0, and the extra attributes from a MATREAD go into 
> > element 0 instead of being appended to the last element as 
> you would 
> > otherwise expect in pick.
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] On Behalf Of John Kent
> >> Sent: Wednesday, April 19, 2006 6:06 PM
> >> To: U2Users
> >> Subject: [U2] DIM statement flavour variation
> >>
> >>
> >> It seems Universe information flavour allows DIM ARRAY(Variable)
> >>
> >> whereas Pick flavour insists on variable being a constant
> >>
> >> Does anyone have a workaround for the Pick limitation 
> (other than a 
> >> dynamic
> >> array) as there are situations where you dont know the dimensions 
> >> until run time.
> >>
> >> jak
> >> ---
> >> u2-users mailing list
> >> u2-users@listserver.u2ug.org
> >> To unsubscribe please visit http://listserver.u2ug.org/
> >>
> >> --
> >> No virus found in this incoming message.
> >> Checked by AVG Free Edition.
> >> Version: 7.1.385 / Virus Database: 268.4.4/318 - Release
> >> Date: 4/18/2006
> >>
> >>
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date:
> 4/18/2006
> > ---
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.385 / Virus Database: 268.4.4/319 - Release Date:
> 19/04/2006
> ---
> 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/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.4/318 - Release 
> Date: 4/18/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 4/18/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] DIM statement flavour variation

2006-04-19 Thread u2
In pick-flavored accounts, you can only catalog locally, and the catalog
syntax is only "CATALOG FILENAME PROGRAMNAME". Try HELP PICK CATALOG for
more info. Note that this gives you different info from HELP CATALOG,
which is the ideal version. If you want to globally catalog something, I
think you can do it from an ideal-flavored account (for example, the UV
administrative account that gets set up by default when you install uv).

> -Original Message-
> From: John Kent [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, April 19, 2006 8:19 PM
> To: [EMAIL PROTECTED]; 'U2Users'
> Subject: Re: [U2] DIM statement flavour variation
> 
> 
> Ed,
> just what i was looking for.
> 
> Does anyone know if the Pick flavour has limitations or variations on 
> globally cataloging ?
> 
> I have created a local BP file in a Pick flavoured account 
> with a couple of 
> programs, one being a subroutine  that when i try to globally catalog 
> complains that
> 
> Executing the command "CATALOG JAKBP *SR.JAK SR.JAK FORCE". 
> Unable to open "JAKBP.O/%ASR.JAK" for cataloging. "SR.JAK" cataloged.
> 
> Other cataoging optios work ok as expected
> 
> jak
> 
> 
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: "'John Kent'" <[EMAIL PROTECTED]>; "'U2Users'" 
> 
> Sent: Thursday, April 20, 2006 9:23 AM
> Subject: RE: [U2] DIM statement flavour variation
> 
> 
> > It's not actually the pick flavor that controls variable 
> dimming: it's 
> > the STATIC.DIM options that you can turn on or off in any 
> flavor with 
> > $OPTIONS STATIC.DIM Or
> > $OPTIONS -STATIC.DIM
> > It's off by default in ideal and information flavors and on 
> by default
> > in Pick. You would use the second format in PICK flavor to turn on
> > dynamic dimensioning. Be warned though that with STATIC.DIM 
> off, arrays
> > have an element 0, and the extra attributes from a MATREAD go into
> > element 0 instead of being appended to the last element as you would
> > otherwise expect in pick.
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED] On Behalf Of John Kent
> >> Sent: Wednesday, April 19, 2006 6:06 PM
> >> To: U2Users
> >> Subject: [U2] DIM statement flavour variation
> >>
> >>
> >> It seems Universe information flavour allows DIM ARRAY(Variable)
> >>
> >> whereas Pick flavour insists on variable being a constant
> >>
> >> Does anyone have a workaround for the Pick limitation 
> (other than a 
> >> dynamic
> >> array) as there are situations where you dont know the dimensions 
> >> until run time.
> >>
> >> jak
> >> ---
> >> u2-users mailing list
> >> u2-users@listserver.u2ug.org
> >> To unsubscribe please visit http://listserver.u2ug.org/
> >>
> >> --
> >> No virus found in this incoming message.
> >> Checked by AVG Free Edition.
> >> Version: 7.1.385 / Virus Database: 268.4.4/318 - Release
> >> Date: 4/18/2006
> >>
> >>
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.1.385 / Virus Database: 268.4.4/318 - Release 
> Date: 4/18/2006
> > ---
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit http://listserver.u2ug.org/
> >
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.385 / Virus Database: 268.4.4/319 - Release 
> Date: 19/04/2006
> >
> > 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.4/318 - Release 
> Date: 4/18/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 4/18/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] DIM statement flavour variation

2006-04-19 Thread u2
It's not actually the pick flavor that controls variable dimming: it's
the STATIC.DIM options that you can turn on or off in any flavor with
$OPTIONS STATIC.DIM
Or
$OPTIONS -STATIC.DIM
It's off by default in ideal and information flavors and on by default
in Pick. You would use the second format in PICK flavor to turn on
dynamic dimensioning. Be warned though that with STATIC.DIM off, arrays
have an element 0, and the extra attributes from a MATREAD go into
element 0 instead of being appended to the last element as you would
otherwise expect in pick.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of John Kent
> Sent: Wednesday, April 19, 2006 6:06 PM
> To: U2Users
> Subject: [U2] DIM statement flavour variation
> 
> 
> It seems Universe information flavour allows DIM ARRAY(Variable)
> 
> whereas Pick flavour insists on variable being a constant
> 
> Does anyone have a workaround for the Pick limitation (other 
> than a dynamic
> array) as there are situations where you dont know the 
> dimensions until run time.
> 
> jak
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.4/318 - Release 
> Date: 4/18/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.4/318 - Release Date: 4/18/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UV Version

2006-04-18 Thread u2
There's a VOC item RELLEVEL, so
CT VOC RELLEVEL
Or 
.L RELLEVEL


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ray Buchner
> Sent: Tuesday, April 18, 2006 4:29 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] UV Version
> 
> 
> What is the command to see the current version of Universe a 
> server is running?  I forget.
> 
> TIA
> 
> -Ray
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.3/317 - Release 
> Date: 4/18/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.3/317 - Release Date: 4/18/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Press any key to continue... - how to skip

2006-04-12 Thread u2
LIST VOC (N
Or
LIST VOC NO.PAGE
Or press N on the first 'Press any key.' to skip all the rest.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of #ukasz s
> Sent: Wednesday, April 12, 2006 10:12 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Press any key to continue... - how to skip
> 
> 
> How can I skip "Press any key to continue..." during:
> LIST VOC command?
> thanks for answers:-)
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.1/309 - Release 
> Date: 4/11/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/309 - Release Date: 4/11/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] survey

2006-04-11 Thread u2
What flavors of universe are people using? I've only ever seen
applications running on universe in pick flavor, but there must be loads
of systems using information or pi/open, right?

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option

2006-03-30 Thread u2
Unidata doesn't have flavors, which isn't to say that it's tasteless.
You have the basictype and ecltype commands instead. Pluss all those
udtoptions.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dave Taylor
> Sent: Thursday, March 30, 2006 4:06 PM
> To: Jerry Banker; u2-users@listserver.u2ug.org
> Subject: Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option
> 
> 
> Jerry,
> 
> I haven't been able to find any reference to "flavor"  or 
> "PICK" in the UD documentation, so I haven't declared a 
> flavor (as far as I know).
> 
> I would like to declare a "PICK" flavor but I don't know how 
> to do that.
> 
> Any suggestions?
> 
> tia,
> 
> Dave
> 
> Dave Taylor
> President
> Sysmark Information Systems, Inc.
> 49 Aspen Way
> Rolling Hills Estates, CA 90274
> 800-SYSMARK (800-797-6275)
> (O) 310-544-1974
> (C) 310-561-5200
> (P) 800-339-1497
> (F) 310-377-3550
> Your Source for Integrated EDI Translation and DataSync 
> Integration www.sysmarkinfo.com
> 
> - Original Message - 
> From: "Jerry Banker" <[EMAIL PROTECTED]>
> To: "Dave Taylor" <[EMAIL PROTECTED]>; 
> 
> Sent: Thursday, March 30, 2006 12:34 PM
> Subject: Re: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option
> 
> 
> > Flavor?
> >
> > - Original Message -
> > From: "Dave Taylor" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, March 30, 2006 1:26 PM
> > Subject: [U2] UD PE 7.1.0 - Use of EXECUTE with the RTNLIST option
> >
> >
> > >I have had a problem compiling a program in Unidata 7.1.0 that is 
> > >taken from  Universe that uses an EXECUTE statement with 
> the RTNLIST 
> > >option.
> > >
> > > To test this in its simplest  form, I entered the following test 
> > > program and got the following result after compiling it:
> > >
> > > ED BP TEST
> > > 0001EXECUTE "SELECT CLIENTS " RTNLIST 1
> > > 0002END
> > >
> > > Compiling TEST with the command BASIC BP TEST produced 
> the following
> error
> > > message:
> > >
> > > "Misuse of reserved word 'RTNLIST'
> > > Expecting: end-of-file,END
> > >
> > > This program appears to comply with the syntax described in the 
> > > UniData Commands Reference manual with the exception that it does 
> > > not contain an "ON connection" phrase which appears to not be an 
> > > option but is described as "UniData no longer supports this 
> > > parameter, but is remains for syntax compatibility".
> > >
> > > Since I don't know what a "connection" is,  I tried 
> adding X="" and 
> > > the phrase ON X before the RTNLIST option in the EXECUTE 
> statement 
> > > and still got
> the
> > > same
> > > error message.
> > >
> > > EXECUTE with the RTNLIST option works fine in Universe.
> > >
> > > Any suggestions?
> > >
> > > tia,
> > >
> > > Dave
> > >
> > > Dave Taylor
> > > President
> > > Sysmark Information Systems, Inc.
> > > 49 Aspen Way
> > > Rolling Hills Estates, CA 90274
> > > 800-SYSMARK (800-797-6275)
> > > (O) 310-544-1974
> > > (C) 310-561-5200
> > > (P) 800-339-1497
> > > (F) 310-377-3550
> > > Your Source for Integrated EDI Translation and DataSync 
> Integration 
> > > www.sysmarkinfo.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/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.3/296 - Release 
> Date: 3/29/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 3/29/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] ODBC UniAdmin UniData - "No RPC connection active."

2006-03-22 Thread u2
[EMAIL PROTECTED] wrote:
> Morning,
> 
> I am trying to connect to a Unix server through ODBC. When I start up UniAdmin
> I get a message that "No RPC connection active."
> 
> Does anyone know what I need to do to correct this?
> 
You haven't been "clever" and changed the install location for UniAdmin to 
Program Files, have you? It does NOT like that.

There's a lot of stuff that doesn't like spaces in pathnames - it's not wise to 
move any of the default install locations as far as UV and utilites go...

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


Re: [U2] Changes to the List

2006-03-16 Thread u2
[EMAIL PROTECTED] wrote:
> Argh! I just tried to agree with Bob/Wendy and forgot to reply-all.
> Sorry to whoever got my email.
> 
> I really preferred the list when response went to the list.
> 
Much as I know that "correct" behaviour is the current one, yes I've noticed 
traffic has dropped noticeably.

And the current behaviour is very inconvenient to me because my main method of 
replying to list is webmail (my work email client can't post, posting at home 
annoys my wife :-(, and webmail DOESN'T HAVE a reply-to-all :-(

So to save me having to type or cut-n-paste the list address for EVERY post I 
try to make, I'm inclined to vote to go back to the old setup ... - I came very 
close to forgetting to change the address for this post ...

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


RE: [U2] [UV] SYSTEM() for execution level?

2006-02-23 Thread u2
@LEVEL does that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Barry Brevik
Sent: Thursday, February 23, 2006 7:09 PM
To: U2-users (E-mail)
Subject: [U2] [UV] SYSTEM() for execution level?


Anyone know if there is a SYSTEM() code that will return the execution
level of the running process?

Barry Brevik
---
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] Capturing hold file numbers.

2006-02-15 Thread u2
You can use the BANNER option on SETPTR to specify the hold entry name. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds
> Sent: Wednesday, February 15, 2006 10:53 AM
> To: User group U2
> Subject: [U2] Capturing hold file numbers.
> 
> 
> Hi all:
> 
> I need a little printer help if someone has experience with 
> this situation.
> 
> When you use the SETPTR command to direct printed output to a 
> HOLD file and turn on the INFORM option (SETPTR 0,1,AT 
> ASHTEST,HOLD,INFORM) you get the number of the hold file that 
> is generated, displayed to the screen when the printer is 
> turned OFF, CLOSED or the program is terminated.  How can you 
> capture this number, the Hold file number, within the 
> executing program?
> 
> 
> 
> Thanks in advance for you assistance.
> 
> 
> 
> Tom Dodds
> 
> [EMAIL PROTECTED]
> 
> 708-234-9608 Office
> 
> 630-235-2975 Cell
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.15.9/261 - Release 
> Date: 2/15/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.9/261 - Release Date:
2/15/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Question about execute and stacked data.

2006-02-14 Thread u2
I know there's lots of other ways to do this. I was just hoping someone
might have an explanation for why this way doesn't work. I have a
program, call it SELECT.ACTIVITY that uses a complex set of rules and
indexes to retrieve a list of records from an extremely huge transaction
file. It's a nice, efficient program. Internally, it essentially does
this:

001 L=ID1
002 L<-1>=ID2
003 etc
004 SELECT L

At this point, I've got an active list. @SELECTED is set to the number
of elements. SYSTEM(11) is set to the number of elements. Now I want to
be able to use it in a program like this:

001 DATA 'ACTIVITY.REPORT'
002 EXECUTE 'SELECT.ACTIVITY parameters'

But it doesn't work. This does work:

001 DATA 'ACTIVITY REPORT'
002 EXECUTE 'SELECT ACTIVITY-FILE parameters...'

And this works:

001 DATA 'ACTIVITY.REPORT'
002 EXECUTE 'GET-LIST savedlist'

So the question is, what do SELECT and GET-LIST do that a basic program
doesn't--why are they privileged to set up the data stack for execution
when a basic program doesn't? Of course there are lots of other ways to
do this: This works:

001 EXECUTE 'SELECT.ACTIVITY.'
002 EXECUTE 'ACTIVITY.REPORT' PASSLIST
Also this works:
001 PERFORM 'SELECT.ACTIVITY'
002 PERFORM 'ACTIVITY.REPORT.

Lots of ways to do it. The question is, why does a SELECT or GET-LIST
fire the data stack, but a basic program cannot?


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dave Taylor
> Sent: Tuesday, February 14, 2006 1:02 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] Question about execute and stacked data.
> 
> 
> Ed,
> 
> I ran into the same type of problem converting R91 software 
> to Universe/NT.
> 
> If you EXECUTE 'basic.program.that.builds.a.list', how is the 
> list created and where is it saved in that second program?
> 
> If the executed basic program itself executes a select and 
> them executes a save, the list is in the workspace of the 
> first EXECUTE and the save action occurs in the workspace of 
> the second EXECUTE in which there is no list to be saved.
> 
> EXECUTing a basic program that builds the list only moves the 
> issue of multiple EXECUTES to the basic program the creates the list.
> 
> Why would one EXECUTE another program from within an existing 
> program to build a list rather than building the list from 
> within the existing program unless all of the actions 
> associated with the use of the list were to occur in the 
> second program, which does not appear to be the case here?
> 
> The DATA statement is used to keep all the related functions 
> needed to create and save a list in the same workspace.  
> Besides the use of the DATA statement, I have also seen here 
> on the list the use of a single STMT = (first 
> function):AM:(second function), EXECUTE STMT.  This, for me, 
> is more intuitive in terms of the sequence of functions 
> executed and still keeps all the actions associated with 
> creating and saving the list within the same workspace.
> 
> hth,
> 
> Dave
> 
> Dave Taylor
> President
> Sysmark Information Systems, Inc.
> 49 Aspen Way
> Rolling Hills Estates, CA 90274
> 800-SYSMARK (800-797-6275)
> (O) 310-544-1974
> (C) 310-561-5200
> (P) 800-339-1497
> (F) 310-377-3550
> Your Source for Integrated EDI Translation and DataSync 
> Integration www.sysmarkinfo.com
> 
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, February 13, 2006 2:51 PM
> Subject: RE: [U2] Question about execute and stacked data.
> 
> 
> > I've got a bunch of code coming from another system where 
> this worked. 
> > We have a lot of places with things like: DATA 
> > 'basic.program.that.uses.a.list' EXECUTE 
> > 'basic.program.that.builds.a.list'
> > And under universe this just isn't working. The basic program isn't 
> > setting something that universe wants to see before it will execute 
> > the DATA. Some of it could easily be changed to PERFORM 
> > 'basic.program.that.builds.a.list'
> > PERFORM 'basic.program.that.uses.a.list'
> > Or as
> > EXECUTE 'basic.program.that.builds.a.list' RTNLIST LST EXECUTE 
> > 'basic.program.that.uses.a.list' PASSLIST LST But I was 
> hoping someone 
> > knew the internals that allow DATA 'SAVE-LIST LST'
> > EXECUTE 'SELECT VOC'
> > To work but
> > DATA 'SAVE-LIST LST'
> > EXECUTE 'basic.program.that.builds.a.list'
> > To not work.
> >
> > > -Original Mess

RE: [U2] Question about execute and stacked data.

2006-02-13 Thread u2
I've got a bunch of code coming from another system where this worked.
We have a lot of places with things like: 
DATA 'basic.program.that.uses.a.list' 
EXECUTE 'basic.program.that.builds.a.list'
And under universe this just isn't working. The basic program isn't
setting something that universe wants to see before it will execute the
DATA. Some of it could easily be changed to 
PERFORM 'basic.program.that.builds.a.list'
PERFORM 'basic.program.that.uses.a.list'
Or as
EXECUTE 'basic.program.that.builds.a.list' RTNLIST LST
EXECUTE 'basic.program.that.uses.a.list' PASSLIST LST
But I was hoping someone knew the internals that allow
DATA 'SAVE-LIST LST'
EXECUTE 'SELECT VOC'
To work but
DATA 'SAVE-LIST LST'
EXECUTE 'basic.program.that.builds.a.list'
To not work.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [HYPERLINK
"mailto:[EMAIL PROTECTED]"mailto:[EMAIL PROTECTED]
ver.u2ug.org] On Behalf Of 
> Louie Bergsagel
> Sent: Monday, February 13, 2006 4:11 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] Question about execute and stacked data.
> 
> 
> What are you trying to do?
> 
> If you want to execute different commands based on whether or 
> not something like a SAVE.LIST exists, just test 
> @SYSTEM.RETURN.CODE after your select and do what you wish.
> 
> EXECUTE "GET.LIST TEST"
> IF @SYSTEM.RETURN.CODE LT 1 THEN
>CRT "Enter a SAVE.LIST name: ":
>INPUT SAVE.LIST.NAME
> END
> 
> I like to put constructs like the above in a loop which I 
> repeat until the user enters a valid SAVE.LIST (one with 
> records), or enters nothing, and then I exit the loop and 
> either process the records (if any) or exit the program (if none).
> 
> -- Louie Bergsagel
> 
> 
> 
> On 2/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > This is on universe 10.0.10 on windows xp.
> > If you have stacked data, it will be executed after an EXECUTE, so: 
> > 001 DATA 'WHO' 002 EXECUTE 'SELECT VOC'
> > Will select the voc to list 0, then execute WHO.
> > If the command in EXECUTE doesn't yield a list, then the data isn't
> > executed, so
> > 001 DATA 'WHO'
> > 002 EXECUTE 'GET-LIST VOCCRAP' ;* assuming you don't have a 
> list named
> > voccrap
> > 003 INPUT A
> > 004 CRT A
> > The GET-LIST doesn't return a list, so the WHO stays 
> stacked and gets
> > picked up by the INPUT later.
> >
> > Now here's the problem/question.
> > Suppose you have a basic program that creates a list, for 
> example: 001 
> > L='A':@AM:'B' 002 SELECTN L TO 0
> > Saved and cataloged as MY.LIST.PROG
> > And change the test program above to
> > 001 DATA 'WHO'
> > 002 EXECUTE 'MY.LIST.PROG'
> > 003 CRT @SELECTED
> > The WHO does not execute, even though the basic program 
> creates a list.
> > You can fiddle with the VOC catalog entries adding 'K' to 
> attribute 4 so
> > that you can see the list created by running the program from TCL.
> > So the question is, what magic does a basic program need to 
> do so that
> > it can create a list and participate in the serial 
> execution of stacked
> > data?
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.1.375 / Virus Database: 267.15.6/258 - Release Date: 
> > 2/13/2006
> > ---
> > u2-users mailing list
> > u2-users@listserver.u2ug.org
> > To unsubscribe please visit HYPERLINK
"http://listserver.u2ug.org/"http://listserver.u2ug.org/
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit HYPERLINK
"http://listserver.u2ug.org/"http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.15.6/258 - Release 
> Date: 2/13/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.6/258 - Release Date:
2/13/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Question about execute and stacked data.

2006-02-13 Thread u2
This is on universe 10.0.10 on windows xp.
If you have stacked data, it will be executed after an EXECUTE, so:
001 DATA 'WHO'
002 EXECUTE 'SELECT VOC'
Will select the voc to list 0, then execute WHO.
If the command in EXECUTE doesn't yield a list, then the data isn't
executed, so
001 DATA 'WHO'
002 EXECUTE 'GET-LIST VOCCRAP' ;* assuming you don't have a list named
voccrap
003 INPUT A
004 CRT A
The GET-LIST doesn't return a list, so the WHO stays stacked and gets
picked up by the INPUT later.

Now here's the problem/question.
Suppose you have a basic program that creates a list, for example:
001 L='A':@AM:'B'
002 SELECTN L TO 0
Saved and cataloged as MY.LIST.PROG
And change the test program above to
001 DATA 'WHO'
002 EXECUTE 'MY.LIST.PROG'
003 CRT @SELECTED
The WHO does not execute, even though the basic program creates a list.
You can fiddle with the VOC catalog entries adding 'K' to attribute 4 so
that you can see the list created by running the program from TCL.
So the question is, what magic does a basic program need to do so that
it can create a list and participate in the serial execution of stacked
data?

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.6/258 - Release Date:
2/13/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Justification for removal of savedlists

2006-02-06 Thread u2
&SAVEDLISTS& is usually a directory file. Depending on your OS, putting
a lot of files in a directory can be very innefficient. Records in
&HOLD& can be very large, so disk space could be a good argument there.
On the other hand, deleting saved lists can be problematic: are you sure
no one wants that list anymore? Are you sure that that list you
identified as being "old" and are about to delete hasn't just been
re-written by a program reusing the name? I don't think the list verbs
do a lot with locking.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bill Pizer
> Sent: Monday, February 06, 2006 9:33 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Justification for removal of savedlists
> 
> 
> I wrote a small routine that will go through Savedlists, HOLD 
> files, ST.PPROCES records, etc. and selectively delete the 
> records that are no longer needed but I have been stopped by my VP.  
> 
> She wants justification for the process.  I don't have the 
> knowledge to be able to give her what she wants.  I've tried 
> the following arguments with no luck:
> 
> Savedlists can be outdated as soon as they are created.
> Taking up too much server room.
> 
> Any one have any others to try?
> 
> - Bill Pizer
> ---
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.15.2/251 - Release 
> Date: 2/4/2006
>  
> 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.2/251 - Release Date: 2/4/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Justification for removal of savedlists

2006-02-06 Thread u2
[EMAIL PROTECTED] wrote:
> I wrote a small routine that will go through Savedlists, HOLD files, 
> ST.PPROCES records, etc. and selectively delete the records that are no 
> longer needed but I have been stopped by my VP.  
> 
> She wants justification for the process.  I don't have the knowledge to be 
> able to give her what she wants.  I've tried the following arguments with no 
> luck:
> 
> Savedlists can be outdated as soon as they are created.
> Taking up too much server room.
> 
Savedlists should never be re-used. By their very nature they are ephemeral.

If a program created them, they should be recreated every time.

If a user created them, they should be recreated every time.

Pretty much the same holds true of the hold file. And ime, a full hold file can 
noticeably impact system performance - okay we're running on Windows, but when 
I filled the hold file with temporary files, I regularly got user complaints.

Tell your VP you'll back &SAVEDLISTS&, &HOLD& to CD before you clean them up, 
and no you should not get any complaints because those files were *designed* as 
temporary work areas, not as data storage places.

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


[U2] Index at infocus

2006-02-03 Thread u2
http://www.indexinfocus.com/ hasn't been working for a week now at
least. Anyone know what's going on or who to tell about it?

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] List index

2006-01-30 Thread u2
The search index at http://www.indexinfocus.com appears to be broken :(
Does anyone know about this?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UltPlus to UV

2006-01-20 Thread u2
On option would be to use PERFORM instead of EXECUTE. It's benefit is
that the PERFORMEd program gets the active select list, so you can do
things like:
PERFORM 'SELECT CUSTOMER-FILE WITH ACTIVE.FLAG STATE.CODE'
PERFORM 'SELECT STATE-TABLE SAVING UNIQUE STATE.NAME'
Instead of
EXECUTE 'SELECT CUSTOMER-FILE WITH ACTIVE.FLAG STATE.CODE' RTNLIST CODES
EXECUTE 'SELECT STATE-TABLE SAVING UNIQUE STATE.NAME' PASSLIST CODES
Or the proc-like:
DATA 'SELECT STATE-TABLE SAVING UNIQUE STATE.NAME'
EXECUTE 'SELECT CUSTOMER-FILE WITH ACTIVE.FLAG STATE.CODE
The downside is that PERFORM doesn't allow any of the
CAPTURE/RETURN/IN/OUT clauses, which could be a killer. Also obviously
you need to do some extra juggling to maintain the correct active list.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds
> Sent: Friday, January 20, 2006 2:42 PM
> To: Userr group U2
> Subject: [U2] UltPlus to UV
> 
> 
> We are migrating a system from UltPlus to UniVerse 10.1.14.  
> In the EXECUTE statement, when using the RTNLIST or the 
> PASSLIST function the resultant list is a list.varialble or 
> cursor and not a simple variable.  In the UltPlus system it 
> is both or can be used as both.  I am using RTNLIST and 
> PASSLIST as the generic word for the variety of keywords to 
> represent that functionality. 
> 
>  
> 
> In the statement:
> 
>  
> 
> EXECUTE SENT ,//IN. ,//SELECT.OUT.DATA ,//SELECT.>OUTPUT.LIST
> 
>  
> 
> the PASSLIST variable "INPUT.LIST" and the RTNLIST variable 
> "OUT.DATA" can function as both a simple variable and a 
> list.variable while in UniVerse they are only list.variables. 
>  SENT is the beginning of a select statement 'SELECT filename 
> '.  Some statements have just the PASSLIST and some have just 
> the RTNLIST.
> 
>  
> 
> Does anyone know of a clean way of handling this difference?  
> My only solution is to save the list, read it back in as a 
> variable and the use GETLIST/READLIST to activate a 
> list.variable.  This will require multiple variable names and 
> some tricky coding to determine which variable to use where.
> 
>  
> 
>  We have over 300 programs with various combinations of this 
> code and I would rather not address each of them individually.
> 
>  
> 
> Any thoughts or experiences would be appreciated.
> 
>  
> 
>  
> 
> Tom Dodds
> 
> [EMAIL PROTECTED]
> 
> 708-234-9608 Office
> 
> 630-235-2975 Cell
> ---
> 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] Unidata on XP Lap Top

2006-01-20 Thread u2
[EMAIL PROTECTED] wrote:
> Hi,
> 
> Please do not flame me, but I cannot get over how one eyed some people
> on this list are. Being a U2 bigot is no better than being a Microsoft,
> Linux or Oracle one.
> 
> When will people get over Microsoft? They exist, they are one of the
> biggest software companies in the world like it or not and the U2 world
> needs to get along with them like it or not. Just try making money out
> of plain green screen applications and not talking to other programs or
> interfaces, and tell us in 20 years how rich you gotnot.
> 
I know you said "don't flame me", but ...

You said "we need to get along with Microsoft". The problem is, Microsoft has 
criminal convictions for *deliberately* "not getting along" with other 
companies that it sees as being any sort of a threat.

Which is why they've been in trouble - *twice* - with the American anti-trust 
people. Which is why they are in trouble with the European anti-trust people 
now.

How are we supposed to get on with Microsoft, if Microsoft decides that it has 
no intention of getting along with us? On past performance, once it stops 
ignoring us as totally irrelevant, that is an almost certainty.

It's not unreasonable to compare MS to an abusive husband. And you're saying we 
should "just live with it"? Try saying that to Netscape. Try saying that to 
Lotus. Try saying that to WordPerfect. None of those companies exist any more - 
true, the name lives on, and the product lives on, but the companies are gone 
and what's left is only a shadow. In Netscape's case the courts returned a 
verdict of criminal corporate murder, and it seems highly probable that the 
same is true of the other two.

Take that on board, and you'll realise why people are so wary of supping with 
the Devil ...

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


RE: [U2] [UD] list output when captured

2006-01-19 Thread u2
I think maybe the teminal handler is too smart for it's own good?. There
are 78 characters in the row, and 78 characters wide on the screen, so
when it gets to the end of the line it realizes it's at the end and will
autowrap to the next line--so no need for a carriage return. In fact a
carriage return would probably insert an extra unwanted line on the
display.
So, possibilities:
1. set your terminal width wider.
2. Use a different term type that doesn't support auto-wrap
3. Instead of executing with capture, print to a hold file, and then
process the hold file entry.

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett
> Sent: Wednesday, January 18, 2006 5:20 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [UD] list output when captured
> 
> I've got a simple scroll routine that parses the output from 
> a LIST or SORT command's "CAPTURING" variable of an EXECUTE 
> statement.  The routine tests for the 2nd empty line to 
> determine when the column heading ends and the data begins, 
> as all output with a heading puts a blank line between the 
> column heading and the data.
> 
> So, typical captured output would look like:
> 
> SCRATCH(1)=Dictionary of File: PERIPHERALS
>   16:05:08 Jan
> 18
> 2006^Dict Name.. Typ # Col-Heading Field-Def... 
> Conversion.. Formt Assoc
> ...^^@   Phr   LPTRNO DEV_N^
> .
> .
> 
> The total width of the heading is 78 characters, while the 
> TERM width is 79. If I were to change the TERM width to 78 
> then rerun the above listing the extra line between the 
> column heading and the 1st row of data disappears (the first 
> of two attribute marks changes to a space).
> 
> SCRATCH(1)=Dictionary of File: PERIPHERALS
>   16:05:08 Jan
> 18
> 2006^Dict Name.. Typ # Col-Heading Field-Def... 
> Conversion.. Formt Assoc
> ... ^@   Phr   LPTRNO DEV_N^
> .
> .
> 
> Is there a reason why this occurs (I've not seen this before) 
> or will I just have to be careful in the future?
> 
> As always, thanks.
> 
> Bill Haskett
> ---
> 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/


RE: [U2] [UD] Active select list in BASIC

2006-01-16 Thread u2
In this case, "BPLIST" is a variable name--we aren't saving the list to
&SAVEDLISTS& so there's no conflict.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Marilyn Hilb
> Sent: Monday, January 16, 2006 10:27 AM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UD] Active select list in BASIC
> 
> 
> Just an added note. It there is any possibility that multiple 
> users could be running this at the same time.. You may want 
> to make sure "BPLIST" is unique, I use port# to assure it is 
> Unique and user ID to identify it. 
> 
> ~Marilyn
>  -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]  On Behalf Of > Bill
Haskett
> Sent: Friday, January 13, 2006 9:30 PM
> To:   u2-users@listserver.u2ug.org
> Subject:  RE: [U2] [UD] Active select list in BASIC
> 
> David & Ed:
> 
> Thank you.  The "SELECT TO BPLIST" (I couldn't get the SELECT 
> TO 1 then the READNEXT FROM 1 to compile) works fine as long 
> as I assign BPLIST a value before using it (another quirk 
> with UniData).  :-)
> 
> I wish the "quirky things that don't work like PICK" would be 
> listed somewhere.  It'd sure save me a lot of time.  :-)
> 
> Thanks again,
> 
> Bill
> ---
> 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] [UD] Active select list in BASIC

2006-01-13 Thread u2
It never made any sense to me why unidata did this, and I never found a
setting that would change it. I got around it by always putting select
lists into variables. i.e:

EXECUTE \SSELECT BP\
SELECT TO BPLIST
HEADING "THIS IS A TEST 'CLT'"
LOOP
   READNEXT ID FROM BPLIST ELSE EXIT
   CRT ID
REPEAT
CRT
CRT "...Exiting program and clearing select list..."
END

Which seemed to work (not sure if the above example works as is--I don't
have a unidata system to test it on. I seem to recall that maybe there
had to be a file open, or the BPLIST variable needed to be assigned
ahead of time for it to work)
In ADDS, it was possible to prevent a user from exiting out of a paged
list like that--I think you have to have break off or something like
that.
Universe can be made to return an active select list to TCL. One of the
options in the VOC catalog entry for the program controls that (I think
it's K) but I don't think it returns a default list that has been
partially used. The numbered select lists 1-10 (not 0) are persistent
like that though.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett
> Sent: Friday, January 13, 2006 4:12 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UD] Active select list in BASIC
> 
> 
> David, Kevin and Ed:
> 
> Thanks for the tip.  My question was the select list 
> remaining active, rather than the page message or the program 
> aborting.  Although the program aborting sucks, it has always 
> occurred in pick-like systems.
> 
> In all Pick systems I've ever used, Microdata, Adds, GA, R83, 
> R91, D3, and UV, when a file is selected then listed, within 
> BASIC, quiting the display doesn't leave the select list 
> active.  How can I turn off this unexpected feature?
> 
> Thanks again, 
> 
> Bill
> 
> P.S. It looks fortunate that I only have a couple of programs 
> that do this, like the list-files program.  :-)
>  
> 
> > -Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > David A. Green
> > Sent: Friday, January 13, 2006 6:00 AM
> > To: u2-users@listserver.u2ug.org
> > Subject: RE: [U2] [UD] Active select list in BASIC
> > 
> > Bill,
> > 
> > You can turn this feature off by using an @ print command
> > i.e. PRINT @(-1) or if you don't want to clear the screen 
> > just do a DMY = @(-1), or issuing BPIOCPN command.
> > 
> > Thanks,
> > David A. Green
> > DAG Consulting
> > 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> Bill Haskett
> > Sent: Friday, January 13, 2006 5:48 AM
> > To: u2-users@listserver.u2ug.org
> > Subject: [U2] [UD] Active select list in BASIC
> > 
> > I have a simple program that looks like:
> > 
> > EXECUTE \SSELECT BP\
> > HEADING "THIS IS A TEST 'CLT'"
> > LOOP
> >READNEXT ID ELSE EXIT
> >CRT ID
> > REPEAT
> > CRT
> > CRT "...Exiting program and clearing select list..."
> > END
> > 
> > When I run it in Pick mode I get the message "Enter  > line> to continue..." at the bottom of the 1st screen.  If I
> > enter [Q] to quit, the program aborts, never prints the exit
> > message, and I'm left at TCL with the list active (a '>' prompt).
> > 
> > This is not at all what I expected, and after several hours
> > of research I can't find anything close to a resolution.
> > 
> > Any help would be appreciated.
> > 
> > Bill Haskett
> > ---
> > 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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UD] Active select list in BASIC

2006-01-13 Thread u2
Which feature is the problem? That ending the paging ends the program,
or that afterwards you have an active select list?

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Bill Haskett
> Sent: Friday, January 13, 2006 5:48 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] [UD] Active select list in BASIC
> 
> I have a simple program that looks like:
> 
> EXECUTE \SSELECT BP\
> HEADING "THIS IS A TEST 'CLT'"
> LOOP
>READNEXT ID ELSE EXIT
>CRT ID
> REPEAT
> CRT
> CRT "...Exiting program and clearing select list..."
> END
> 
> When I run it in Pick mode I get the message "Enter  line> to continue..." at the bottom of the 1st screen.  If I 
> enter [Q] to quit, the program aborts, never prints the exit 
> message, and I'm left at TCL with the list active (a '>' prompt).
> 
> This is not at all what I expected, and after several hours 
> of research I can't find anything close to a resolution.
> 
> Any help would be appreciated.
> 
> Bill Haskett
> ---
> 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/


Re: [U2] System Migration issues

2006-01-12 Thread u2
[EMAIL PROTECTED] wrote:
> I am migrating an old AIX server running U2 to RH Linux.  Because of the
> server's limitations, I need to transfer files between the two devices via
> FTP and then converting the files for Linux use.  After doing so, my
> distributed files are getting corrupted. It looks like the IBM provided
> fixtool utility repairs the files, but it's taking way too long for my
> larger distributed files.  Making a HUGE assumption that it's the file
> transfer responsible for the file corruption, is there a preferred method
> for copying data files?
> 
Two possible problems. You ARE transferring them in ftp in binary mode?

And you have run the clean-up tool that corrects the byte order? (I think 
that's what Karl is talking about)

You might also find it easier to do a UVBACKUP and then restore that, because 
that (I think) gets round all the endian issues and that sort of stuff.

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


RE: [U2] PROC Question

2006-01-11 Thread u2
Wouldn't you rather just rewrite the proc in basic?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward
> Sent: Wednesday, January 11, 2006 12:35 PM
> To: U2-Users List
> Subject: [U2] PROC Question
> 
> 
> Hi folks,
> 
> I can't find anything in the IBM Doc's for ProVerb's that 
> tells me how to create an entry that will allow me to put 
> multiple commands on a single line.  In a nutshell, from a 
> "menu" when a user selects an option, I want to be able to 
> execute multiple commands.
> 
> Currently, I use multiple lines such as:
>IF A = 5 [USER.PL BASIC.PGM1
>IF A = 5 [USER.PL BASIC.PGM2
>IF A = 5 G 10
> 
> What I want to be able to do is:
>IF A = 5 [USER.PL BASIC.PGM1];[USER.PL BASIC.PGM2];G 10
> 
> Is my mind fried?  Maybe...  But is there something that will work?
> 
> BobW
> ---
> 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] INPUTDISP BASIC command

2005-12-30 Thread u2
Has anyone ever used this or seen it used? Why wouldn't you just use
crt?
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Eliminating strange characters

2005-12-30 Thread u2
[EMAIL PROTECTED] wrote:
> I have a weird situation that I could use some help on.
> 
> I am trying to copy an account on a Linux testmachine to a Winwdows PC.
> The account on the testmachine is shared via Samba.  The trouble is that
> there are some files that have weird files in the directories and it
> stops the copying.
> 
> For example,
> There is a dictionary called D_COMMENTS.  It is a type 30 file.  If you
> go into that directory in Linux and list whats there you get the
> following;
> 
> [EMAIL PROTECTED] D_COMMENTS]$ ls -al
> total 44
> drwxrwxrwx2 root alperts  4096 Aug 13  2004 .
> drwxrwxrwx  800 root alperts 24576 Dec 29 15:29 ..
> -rwxrwxrwx1 root alperts  2048 Aug 13  2004  ?0
> -rwxrwxrwx1 root alperts  1024 Aug 13  2004  ?1
> -rwxrwxrwx1 root alperts  2048 Feb 15  2005 DATA.30
> -rwxrwxrwx1 root alperts  1024 Aug 13  2004 OVER.30
> -rwxrwxrwx1 root alperts 0 Aug 13  2004 .Type30
> [EMAIL PROTECTED] D_COMMENTS]$
> 
> During the copy of the files from the testmachine to the PC, it aborts
> when it hits the files that appear to be named ' ?0' and ' ?1'.  Those
> files are actually named 'space', 'backspace', '0', and '1' or
> CHAR(32):CHAR(8):CHAR(48), and CHAR(49).  I don't know how they are
> getting there, but I suspect something funky going on during sombodies
> ftp copy.

Let me have a guess ... this account was originally from a Prime INFORMATION 
system?

If you're "lucky" enough to have a system still running PI-Open, and you 
investigate, you'll discover all PI hashed files at the Unix level contain 
files with names like that.
> 
> Anyway, how can I do a search for these 'goofy' files, so that I can
> find them all and delete them all at once ?
> 
My nix isn't good enough to give you that off the top of my head, but it'll be 
something like '\ \h.'. I'd suggest going into Midnight Commander and viewing 
the directory in that - it converts these names into something visible that you 
might be able to use in a search, and if you want to delete them, mc will do it 
laboriously but easily.

Oh - and read the Samba docs. You can tell Samba how to deal with these funny 
names so that windows doesn't screw up. I'm not sure how but you tell it to do 
some mapping so that it will convert backspace to something else before 
presenting the name to windows (been there, done that :-)

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


RE: [U2] [UD] BASIC "LOCK"s

2005-12-29 Thread u2
The universe people provided a lot of undocumented and unsupported
programs in the APP.PROGS. GET.USERS.B is one of them. It's well worth
going through. There are sample user exits, and a program named EDT
that's a clone of the pick ED command, and lot of other good stuff.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Anthony Dzikiewicz
> Sent: Thursday, December 29, 2005 1:34 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] [UD] BASIC "LOCK"s
> 
> 
> I didn't know about GET.USERS.  I did a HELP GET.USERS, HELP 
> BASIC GET.USER and there was nothing.  Is this undocumented 
> or is this a home grown utility ?
> 
> Anthony
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
> > Sent: Thursday, December 29, 2005 10:49 AM
> > To: u2-users@listserver.u2ug.org
> > Subject: RE: [U2] [UD] BASIC "LOCK"s
> > 
> > 
> > > PORT.STATUS will let you know if a PHANTOM is
> > > running, but you either
> > > have to be root or you have to change the
> > > permissions to allow you to
> > > see this.
> > 
> > The Universe function GET.USERS will also let you know
> > if a phantom is running.  It also has the advantage
> > that it won't give you the message: "Another
> > PORT.STATUS is running".  Some users can block
> > PORT.STATUS if they stay on the "Hit a key to continue message".
> > 
> > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] T-DUMP

2005-12-22 Thread u2
An easier way might be to copy the items into a type-19 file under
universe, transfer it to the unidata machine, and copy it into a hashed
file there. This might fail if the file contains special characters or
has odd characters in the ids, but for most files it should work.
Is your universe install on windows or unix? If you're on windows, I
think you're out of luck trying T-DUMP. If I recall correctly, there is
no way on windows to create a "virtual tape" that universes can use.
Uvbackup has a -t filename option that lets it go to a file, but T-DUMP
does not.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Thursday, December 22, 2005 4:09 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] T-DUMP
> 
> 
> I hate to do this, but here goes:
> 
> Do you *have* to use T-DUMP?
> 
> I would be more inclined to write a routine to create a 
> delimited text file, then compress the file, ftp to and 
> uncompress it on the UD machine, then reverse the process... 
> Just my two (or less) bits.
> 
> Karl
> 
> 
> 
> > I posted this once before and have checked with some other experts. 
> > However, we're coming up empty and hope someone has experience with 
> > this.
> >
> > I want to T-DUMP a file from UniVerse and T-LOAD it onto 
> UniData.  As 
> > we don't use tapes anymore I need to create some kind of 
> virtual tape 
> > file.
> >
> > In D3 I'd do the following:
> >
> > :DEV-MAKE -T TAPE -A "E:\Backups\DiskBackup,p"
> > :SET-DEVICE 3  <-- assuming the above command created 
> device#3 :T-REW
> > :T-DUMP CUSTOMERFILE
> > :T-REW
> > :T-DET
> >
> > This "E:\Backups\DiskBackup" file could then be handled 
> like any other 
> > file and sent to another D3 machine (either NT or Linux 
> although the 
> > commands are
> > slightly different for D3Linux).  There, one could:
> >
> > :DEV-MAKE -T TAPE -A "D:\DiskBackup,p"
> > :SET-DEVICE 4  <-- assuming the above command created 
> device#4 :T-REW
> > :T-LOAD CUSTOMERFILE
> > :T-REW
> > :T-DET
> >
> > The first two steps are what we're having problems with; defining a 
> > device and attaching it before we execute the "tape" 
> commands.  We've 
> > found that UniAdmin doesn't create a &DEVICE& file properly 
> and when 
> > we adjust the &DEVICE& item and try:
> >
> > ASSIGN DiskBackup TO MTU 0
> > Error, cannot get tape device configuration (87).
> >
> > We know UniAdmin will do a full, daily, or weekly backup 
> directly to 
> > any file (including path) we want; so UniAdmin knows how to 
> define and 
> > assign (or assign and attach) a Windows file path.
> >
> > Can anyone tell me how to define and assign a "virtual tape 
> file" so I 
> > can T-DUMP from UV and T-LOAD onto UD?
> >
> > As always, I appreciate any help anyone can offer.  :-)
> >
> > Bill Haskett
> > Advantos Systems, Inc.
> > www.advantos.net
> > (760)944-5570 (CA)
> > (360)923-4838 (WA)
> > ---
> > 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Deciphering Pick UniBasic statement

2005-12-08 Thread u2
My god, who would write a line of basic code like that? Must have been a
former MUMPS programmer.

IF P(2)-AR(12)<=28 THEN 
  CC=CC+1
  INS 0 BEFORE AR(14)<1,1>
  DEL AR(14)<1,9>
END ELSE IF AR(13)=DATE() THEN 
  CC=CC  <<---huh?
END ELSE 
  INS 1 BEFORE AR(14)<1,1>
  DEL AR(14)<1,9>
END

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Caleb Ng
> Sent: Thursday, December 08, 2005 2:11 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Deciphering Pick UniBasic statement
> 
> 
> I'm trying to decipher and break the following IF/THEN/ELSE statement
> into multiple lines because I need to add some logic into it. 
>   Being a
> PICK newbie, I'm having difficulty understanding it.  I 
> believe this code was ported from an old MD Pick system but I 
> want to make sure it behaves in a similar fashion once I 
> break it apart.  I'm sure this will be no problem to gurus 
> like yourselves.
> 
> IF P(2)-AR(12)<=28 THEN CC=CC+1; INS 0 BEFORE AR(14)<1,1>; 
> DEL AR(14)<1,9>; ELSE IF AR(13)=DATE() THEN CC=CC ELSE INS 1 
> BEFORE AR(14)<1,1>; DEL AR(14)<1,9>
> 
> Thanks in advance,
> 
> 
> Caleb Ng
> Systems Analyst
> Sweetwater Authority
> [EMAIL PROTECTED]
> (619) 409-6763
> ---
> 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: uv.rc script curiosity

2005-11-30 Thread u2
[EMAIL PROTECTED] wrote:
> We are running UV 10.0.8 on Solaris 8.
> 
> My eunuchs admin asked me why the startup script (/etc/rc2.d/S99uv.rc), which 
> runs as root, uses su commands.
> 
> For example, here is part of the start:
> 
> # Find running RPC daemons
> rlist=`/bin/su root -c "/bin/ps $PSARGS"|grep
> 
> My guess, based more on ignorance than anything else, is that it's an attempt 
> to make the script as portable from platform to platform as possible...  But 
> that was something I more or less just mumbled to hide the sound of my brain 
> cramping.
> 
> Any thoughts on this?
> 
Well, if you want an educated guess, I do NOT think startup scripts run "as 
root". They run as uid 0, which isn't the same thing.

I'm guessing the 'su' forces /etc/profile and ~/.profile to run, which will 
alter the command's environment and change the way the command runs.

That's why, in rc.d and cron scripts, you are *always* advised to spell 
everything out *explicitly* - you can't trust the environment to be what you 
expect.

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


RE: [U2] Week of the year (UV)

2005-10-28 Thread u2
[EMAIL PROTECTED] wrote:
> [EMAIL PROTECTED] wrote:
> > ** A week is defined as a seven-day period running from Monday-Sunday.
> > ** Week 1 of any year is defined as the first week containing four days
> > ** of the year, or equivalently the week containing the first Wednesday
> > ** of the year. For example, if January 1 falls on a Friday, then the
> > ** first two days of January fall in week 53 of the preceding year.
> > **
> BIG BIG WHOOPS 
> 
> It's Thursday, not Wednesday. Let's take the case of "Wed, 31 Dec". Your 
> wednesday rule makes it week 53. But Thu,Fri,Sat,Sun are all in the following 
> year, ie 4 days, ie a majority, which makes it ISO week 1.
> 
There's now a function available in the Basic Code area of PickWiki that will 
do this for you.

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


RE: [U2] Week of the year (UV)

2005-10-28 Thread u2
[EMAIL PROTECTED] wrote:
> Barry:
> 
> This is what I use to meet the ISO
> 
> Bill
> 
> SUBROUTINE WEEKNO (DateIn, WeekOut)
> **
> ** Notes:
> **
> ** Passed Variables:
> **DateIn   :  Internal date representing week number desired
> **WeekOut  :  ISO 8601-formatted Week Number:
> **
> ** ISO 8601 prescribes a format Wnn, where nn is the ordinal week
> ** number in the year, and the rule is that week 01 in a year is the
> ** first week that contains four calendar dates in that year.
> **
> ** A week is defined as a seven-day period running from Monday-Sunday.
> ** Week 1 of any year is defined as the first week containing four days
> ** of the year, or equivalently the week containing the first Wednesday
> ** of the year. For example, if January 1 falls on a Friday, then the
> ** first two days of January fall in week 53 of the preceding year.
> **
BIG BIG WHOOPS 

It's Thursday, not Wednesday. Let's take the case of "Wed, 31 Dec". Your 
wednesday rule makes it week 53. But Thu,Fri,Sat,Sun are all in the following 
year, ie 4 days, ie a majority, which makes it ISO week 1.

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


Re: [U2] Week of the year (UV)

2005-10-27 Thread u2
[EMAIL PROTECTED] wrote:
> Dows anybody know how to work out what week of the year you are in?

Search the list archives - it's been discussed before.

But if you need to know how, I'll give you a few tips. There's an oconv option 
which returns the "day of year" value, divide this by 7 to work out how many 
weeks have passed.

And the ISO standard says (a) the week is Monday to Sunday, and (b) a week 
belongs to whichever year its Thursday falls into.

So the algorithm is something like "what is the 'day of year' for this week's 
Thursday? Now divide that by 7". I've got a feeling this simple algorithm has 
got an "off by one" error in it, so you'll need to check for that, but that's 
about it.

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


Re: [U2] U2 SQL cache

2005-10-25 Thread u2
[EMAIL PROTECTED] wrote:
> I'm only a novice when it comes to SQL/RDBMS so forgive me if I sound 
> clueless here.
> I'm considering recommending UniData as our next MV platform, and have 
> been asked this question:
> "Does UniData do 'result caching' or 'query caching'?"

Umm ... this is a catch 22 question. Is the questioner a PHB ticking boxes, or 
someone who really wants to know?
> 
> I've not been able to find the answer on IBM's website.  Can anyone tell 
> me or point me to a link?
> 
The correct answer is "what's the point?". I'll explain.

Query caching is an optimisation technique that is intended to overcome the 
inherent limitations of a First Normal Form (relational) database engine. UD is 
not FNF, therefore does not suffer this limitation, therefore does not need 
(actually, cannot implement) this form of optimisation.

To give my favourite example ... the invoice. A relational engine will scatter 
the data for one invoice across multiple rows in multiple tables. A query cache 
optimises and memorises how the query was executed, in order to speed it up 
next time. UD will simply store the entire invoice in one record, and you can't 
speed up a "got everything first attempt" query.

The point is, relational THEORY is hopelessly inefficient. MV PRACTICE is very 
efficient. So any relational optimisation is a waste of time in the MV world.

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


Re: [U2] UVODBC & Crystal Reports Problem

2005-10-24 Thread u2
[EMAIL PROTECTED] wrote:
> 
> Hi all,
> 
> We have a customer that uses Crystal reports and recently had one of our
> installation people put the UVODBC client on their machines.
> 
> Since the UVODBC client has been installed on the machines the users are
> getting an error message when trying to use Crystal Reports.

This has been reported before ...
> 
> The errors are as follow:
> 
> crw32.exe has generated errors and will be closed by Windows. You will
> need to restart the program.
> 
> and
> 
> Error 1919. Error configuring ODBC data source: CRSS, ODBC error 13:
> Could not load the setup or translator library. Verify that the file
> CRSS exists and that you can access it.
> 
> I presume from the above that somewhere along the lines the UVODBC
> installation has over written an ODBC file that crystal reports was
> using.
> 
You'll need to search for it, but this is, iirc, a known problem. UV and CR 
clash over a dll. It's something like they both use "u2" as the identifying 
prefix, then they both chose the same name a for dll ... dll hell ... :-(

I don't know whether a newer odbc client will fix it, but I do remember this 
was a cause of problems when you put U2 and CR on the same machine. It was 
version-specific, too, iirc. I think one person hit this when he was running 
CR9 and upgraded to 10 or something. I'm sure it's been discussed on this list.

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


RE: [U2] Translate question

2005-10-18 Thread u2
Try something like this:
CRT ICONV('ITEMID','TFILE;X;1;2')
CRT OCONV('ITEMID','TFILE;X;1;2')
Where attributes 1 and 2 are different. The iconv displays attribute 1,
and the oconv displays attribute 2. This is probably uninteresting in
BASIC, but in a dictionary item, in an A-type, the conversion in
attribute 7 is oconvd and the correlative in attribute 8 is iconvd.
Again, that may not be all too interesting, but there are some arcane
tricks you can do with A-types on break and total lines (though I don't
know that universe supports them, and unfortunatly I can't remember any)
where the correlative is used as a conversion (or the other way
around--I wish I could remember--anyone know?), So you would want to
specify both on the same line.


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson
> Sent: Tuesday, October 18, 2005 8:51 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] Translate question
> 
> 
> I don't get it. If I'm retrieving the 15th attribute from 
> FILE, ID, what is being ICONV'd? Is there a WRITE possibility? Thanks.
> 
> - Original Message -
> From: "Bruce Nichol" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, October 18, 2005 12:15 AM
> Subject: Re: [U2] Translate question
> 
> 
> > Goo'day, Mark,At 23:16 17/10/05 -0400, you wrote:
> >
> > >I've always used the OCONV(ID,"TFILE;X;15;15") form for 
> translates. 
> > >What
> is
> > >the difference between the first and second '15's. I've 
> seen "X;;15" 
> > >work
> and
> > >"X;15" not work.
> >
> > The difference is in "ICONV" vs "OCONV" 
> >
> > The first "15" is for ICONV's and the second "15" is for OCONV's
> >
> > AFAIK, "standard" over all implementations...
> >
> > HTH
> >
> > >Thanks in advance.
> > >Mark Johnson
> > >---
> > >u2-users mailing list
> > >u2-users@listserver.u2ug.org
> > >To unsubscribe please visit http://listserver.u2ug.org/
> > >
> > >
> > >--
> > >No virus found in this incoming message.
> > >Checked by AVG Anti-Virus.
> > >Version: 7.0.344 / Virus Database: 267.12.2/138 - Release Date: 
> > >17/10/05
> > >
> > >
> > >
> > >
> > >--
> > >No virus found in this incoming message.
> > >Checked by AVG Anti-Virus.
> > >Version: 7.0.344 / Virus Database: 267.12.2/138 - Release Date: 
> > >17/10/05
> >
> > Regards,
> >
> > Bruce Nichol
> > Talon Computer Services
> > ALBURY    NSW 2640
> > Australia
> >
> > http://www.taloncs.com.au
> >
> > Tel: +61 (0)411149636
> > Fax: +61 (0)260232119
> >
> > If it ain't broke, fix it till it is!
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.344 / Virus Database: 267.12.2/138 - Release Date: 
> > 17/10/05
> > ---
> > 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/


RE: [U2] [UV][SB+] International

2005-10-14 Thread U2
Dear Mike,

No experience in SB+, only in UV

Look into the documentation on NLS 

1) Date
- does the date display / entry need to be localized.
2) Multi-byte characters
- printing will be an issue that need to be tested throughly. Using command
like PRINT MYCHAR 'L#10' will NOT align the multi-byte characters correctly,
need to use command PRINT FMTDP(MYCHAR,'L#10'). I think there is a patch
from IBM on this issue (VLIST ???)
- Storing of data: you can store the data in either ASCII or UNICODE but if
you need to access the data in HP-UX (e.g. &HOLD& file), you need to store
it in ASCII (with relevant file map table)
- Command like LEN will return the number of characters instead number of
character that take up spaces. If an issue, then need to change to LENDP.
- Indexing: if you need to index multi-byte characters, your file mapping
must be NONE (no file mapping) , otherwise the index on the multi-byte
character field will be wrong.

In addition, certain UV commands might not behave as documented.
- RESIZE: will not work on file with NLS map.
- ACCOUNT.FILE.STATS: will not report the file stats correctly due to
additional line in command ANALYZE.FILE. Need to change program BP
ACCT.STAT.B to ignore the additional line.

HTH,
js

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Farrant

My environment:

Unix VersionHP-UX  B.11.11
Universe Version  9.6.1.6
SB+ Version3.4.0/7

My Question:

How 'international' is my environment?  Our business is likely to roll out
to Eastern Europe, Russia perhaps and even places like Turkey and Isreal.
To my knowledge I think HP-UX can cope with the different characters used by
at least some of these countries, but what about Universe & SB+?

Does anyone have any experience with this?

Thanks in advance,

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


RE: [U2] Good Programming Practice Question.........

2005-09-28 Thread u2
[EMAIL PROTECTED] wrote:
> We also use "xnn.meaningful.name" type labels. One advantage is that our
> editor can recognise a label and putting the cursor on a line that
> includes a GOSUB and pressing one function key will move the cursor
> directly to the correct paragraph.
> 
> One thing I've never agreed with (except in COBOL) is "every internal
> subroutine should only have on exit point" - why?
> 
Because it makes "flow of control" so much easier ... but mostly where I've 
seen it, it DOES make an exception for error handling. Maybe rephrase it - 
"every internal subroutine should only exit from one point if it completes 
successfully".

My two favourite rules were "if a single logic-block won't fit on one screen, 
it's too big", and "if a single section of code won't fit on one page of 
printout, it's too big".

One of my colleagues tends to work to the mantra "if it's only used once, it 
should be in-lined". Leads to huge programs where you enter at the top, fall 
out at the bottom, and get hopelessly lost in the detail. As the OO guy said, 
"three lines is too big" (I think that's an exageration :-) but DON'T start 
using trees to hide the wood! The ONLY time I would agree with inlining stuff 
like that is if your program doesn't have flow-control (ie, there are no loops 
(or backwards gotos in FORTRAN :-).

So I tend to program with each section controlling a layer and calling 
subroutines (CALL or GOSUB, doesn't matter, usually GOSUB) to handle the tasks 
in the layer below. Which may themselves actually do something, or be a control 
layer.

Actually, to sum up both my rules above, "if there's a backward jump (LOOP, 
GOTO, FOR NEXT, whatever), and you can't see *both* the *start* *and* *end* at 
the same time on your preferred medium for making changes (screen for a small 
block of code, printout for the entire function, for me), then it's too big. 
(That's why it's *one* *page* of printout - I don't consider sheets of printout 
strewn over my desk as a preferred way of editing something! :-)

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


RE: [U2] [UV] Universe without root access

2005-09-26 Thread u2
[EMAIL PROTECTED] wrote:
> Thanks Ray,
> 
> I think this answers my question...
> 
> In other words if you are not root authorised at UNIX you cannot under
> any circumstances be a super-user at Universe level, no matter how you
> setup/install Universe since Universe uses UNIX to authenticate.
> 
> Is that right?

Actually, it may be wrong ...
> 
> I was thinking it might have been possible to create a different
> security level (not root) that Universe could sit on thinking it was
> root and therefore setting the 'super-user flag' to true and allowing
> Universe admin that requires super-user access.

Certainly you can't do it that way. But maybe you could run UV in a chroot 
jail, so some users could have "root in the jail", but not be able to impact 
others.

There's a lot of things to think about here, though. If you have "root in the 
jail" I think there are ways of breaking out. And you may (or may not) have to 
force all UV users via the jail - I don't know whether locking would work 
across the jail boundary or not.

It's an idea, anyway. Or switch on SELinux, so that "root" is "just another 
user" :-) Something to think about.
> 
> Mike

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


RE: [U2] squelching the ClearScreen before a LIST output

2005-09-22 Thread u2
TERM 0 and TERM ,0 are not allowed on universe--it enforces minimum and
maximum widths and heights.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> James Canale, Jr.
> Sent: Thursday, September 22, 2005 12:45 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] squelching the ClearScreen before a LIST output
> 
> 
> I don't know if this will / will not work for UV, but, an old 
> PICK trick is to set the TERM depth to '0' temporarily.  This 
> works on UniData so it should work here too.  As this 
> disables pagination, it can only be used for less than a 
> screens worth of data.
> 
> TERM ,0
> LIST ...
> TERM ,24
> 
> HTH.
> 
> Regards,
> 
> Jim
> 
> 
>  
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
> Sent: Thursday, September 22, 2005 9:36 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] squelching the ClearScreen before a LIST output
> 
> OK. this is for UV10
> 
> Is there a keyword/option to NOT do a clear screen on the 
> LIST command. This would be from a Paragraph, so I can't do 
> an execute and just remove
>   it from captured data.
> 
> What we want to do is show information, then LIST file (which 
> only has one
>   or two items), then show more information below it.
> 
> Right now, every time we do the LIST, it clears the screen 
> and gets rid of the top information.
> 
> George
> ---
> 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/


RE: [U2] squelching the ClearScreen before a LIST output

2005-09-22 Thread u2
This may be more work than you want, and changing the TERM-type to dumb
will probably do what you want, but for future and general utility use,
you could have a program named something like VIEW that takes  a LIST
command as a parameter (or as stacked data) and displays the output in a
scrolling window, or just as a stream with no page breaks, based on
command line parameters. The same program could also be extended to
export the results of the list to csv or xml (programs to do this have
been mentioned on the list lately). You would be able to use it in
paragraphs or procs or wherever.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
> Sent: Thursday, September 22, 2005 10:42 AM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] squelching the ClearScreen before a LIST output
> 
> 
> this is from a paragraph, not a program, and converting it
>   to a program is a last resort, for now our workaround was
>   to change the order of the display, so the list runs first
>   instead of in the middle..
> 
> George
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Peter Gonzalez
> Sent: Thursday, September 22, 2005 10:20 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] squelching the ClearScreen before a LIST output
> 
> 
> George, If you CAPTURE the output to a variable you can 
> modify the LIST 
> results.   I can even have a routine to move 'F'oward or 
> 'B'ack and display 
> your LIST results.
> 
> 
> At 09:35 AM 9/22/2005 -0400, you wrote:
> >OK. this is for UV10
> >
> >Is there a keyword/option to NOT do a clear screen on the 
> LIST command. 
> >This would be from a Paragraph, so I can't do an execute and 
> just remove
> >   it from captured data.
> >
> >What we want to do is show information, then LIST file 
> (which only has one
> >   or two items), then show more information below it.
> >
> >Right now, every time we do the LIST, it clears the screen 
> and gets rid 
> >of the top information.
> >
> >George
> >---
> >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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] squelching the ClearScreen before a LIST output

2005-09-22 Thread u2
Most systems have a terminfo entry for "dumb", so
TERM dumb
LIST LISTTLEFILE
TERM vt100
Would get you a list with no formfeeds at page breaks


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
> Sent: Thursday, September 22, 2005 9:36 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] squelching the ClearScreen before a LIST output
> 
> 
> OK. this is for UV10
> 
> Is there a keyword/option to NOT do a clear screen on the 
> LIST command. This would be from a Paragraph, so I can't do 
> an execute and just remove
>   it from captured data.
> 
> What we want to do is show information, then LIST file (which 
> only has one
>   or two items), then show more information below it.
> 
> Right now, every time we do the LIST, it clears the screen 
> and gets rid of the top information.
> 
> George
> ---
> 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] ICONV of Date - Strange result

2005-09-22 Thread u2
[EMAIL PROTECTED] wrote:
> Dear All,
> 
> Just face a problem when using  ICONV for date , in one of the  account it
> return "blank" result  .
> Try on other account (same / different account flavour and system )  is
> working fine
> 
>   Do anyone having experience this situation before. T.I.A
> 
>   XX=ICONV("31-12-","D")
>  CRT XX ==> return blank result
> 
I can't see why it should be doing it, but in this instance where it doesn't 
work, have you turned on European format or not?

If set to expect an American date, and in certain flavours, I would expect a 
blank result. iirc Pick OCONV returns null when fed incompatible data and 
conversion. INFORMATION always returned the original data unaltered.

So I guess, where you've got the problem, you'll find you've got a Pick flavour 
active and American date format set. (Or have you got an invisible control 
character in your date?)

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


Re: [U2] XML question on UniData 6.0

2005-09-19 Thread u2
[EMAIL PROTECTED] wrote:
> Yes, you've read this before.  But all the XML experts must have been on
> vacation, so I'm posting it again in hopes that they 're back.
> 
> Is there a way to define the following XML section in a Unidata 6.0 extraction
> file, so that it will give me a single date (07/20/2005) value/DICT entry,
> without having to define individual Month (07), Day(20), Year
> (2005) DICT items and then using an I-Type to rebuild it?

Use an I-type to rebuild what? Why not just create Day, Month and Year as 
i-types that do the conversion (or as synonyms).

I'm using UV syntax, but I'd either create a D-type called eg Year with a 
conversion field (field 3) of "D2[Y4]" (or whatever the correct syntax is, or 
an i-type with a location field (field 2) of "OCONV(..., "D2[Y4]")".

I don't know if the first syntax would work in UV, so I certainly don't know if 
it would work in UD ...

Not knowing what you mean by "rebuild", I can't offer any further hints...

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


Re: [U2] LPTR / SETPTR / landscape orientation example

2005-09-19 Thread u2
[EMAIL PROTECTED] wrote:
> Hi gang,
> 
> I'm in the process of tweaking one of our reports which use a "LIST ...
> LPTR" command line to spool the output to the default printer. However, the
> results are too wide for portrait orientation and was wanting to find a way
> to set the orientation with SETPTR prior to the execution of the LIST
> statement.
> 
> I tried to use the following statement but that doesn't seem to change the
> default orientation of the printer:
> 
> UDTEXECUTE 'SETPTR 0,1,,"Orientation=LANDSCAPE"' CAPTURING ASPMSG
> 
There's no way to do this from within UniVerse that I know of - there might be 
in UniData - without mucking about with print queues and making a special queue 
or format or something.

I've got a WIDELIST command I've written that knows about printers and will 
wrap the necessary escape sequences around things. Email me offline at work 
(Anthony dot Youngman at ECA dash International dot com) if you want to adapt 
my code. I really ought to put it up on PickWiki ...

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


RE: [U2] Re: Virtual Tape for UV/NT

2005-09-09 Thread u2
Universe, at least on windows, doesn't appear to include a Settape
command :(

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Friday, September 09, 2005 7:22 PM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] Re: Virtual Tape for UV/NT
> 
> 
> Ed;
> 
> We used to do this on UniData to restore data from D3 systems.
> 
> Settape 0 c:\d3filesave c:\d3filesave 512 * this is the 
> blocksize used to create the file.
> 
> We simply used the filename instead of the unix device.
> 
> Colin Alfke
> Calgary, AB
>  
> 
> >-Original Message-
> >From: ed clark
> >What I'm really looking for is a way to read backups to
> >virtual tape files made on other mv systems, like mvBase or 
> >mvEnterprise.
> >I hope you're pausing the database, or making sure everyone is 
> >off and universe isn't doing anything becore you do your 
> >xcopy. There have been a lot of postings here about the danger 
> >of using OS file management commands on universe files.
> ---
> 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] Re: Virtual Tape for UV/NT

2005-09-09 Thread u2
What I'm really looking for is a way to read backups to virtual tape
files made on other mv systems, like mvBase or mvEnterprise.
I hope you're pausing the database, or making sure everyone is off and
universe isn't doing anything becore you do your xcopy. There have been
a lot of postings here about the danger of using OS file management
commands on universe files.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dave Taylor
> Sent: Friday, September 09, 2005 5:37 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Re: Virtual Tape for UV/NT
> 
> 
> Ed,
> 
> We use the xcopy command.
> 
> It does not generate a "tape" formatted record.
> 
> It simply copies the entire folder and all sub-folders and 
> their records to another location, on the same or another 
> computer on the network.
> 
> In fact, if UV and the copied application folders are 
> installed in the same disk volumes on both computers, the 
> copied application software will run immediately upon being 
> copied onto the target computer, without any tape restore.
> 
> We run this from a script that is installed as a scheduled 
> task under Windows, so it runs every night and we have both a 
> backup of the database from the primary computer and a fully 
> restored copy of it on the backup computer that is ready to 
> run if necessary.
> 
> hth,
> 
> Dave
> 
> Dave Taylor
> President
> Sysmark Information Systems, Inc.
> 49 Aspen Way
> Rolling Hills Estates, CA 90274
> 800-SYSMARK (800-797-6275)
> (O) 310-544-1974
> (P) 800-339-1497
> (F) 310-377-3550
> Your Source for Integrated EDI Translation and DataSync 
> Integration www.sysmarkinfo.com
> 
> - Original Message - 
> From: <[EMAIL PROTECTED]>
> To: 
> Sent: Friday, September 09, 2005 11:53 AM
> 
> 
> > Has anyone ever figured out how to set up a virtual tape on 
> universe 
> > under windows? I've seen it done under unix, but for windows is it 
> > possible?
> > ---
> > 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/


[no subject]

2005-09-09 Thread u2
Has anyone ever figured out how to set up a virtual tape on universe
under windows? I've seen it done under unix, but for windows is it
possible?
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] RE: Named Common

2005-09-06 Thread u2
[EMAIL PROTECTED] wrote:
> > > btw  named common isn't quite safe either - it's possible 
> > > that another routine uses the same name for it's common ...
> > 
> > I hit that using &Pace at a previous job ...
> > 
> > > What's really needed is a  'local static'  modifier.
> > 
> > Would be nice :-)
> 
> What's really needed is a good software mapping tool.
> 
Do you really want to debug the output of a (otherwise very good) code 
generator?

Although it might well help in spotting the problem. But imho, for a good 
programmer experience is a very important debugging tool ...

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


Re: [U2] RE: Named Common

2005-09-06 Thread u2
[EMAIL PROTECTED] wrote:
> Yes it's a possible way of 'remembering' some values but we
> ruled it out for the same reason as unnamed common -  sooner
> or later you'll interact with a subroutine or function that also
> uses them  and then ...
> 
> btw  named common isn't quite safe either -
> it's possible that another routine uses the same name
> for it's common ...

I hit that using &Pace at a previous job ...

It stored file variables in named common, autogenerating the common name from 
the file name. Guess what - we had a name collision - and it was quite a subtle 
bug!

I'd dug into the generated code before (surprise surprise) so as soon as I was 
shown the problem I guessed what it was. But the poor lass who first hit it was 
completely puzzled by it.
> 
> What's really needed is a  'local static'  modifier.

Would be nice :-)

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


RE: [U2] REMOVE results as promised.

2005-08-22 Thread u2
Which platforms don't support system(11)?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dzevad Dizdar
> Sent: Monday, August 22, 2005 12:27 AM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] REMOVE results as promised.
> 
> 
> Hi Mark,
> 
> There is another fast method to consider
> 
> A=""
> FOR I=1 TO 5
>   IF A = "" THEN
> A := I
>   END ELSE
> A := @VM : I
>   END
> NEXT I
> 
> It will take less then 1 second to finish on our system.
> Dzevad
> 
> - Original Message - 
> From: "Mark Johnson" <[EMAIL PROTECTED]>
> To: 
> Sent: Sunday, August 21, 2005 12:27 PM
> Subject: [U2] REMOVE results as promised.
> 
> 
> > As promised, here are the results of 9 different methods of 
> appending. 
> > Basically program went like this:
> >
> > A=""
> > FOR I=1 TO 5
> > A<1,-1>=I
> > NEXT I
> >
> > Style 1: <1,-1> 
> > straight...1 
> > minute, 29 seconds
> > Style 2: <-1> attribute level then CONVERT to
> > 253...41 seconds
> > Style 3: DIM(50,000), MATWRITE, READ & 
> > CONVERT.2
> > seconds
> > Style 4: DIM(50,000), then assign to variable and CONVERT to 
> > 2531
> > second
> > Style 5: Target = null, []
> > replacing40 
> > seconds
> > Style 6: Target=Space(100), [] replacing then 
> TRIM8 minutes, 
> > 55
> > seconds.
> > Style 7: Append, VM assigned inside
> > loop..41 seconds
> > Style 8: Append, VM assigned outside loop then remove 
> > last..34
> > seconds.
> > Style 9: <1,MV> with MV+=MV as 
> pointer.1 
> > minute,
> > 28 seconds
> >
> > 60 user D3 system on W2000 during normal business day.
> >
> > It appears that Styles 3 & 4 escaped the suggestions and 
> rose to the 
> > top. Apparently the CONVERT (or RAISE/LOWER) functions are pretty 
> > quick. The DIM is incredibly quick.
> >
> > I learned a lot and hope others can as well.
> > Thanks for everyone's suggestions.
> > Mark Johnson
> >
> > If anyone wants further coding for any of the styles then don't 
> > hestitate
> > to
> > ask.
> > ---
> > 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/


RE: [U2] Universe active lists

2005-08-19 Thread u2
There are a couple of ways to get around this.
1. Use PERFORM instead of EXECUTE. Perform uses the active select list.
2. Pass a select list to the EXECUTE. In the Pick flavor you can so this
with
SELECT TO MY.LIST
EXECUTE 'ED VOC' PASSLIST MY.LIST
This will not work in ideal mode.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
> Sent: Friday, August 19, 2005 8:35 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Universe active lists
> 
> 
> Greetings U2 users,
> 
>  
> 
> I have a technical question/problem in Universe that I could 
> sure use help with.
> 
>  
> 
> If you type this:
> 
>   SELECT VOC = "A]"
> 
>   ED VOC
> 
>  
> 
> (from a "P" flavored account in this case, but I'm not sure 
> flavor has any influence on the real problem)
> 
>  
> 
>   The edit will run from the list of items in the VOC 
> that start with A.
> 
>  
> 
>   But if you do this
> 
>   SELECT VOC = "A]"
> 
>   BLEEP VOC
> 
>  
> 
> Where BLEEP is a BASIC PROGRAM that does this:
> 
>  
> 
>   SIZE = SYSTEM(11)
> 
>   IF SIZE # 0 THEN
> 
>CRT "you had a list active!
> 
>EXECUTE 'ED VOC'
> 
>   END
> 
>  
> 
> The executed version of ED VOC will not automatically run 
> from the list that you selected before typing BLEEP.
> 
>  
> 
> I guess the BASIC program has interfered with the system's 
> memory that there was a list active.  Is there a handy-dandy 
> way for me to re-ignite the list before executing the ED VOC? 
>  I vaguely remember some stuff about PASSLIST and RTNLIST but 
> everything I can find about that seems to work only if the 
> BASIC program is what manufactures the list in the first 
> place.  But I'm thinking if the first thing BLEEP does is 
> pass the active-from-tcl-list into one of the list variables, 
> then I could re-activate it before launching 'ED'.  But I'm 
> not having any luck with this.
> 
>  
> 
> Thanks in advance to anyone who can take time out of their 
> busy day to help me figure this out!
> 
>  
> 
> Susan Joslyn
> ---
> 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] Universe active lists

2005-08-19 Thread u2
[EMAIL PROTECTED] wrote:
> Greetings U2 users,
> 
> I have a technical question/problem in Universe that I could sure use help
> with.
> 
> If you type this:
> 
>   SELECT VOC = "A]"
>   ED VOC
> 
> (from a "P" flavored account in this case, but I'm not sure flavor has any
> influence on the real problem)
> 
>   The edit will run from the list of items in the VOC that start
> with A.
> 
>   But if you do this
> 
>   SELECT VOC = "A]"
>   BLEEP VOC
> 
> Where BLEEP is a BASIC PROGRAM that does this:
> 
>   SIZE = SYSTEM(11)
>   IF SIZE # 0 THEN
>CRT "you had a list active!
>EXECUTE 'ED VOC'
>   END
> 
> The executed version of ED VOC will not automatically run from the list that
> you selected before typing BLEEP.
> 
> I guess the BASIC program has interfered with the system's memory that there
> was a list active.  Is there a handy-dandy way for me to re-ignite the list
> before executing the ED VOC?  I vaguely remember some stuff about PASSLIST
> and RTNLIST but everything I can find about that seems to work only if the
> BASIC program is what manufactures the list in the first place.  But I'm
> thinking if the first thing BLEEP does is pass the active-from-tcl-list into
> one of the list variables, then I could re-activate it before launching
> 'ED'.  But I'm not having any luck with this.
> 
Actually, I think it's pretty simple. What's your VOC entry for BLEEP?

Field 4 contains a load of characters which indicate how the command processor 
handles the environment. I think the default is NOT to pass select lists 
through.

Just add the relevant character to this field (you'll need to look it up in the 
documentation) and TCL will pass the select list to BLEEP giving you the 
results you expect.

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


RE: [U2] HP PCL5/6 Code Book

2005-08-08 Thread u2
About a year ago I found some pdfs on HP's site, and they had full
documentation for pcl on a CD that you could order for like $10 (I
think). I have the CD. If you can't find it on HP, I'm willing to share.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson
> Sent: Monday, August 08, 2005 11:50 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] HP PCL5/6 Code Book
> 
> 
> Does anyone have a useful single source for all of the HP PCL 
> 5/6 codes.
> 
> I find that every time I need them I go to google and search 
> and get a different site every time. I would like one 
> comprehensive PDF if at all possible that I could carry on my 
> flash memory drive.
> 
> Thanks in advance.
> Mark Johnson
> 
> PCL for Dummies?
> ---
> 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] New UV Accout VOC

2005-08-08 Thread u2
The "further command" you issued is looking for a program named
MAIN.MENU probably. You need to look at the original account and see
what MAIN.MENU is. It's possible that it wasn't originally cataloged,
but was being found in the file that the program looking for it was run
from. You may need to copy another file, or catalog some programs.
MAIN.MENU may be refrenced by a program called from an I-type dictionary
entry. 
Copying the entire VOC is almost never a good idea. You need to go
through it and look at every q-pointer checking which ones point to the
original account--some of them will need to point to the new account
instead, while others will have to remain pointing to the old one. You
may have some cataloged entries in there with relative file paths that
need to be updated.



> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Brutzman, Bill
> Sent: Monday, August 08, 2005 10:19 AM
> To: 'u2-users@listserver.u2ug.org'
> Subject: [U2] New UV Accout VOC
> 
> 
> We need to setup a "Sand-Box" account for piloting.
> 
> I created an account with UV Admin.  I copied the data files 
> (including VOC) over.
> 
> The command   >LOGTO SANDBOX   seems to work ok.
> 
> Upon issuing further commands from a TCL prompt, UniVerse 
> comes back with an error message indicating...
> 
> "Verb MAIN.MENU is not in your VOC".   We are on a newer 
> version of HP-Ux.  
> 
> Suggestions would be appreciated.
> 
> --Bill
> ---
> 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] 2 quick HS.SCRUB questions

2005-07-29 Thread u2
[EMAIL PROTECTED] wrote:
> Hola all -
> 
> Haven't been able to find answers to these in the docs, so any info 
> gratefully received:
> 
> 1) Does HS.SCRUB lock the file it's scrubbing, and if so does it do so 
> even in reporting mode?

Don't know ...
> 
> 2) How do I get it to run through, in reporting mode, automatically w/o 
> prompting me to continue?
> 
Answer the prompt with 'N', and it won't prompt again. That's not quite true, 
you'll get two prompts you need to answer ...

Or try adding NO.PAGE to the command line. That should work, but equally, why 
do you get two "press return to continue"s, so it might not.

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


Re: [U2] Win2003 Serial Printers

2005-07-27 Thread u2
[EMAIL PROTECTED] wrote:
> All,
>  
> One of my UniVerse clients is changing over from UNIX to Windows.
>  
> They currently have a number of serial printers attached to their UNIX box
> using Xylogic Annex terminal servers.
> Since these are as old as the hills and not supported on Win2003, can anyone
> recommend a suitable replacement?
>  
What's as old as the hills? The printers, or the terminal server?

Either way, taking your email at face value, Windows ought to be able to 
support them (I can't say for sure, not having used W2K3).

The printers, you just want to select "generic/text" as the driver - UV will 
ignore the drivers anyway.

The terminal servers - it was well hidden in NT4 and must surely still be 
there, but is probably just as well hidden :-) you must be able to configure a 
printer using reverse telnet ... I'm sure we did it though I can't remember 
how. Just configure it with the IP address and port number.

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


Re: [U2] UniVerse_login_name_on_Windows?=

2005-07-26 Thread u2
[EMAIL PROTECTED] wrote:
> Is there a way to force UniVerse to report only the user name portion
> without the domain prefix on Windows? e.g. @Logname = administrator not
> MYMACHINEadministrator?
> I seem to remember there was one, but I can't remember how.

There is one, and I can give you hints, but likewise can't remember the details.

You need to edit the registry :-( I think it's a new key, and I can't get at 
our server registry so I can't hunt for it for you ...

The default behaviour changed about 9.6, and it was documented so if you've got 
any release notes or stuff from that period, it should be in there. I'll hunt 
in our 9.6 docu, and if I find anything I'll post it.
> 
> Brian

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


[U2] Orlando, FL

2005-07-22 Thread U2-users
The company I work for, currently in Southeast Florida (USA) is thinking
about moving to the Orlando area. I wanted want the market for recruiting
permanent Unidata developers (not consultants, sorry, not this time) in the
Orlando area was like.  If we move, will I be high and dry if my current
staff decides not to make the move?

Reply offline, if desired.

Thanks,
Name and Company Withheld


Message sent using www.aspwebsoft.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] London - Again

2005-07-21 Thread u2
[EMAIL PROTECTED] wrote:
> All,
>  Our thoughts are with all of you in London after this second wave.
> 
Thanks :-)

Although, from what I can tell from the news reports, it's a minor copycat 
incident. The only casualty I know of is the perpetrator appears to have been 
slightly injured.

I'm just not looking forward to trying to get home, what with the Underground 
still badly stuffed from 7/7, and now several other lines closed as a 
precaution. It'll be chaos at the stations again ...

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


RE: [U2] dll File (u2libeay32.dll)

2005-07-19 Thread u2
SSLeay was an SSL library originally created by Eric Young (eay). It was
eventually absorbed into the openSSL project (openssl.org). So my guess
is that when u2 added SSL socket encryption, they went with open source?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr
> Sent: Tuesday, July 19, 2005 6:39 AM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] dll File (u2libeay32.dll)
> 
> 
> Can anybody tell me what this file does, as it has caused 
> some problems with 3rd party products and when we rename it 
> to u2libeay32.old, all seems to work, I am just worried that 
> I might have missed something. 
> __
> __
> Regards
> Bjvrn Behr
> Programmer
> 
> HYFLO Southern Africa (Pty) Ltd
> Tel : +27 11 386 5800
> Fax : +27 11 444 5391
> Mail: [EMAIL PROTECTED]
> WWW : http://www.hyflo.co.za 
> __________
> __ 
> ---
> 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] Select Question

2005-07-15 Thread u2
I love that "LOOP WHILE READNEXT" syntax. I know it works in
jbase/UD/Pick OA/Sequoia--surprised it doesn't work for D3.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson
> Sent: Thursday, July 14, 2005 11:26 PM
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] [UV] Select Question
> 
> 
> At the risk of starting another debate, I'll toss out my 
> preference on internal (or external) READNEXTS.
> 
> UD:
> LOOP WHILE READNEXT ID DO
> BLAH
> REPEAT
> 
> D3:
> LOOP READNEXT ID ELSE EXIT UNTIL 0 DO
> BLAH
> REPEAT
> 
> MCD and others I use the infidel EOF=0 logic
> EOF=0
> LOOP READNEXT ID ELSE EOF=1 UNTIL EOF DO
> BLAH
> REPEAT
> 
> I have been stung when using the value of the incoming ID as 
> a test value. Thus I leave it alone. my 1 cent.
> 
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "u2-Users" 
> Sent: Thursday, July 14, 2005 12:04 AM
> Subject: [U2] [UV] Select Question
> 
> 
> > Hi all,
> >
> > Can someone tell me the diference between the following two 
> examples 
> > of
> executing an external select?
> >
> > SELECT FILE TO LIST
> > LOOP
> > READNEXT ID FROM LIST ELSE ID = @AM
> > UNTIL ID = @AM DO
> > REPEAT
> >
> > SELECT FILE
> > LOOP
> > READNEXT ID ELSE ID = @AM
> > UNTIL ID = @AM DO
> > REPEAT
> >
> > Someone pointed out to me that there is overhead in selecting to a 
> > list
> that I need not be exposing myself to.  Aren't they both kind 
> of reading from a list somewhere anyways?
> >
> > Thanks
> > ---
> > 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/


RE: [U2] [UV] GET.LIST

2005-07-15 Thread u2
Some platforms (mvEnterprise I believe) distinguish between a GET.LIST
verb that only works on the pointer-file, and a GLIST verb that works
from anyfile. If you don't want to change the flavor setting on the
GET.LIST verb (although that sounds like a good way to go) you could
easily write your own GLIST verb using QSELECT and temporary q-pointers.
Then you could take your code, and your GLIST to any platform or flavor
and have it all work as expected.

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Dianne Ackerman
> Sent: Thursday, July 14, 2005 3:51 PM
> To: U2 List Server
> Subject: [U2] [UV] GET.LIST
> 
> 
> On a reality flavor UV account, I can do GET.LIST ACCOUNTNAME 
> LISTNAME 
> to get a list which exists on another account.  But on PICK flavor, I 
> don't seem to be able to do that.  When I read the manual help on 
> GET.LIST I don't see anything about getting a list from 
> another account 
> for any flavor.   Is there some other syntax on the PICK 
> flavor account 
> I can use to accomplish this?
> Thanks
> -Dianne
> ---
> 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] AUTOLOGOUT

2005-07-14 Thread u2
[EMAIL PROTECTED] wrote:
> 
> Hello,
> 
> Anyone got any ideas on the autologout command on a Unix environment?

How are your users logging in to Unix?
> 
> We have it working happily on some Windows servers, set to log people
> off if they are inactive for 60 minutes, but when used on a Unix server
> it drops the user to the Unix prompt when logging them off from
> Universe.

It's actually probably working the same on both. It kicks them out of the UV/UD 
environment.

With Windows, that IS their login environment so they get kicked off the server.

With Unix, chances are it's not their login environment, so they get dropped 
back to their login. Is U2 started up from their .profile? Or do they log into 
Unix and then start U2? If it's the latter, you're stuck.

If it's the former, look at the .profile. I think it's the 'exec' command - if 
you 'exec' U2 it then replaces the .profile environment - exit U2 and you get 
kicked off the system - that's the best approach. The other option is to finish 
.profile with "exit" - that terminates the login session and will kick them 
off, but it's vulnerable (a) to deliberate tampering, and (b) a crash *could* 
leave them in Unix.
> 
> Andy Moore
> Selima Software Ltd

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


  1   2   >