AW: [U2] CC encrypting for unidata

2006-02-15 Thread Ewinger Klaus
UniData and UniVerse offer native encryption, have a look at this recently 
published developerWorks article:

http://www.ibm.com/developerworks/db2/library/techarticle/dm-0601winter/


-Urspr|ngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 15. Februar 2006 08:01
An: u2-users@listserver.u2ug.org
Betreff: SV: [U2] CC encrypting for unidata

Dana,
have a look at ENCRYPT() and DIGESET() functions in the manual.

/Bjvrn

-Ursprungligt meddelande-
Fren: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Dana Baron
Skickat: den 14 februari 2006 22:39
Till: u2-users@listserver.u2ug.org
Dmne: [U2] CC encrypting for unidata


Anyone have or know of software to encrypt credit card numbers in Unidata.
(Probably someone has already asked this on this list - sorry)

Dana Baron
System Manager
Smugglers' Notch Resort
---
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] GOSUB variable-name?

2006-02-15 Thread Serguei
You not an OOP expect, are you?

I have been using OOP since it appeared in Turbo Pascal long before and
windows tools appeared and our current Java code calling Universe programs
has nothing to do with windows tools (our application has an HTML browser
interface). Only those who do not know anything about OOP think that it has
anything to do with Windows.

- Original Message - 
From: Jerry Banker [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Tuesday, February 14, 2006 5:45 PM
Subject: Re: [U2] [UV] GOSUB variable-name?


 Not a limitation, you build your own objects. Objects after all are
nothing
 more than subroutines that perform a specific task. You may even say that
it
 is an advantage because you are not tied into doing what someone else has
 decided how something should work. You create your own. Almost every
company
 I have worked for has had a different way of display and storing
 information. It's only when using windows tools that they will settle for
 what they get because they have no choice.

 - Original Message - 
 From: Serguei [EMAIL PROTECTED]

  One of those limitation - no OOP.
 ---
 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] GOSUB variable-name?

2006-02-15 Thread Mats Carlid

Yes

that's what  was so fascinating 'bout simula when I got
aquainted with it back in '70

but it wasn't called OO by then ...

-- mats


Serguei wrote:


You not an OOP expect, are you?

I have been using OOP since it appeared in Turbo Pascal long before and
windows tools appeared and our current Java code calling Universe programs
has nothing to do with windows tools (our application has an HTML browser
interface). Only those who do not know anything about OOP think that it has
anything to do with Windows.

- Original Message - 
From: Jerry Banker [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Tuesday, February 14, 2006 5:45 PM
Subject: Re: [U2] [UV] GOSUB variable-name?


 


Not a limitation, you build your own objects. Objects after all are
   


nothing
 


more than subroutines that perform a specific task. You may even say that
   


it
 


is an advantage because you are not tied into doing what someone else has
decided how something should work. You create your own. Almost every
   


company
 


I have worked for has had a different way of display and storing
information. It's only when using windows tools that they will settle for
what they get because they have no choice.

- Original Message - 
From: Serguei [EMAIL PROTECTED]


   


One of those limitation - no OOP.
 


---
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: Tru64 to Solaris

2006-02-15 Thread Hennessey, Mark F.
snip
As the 64 bit version of UV allows files to be twice the size of regular 
UV, it would behoove you to check file sizes before doing the backup.  You 
may have to break some files down to smaller parts if the file size is 
over the 2 gig limit.
/snip

An excellent point! 

Thanks to all those who replied!
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [Redback] Upgrading from 4.2.5 to 4.2.6

2006-02-15 Thread Don Verhagen
I'm going to be upgrading my Redback Server and Gateway from 4.2.5 to
4.2.6 and I have one question about the Gateway.

Currently I have my web server (open to world) on ServerA and I have
the Redback Server on a server on the inside (ServerB). I wanted to do a
2 step Upgrade. That is upgrade the Redback Server (ServerB) first to
4.2.6 and then, at a later point, upgrade the web server Gateway on
ServerA.

Does anyone know if the Gateway (4.2.5) will run/connect with the
Server (4.2.6) properly? The reason for this is that I have other
websites running on ServerB and don't necessarily want to disrupt them
until some schedule offline time.  

Thanks for any heads up.


-- 

* Please NOTE NEW ADDRESS AND TELELPHONE Numbers * 
--
Donald Verhagen 
Application Development Manager
[EMAIL PROTECTED]
Tandem Staffing Solutions, Inc.
5901 Broken Sound Parkway NW, Suite 450
Boca Raton, FL 33487 USA
Voice Phone: 561.226.8261 Fax Phone: 561.226.8115
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] 2GB limit (was UV: Tru64 to Solaris)

2006-02-15 Thread Stevenson, Charles
not twice:

 As the 64 bit version of UV allows files to be twice the size 
 of regular UV, . . . 2 gig limit.

I think we're talking about squaring rather than doubling.
2GB = 2^31, the limit on the 32-bit versions.
I assume 64-bit version would allow 2^63 Bytes  = 2x(2^31)^2 Bytes = 10
Quintillion.
I think that works out to one file residing across roughly 10 million
Terabyte drives.

How soon will we bump against that limit, IF(!) the historical
exponential growth rate continues?
Back when DOS 1 was introduced, what was the limit?
What would you have thought back then if someone told you a 2GB file
limit would cramp their style?

Chuck Stevenson


P.S.  I am cross-posting to u2-community.  The nitpicking about 32- vs.
64-bit may belong in u2-users,  but the questions are more general, and
could quickly degenerate into jokes reminiscent of a particular TV skit
by the group-that-must-not-be-named.  
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Capturing hold file numbers.

2006-02-15 Thread Tom Dodds
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/


Re: [U2] [UV] GOSUB variable-name?

2006-02-15 Thread Jerry Banker
True, I am not an OOP. However I have studied it and I did use it when 
taking courses during the 80's one of which was Pascal. The Windows 
reference is just an example and not, by any means, the only use of OOP. I 
just don't think that U2 is missing anything by not having it built in.


- Original Message - 
From: Serguei [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Wednesday, February 15, 2006 4:03 AM
Subject: Re: [U2] [UV] GOSUB variable-name?



You not an OOP expect, are you?

I have been using OOP since it appeared in Turbo Pascal long before and
windows tools appeared and our current Java code calling Universe 
programs
has nothing to do with windows tools (our application has an HTML 
browser
interface). Only those who do not know anything about OOP think that it 
has

anything to do with Windows.

- Original Message - 
From: Jerry Banker [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Tuesday, February 14, 2006 5:45 PM
Subject: Re: [U2] [UV] GOSUB variable-name?



Not a limitation, you build your own objects. Objects after all are

nothing

more than subroutines that perform a specific task. You may even say that

it

is an advantage because you are not tied into doing what someone else has
decided how something should work. You create your own. Almost every

company

I have worked for has had a different way of display and storing
information. It's only when using windows tools that they will settle for
what they get because they have no choice.

- Original Message - 
From: Serguei [EMAIL PROTECTED]


 One of those limitation - no OOP.
---
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] CC encrypting for unidata

2006-02-15 Thread Glen Batchelor
  It's too bad that no one else has the insight to do the same with their MV
systems. Data encryption isn't a luxury anymore, just like web interfacing
isn't a toy. Maybe other's will follow.

---
Glen Batchelor
IT Director
All-Spec Industries
phone: (910) 332-0424
fax: (910) 763-5664
e-mail: [EMAIL PROTECTED]
---
www.allspec.com
---

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-u2-
 [EMAIL PROTECTED] On Behalf Of Ewinger Klaus
 Sent: Wednesday, February 15, 2006 4:46 AM
 To: u2-users@listserver.u2ug.org
 Subject: AW: [U2] CC encrypting for unidata
 
 UniData and UniVerse offer native encryption, have a look at this recently
 published developerWorks article:
 
 http://www.ibm.com/developerworks/db2/library/techarticle/dm-0601winter/
 
 
 -Urspr|ngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 15. Februar 2006 08:01
 An: u2-users@listserver.u2ug.org
 Betreff: SV: [U2] CC encrypting for unidata
 
 Dana,
 have a look at ENCRYPT() and DIGESET() functions in the manual.
 
 /Bjvrn
 
 -Ursprungligt meddelande-
 Fren: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Dana Baron
 Skickat: den 14 februari 2006 22:39
 Till: u2-users@listserver.u2ug.org
 Dmne: [U2] CC encrypting for unidata
 
 
 Anyone have or know of software to encrypt credit card numbers in Unidata.
 (Probably someone has already asked this on this list - sorry)
 
 Dana Baron
 System Manager
 Smugglers' Notch Resort
 ---
 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] Capturing hold file numbers.

2006-02-15 Thread George Gallen
I use:

0001: SUBROUTINE RETURN.SETPTR(JOBNAME,PON)
0002: *
0003: * RETURN-SETPTR - THIS SUBROUTINE WILL RETURN IN JOBNAME THE CURRENT
0004: * SPOOL WILL GO TO.
0005: *
0009: *
0010: *
0011: *
0012:EXECUTE SETPTR :PON CAPTURING JUNK
0013:[EMAIL PROTECTED]:Output to HOLD file
0014:XX=INDEX(JUNK,SEARCH,1)
0015:IF XX=0 THEN
0016:   JOBNAME=
0017:   RETURN
0018:END
0019:JUNK=JUNK[XX+1,LEN(JUNK)]
0020:YY=INDEX(JUNK,:,1) 
0021:YZ=INDEX(JUNK,CHAR(254),1)
0022:JOBNAME=JUNK[YY+2,YZ-YY-2]
0023:RETURN
0024: *
0025: END  


Passit the PON (printer channel), and the holdname is returned in JOBNAME
The hold number is : FIELD(JOBNAME,_,COUNT(JOBNAME,_)+1)

George

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 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/
---
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 Kevin King
Incidentally, if you wanted to output to hold, wouldn't it be better
to use a mode of 6 (or 3) rather than the HOLD option?
---
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 Les Hewkin
PERFORM a setptr with the spool file open and extract the actual file
from the result 


Les Sherlock Hewkin
Senior Developer
Core Systems - 9951
01604 592289

-Original Message-
From: Tom Dodds [mailto:[EMAIL PROTECTED] 
Sent: 15 February 2006 15:53
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/
This message has been comprehensively scanned for viruses,
please visit http://www.avg.power.net.uk/ for details.


This e-mail and any attachments are confidential and intended solely for the 
use of the addressee only. If you have received this message in error, you must 
not copy, distribute or disclose the contents; please notify the sender 
immediately and delete the message.
This message is attributed to the sender and may not necessarily reflect the 
view of Travis Perkins plc or its subsidiaries (Travis Perkins). Agreements 
binding Travis Perkins may not be concluded by means of e-mail communication.
E-mail transmissions are not secure and Travis Perkins accepts no 
responsibility for changes made to this message after it was sent. Whilst steps 
have been taken to ensure that this message is virus free, Travis Perkins 
accepts no liability for infection and recommends that you scan this e-mail and 
any attachments.
Part of Travis Perkins plc. Registered Office: Lodge Way House, Lodge Way, 
Harlestone Road, Northampton, NN5 7UG.
---
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 gerry-u2ug
One way is to assign the filename yourself - SETPTR 03,AT ASHTEST,AS
HoldFileName

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds
Sent: February 15, 2006 10:53
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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] User IDs

2006-02-15 Thread George Gallen
lp is used for the printer daemon.
and daemon is used for other things.
Certain files must be owned by some of the users.

Rather than delete them, change their shell to /dev/null so no one
can login using them.

I think adm is used by UV

George

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Brutzman, Bill
 Sent: Wednesday, February 15, 2006 11:52 AM
 To: 'u2-users@listserver.u2ug.org'
 Cc: '[EMAIL PROTECTED]'
 Subject: [U2] User IDs
 
 
 I want to beef up security on our old HP-Ux v10.01 running UV v8.3.3.
 
 I am inclined to delete the following user.ids as they may be 
 infidels...
 
   adm   bin   daemon   lp   nuucpsys   uucp
 
 Suggestions would be appreciated.
 
 Regards,
 
 Bill Brutzman
 Manager, IT
 HK MetalCraft Mfg Corp
 PO Box 775
 35 Industrial Road
 Lodi  NJ  07644
 
 973.471.7770 x145 .voice
 973.471.9666  .fax
 
 [EMAIL PROTECTED] 
 
 [demime 1.01d removed an attachment of type 
 application/octet-stream which had a name of Brutzman, Bill.vcf]
 ---
 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/


SV: [U2] [u2][ud] Poor select performance

2006-02-15 Thread bjorn.eklund
Sorry, that didn't help...

Thanks anyway
Bjvrn Eklund

-Ursprungligt meddelande-
Fren: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Perry Taylor
Skickat: den 10 februari 2006 15:07
Till: u2-users@listserver.u2ug.org
Dmne: RE: [U2] [u2][ud] Poor select performance


My experience is with UniVerse but I suspect it would suffer from the
same thing.  It's likely the problem is the high number of records per
customer number.  You might try indexing the entire key then doing a
select on the customer number portion.  Something like this maybe (not
sure of the UniData syntax) ...

CREATE.INDEX A_FILE @ID
BUILD.INDEX A_FILE @ID

SELECT A_FILE WITH @ID LIKE 66-...

OR

SELECT A_FILE WITH @ID MATCHING '66-'1N0N

Perry Taylor
www.zirmed.com 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 6:09 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [u2][ud] Poor select performance

Hi there,
we are having very slow respone times on a select statement. We have a
file with a total of 5 million records in where the key is like
-nn. The first part() is a customer number(numeric) and the
second part(nn) is a sequential no. We have created an i-descriptor
on the customer number, FIELD(@ID,'-',1). On this i-descriptor we have
put an index:

Index-Name..  F-type K-type Built Empties Dups In-DICT S/M
F-no/VF-expr
FAKT.FINR V  NumYes   Yes Yes  Yes S
FIELD(@ID,'-',1)

Selecting a customer with 570 000 records can take 30 seconds.
(example of statement SELECT A_FILE WITH FAKT.FINR = 66)

Selecting other indexed values in the same file which gives me 5 records
out of the 5 million is very very fast.

I've tried to rebuild.index with no improvment in performance. The file
doesen't show any sign of level 2 overflow.

I am single user on a powerful Sun server with SAN disks. We are on
Solaris 8 and Unidata 6.1.10.

Shouldn't it be faster than this? Perhaps this is normal and we have to
take another approach to get the data we need?

Thanks in advance!

Bjorn Eklund
Faktab Finans AB
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health Information, 
any communications containing such material will be returned to the originating 
party with such advisement noted. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.
---
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] Capturing hold file numbers.

2006-02-15 Thread Gordon J Glorfield
On UV we call a UV supplied subroutine called SPOOL.NUM.  It's located in 
the VMARK.BP.


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

[EMAIL PROTECTED] wrote on 02/15/2006 10:52:38 AM:

 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/


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


RE: [U2] Capturing hold file numbers.

2006-02-15 Thread Timothy Snyder
I assume this pertains to UniVerse, where you have to jump through the 
type of hoops outlined by the posters so far.  For the sake of 
completeness, on UniData you can just use the GETPU() function.

Tim Snyder
Consulting I/T Specialist , U2 Professional Services
North American Lab Services
DB2 Information Management, IBM Software Group
717-545-6403
[EMAIL PROTECTED]
---
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 Dave Taylor
Hi Tom,

Based on the structure of your SETPTR command, you appear to be printing the
job to the printer and holding it in the HOLD file at the same time.

We have not used the SETPTR command in that fashion, but we have used it
extensively in a slightly different way that may suggest a solution.

In our generic Pick spooler for Universe, we use a SETPTR 0 command with
MODE = 3 and the BANNER NEXT option, which allows us to define part of the
record ID and then appends a sequential number to each print job and sends
it to the HOLD file *without* printing it at the time that it's generated

We then process the print jobs in the HOLD file using the following code:

CMD = 'SELECT HOLD
EXECUTE CMD RTNLIST (list name)

Then we have a list of the record IDs in the HO:LD file to process.

Depending on how the IDs are assigned by Universe using the HOLD option as
you are using it, if the last ID assigned is the highest number, you could
SSELECT the HOLD file BY-DSND and take the first number in the RTNLIST
list.

The weakness in this approach is that many print jobs may land in the HOLD
file generated by different print programs at effectively the same time and
you may not be able to know which print job was generated by which print
program with any certainty.

Alternatively,  you might use the MODE = 3 with the BANNER NEXT option as we
do and incorporate into the ID the date, time and program name so that your
printing program would know what the ID is before the print job is
generated, independently of the number assigned by Universe, and could then
retrieve the print job with certainty to ensure getting the correct print
job.

Please contact me online or offline if you would like to discuss this
further.

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: Tom Dodds [EMAIL PROTECTED]
To: User group U2 u2-users@listserver.u2ug.org
Sent: Wednesday, February 15, 2006 7:52 AM
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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] User IDs

2006-02-15 Thread Jeff Powell
Those are system user ids. As George mentioned you can change the login
script. You can easily see what they currently have by doing a finger
command from the unix console.

finger lp
Login name: lp
Directory: /var/spool/lpShell: /bin/false
No Plan.

HTH

Jeff
---
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 Tom Dodds
I don't have a VMARK.BP file nor do I have a program called SPOOL.NUM in the
APP.PROGS file.  If you have the source for SPOOL.NUM I would really
appreciate having access to it.

Thanks for the help

Tom Dodds
[EMAIL PROTECTED]
708-234-9608 Office
630-235-2975 Cell


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon J Glorfield
Sent: Wednesday, February 15, 2006 11:58 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Capturing hold file numbers.

On UV we call a UV supplied subroutine called SPOOL.NUM.  It's located in 
the VMARK.BP.


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

[EMAIL PROTECTED] wrote on 02/15/2006 10:52:38 AM:

 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/


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
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 Charlie Rubeor
Can't check the system to verify, but I believe that Unidata stores the 
next hold number in the DICT of the _HOLD_ file, called NEXT.HOLD.

Charlie Rubeor 
Unix/Database Administrator 
Wiremold/Legrand 
60 Woodlawn Street
West Hartford, CT 06110
Tel: 860.233.6251 x3498
Fax: 860.523.3690
Email: [EMAIL PROTECTED]
Internet: www.wiremold.com

[demime 1.01d removed an attachment of type image/jpeg]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] User IDs

2006-02-15 Thread John Hester

Brutzman, Bill wrote:

I want to beef up security on our old HP-Ux v10.01 running UV v8.3.3.

I am inclined to delete the following user.ids as they may be infidels...

  adm   bin   daemon   lp   nuucpsys   uucp

Suggestions would be appreciated.


Those are the standard SYSV unix pseudo users.  You'll find an 
explanation under the Psuedo Users heading at this link:


http://docs.rinet.ru:8080/UNIXs/ch17.htm

DO NOT modify those entries if you want your system to continue to 
function normally.


-John
--
John Hester
System  Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Universe users under Win2003

2006-02-15 Thread Jeff Schasny
I know this has been asked before but I was not paying attention

I have just loaded up the latest Universe PE on a win 2003 server. I can log
in as administrator but not as an regular user. What do I have to do to make
this happen?


Jeff Schasny | Westminster, CO, USA | [EMAIL PROTECTED]



--
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] User IDs

2006-02-15 Thread Roger Glenfield

John, did the surgeons manage to reattach your leg yet?

Hey, at least Bill didn't mention the sub-directories in bin called 
laden or osama.




-roger
John Hester wrote:

Brutzman, Bill wrote:

I want to beef up security on our old HP-Ux v10.01 running UV v8.3.3.

I am inclined to delete the following user.ids as they may be 
infidels...


  adm   bin   daemon   lp   nuucpsys   uucp

Suggestions would be appreciated.


Those are the standard SYSV unix pseudo users.  You'll find an 
explanation under the Psuedo Users heading at this link:


http://docs.rinet.ru:8080/UNIXs/ch17.htm

DO NOT modify those entries if you want your system to continue to 
function normally.


-John

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


RE: [U2] Universe users under Win2003

2006-02-15 Thread Ross Craig
Allow regular users permission to modify files in your UV directory.

Ross


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schasny
Sent: Wednesday, February 15, 2006 12:53 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Universe users under Win2003

I know this has been asked before but I was not paying attention

I have just loaded up the latest Universe PE on a win 2003 server. I can
log
in as administrator but not as an regular user. What do I have to do to
make
this happen?


Jeff Schasny | Westminster, CO, USA | [EMAIL PROTECTED]



--
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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Returned parameter from a Uniobject VB.Net Subroutine

2006-02-15 Thread John Castilletti
Does anyone know how to reference a returned parameter from a
subroutine when the parameter is a Dynamic Array.

My code that follows used to work just fine in VB6 but I am
having 
a terrible time in getting this to work in VB.NET.

Dim objOnHand As Object

objOnHand = UVSession.Subroutine(GET.INV.INFO, 2)
CurrentSku = X10601
objOnHand.SetArg(0, CurrentSku)
objOnHand.SetArg(1, )

objOnHand.Call()

 HdrArray = CreateObject(UniObjects.UniDynArray)
 HdrArray = objOnHand.GetArg(1)  ' reference the dynamic array
 Dim Partx As String

Partx = HdrArray.Value(1,1).StringValue

This last statement producing the following error message
Public member 'Value' on type 'String' not found.


Any Help on this would be greatly appreciated.
TIA,
John



__
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/


Re: [U2] Returned parameter from a Uniobject VB.Net Subroutine

2006-02-15 Thread Josh Volosov (3)
Hi,

I will be in training for the morning of 1/27/06.  

I will have very limited access to e-mail or voice mail during this
time.  If a you need an immediate response to your e-mail please e-mail
[EMAIL PROTECTED]

Thanks and have a great day!

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


RE: [U2] Universe users under Win2003

2006-02-15 Thread Paul Hamrick
Using Windows Explorer locate installed UniVerse directory, in my case,
D:\IBM. Rt. click this folder and select Sharing and Security...then
Security tab. Select Users or Domain Users, and check Modify or give Full
rights.

Make sure Allow inheritable permissions to propagate box is checked and
press OK, then OK.

Paul H.  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schasny
Sent: Wednesday, February 15, 2006 3:53 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Universe users under Win2003

I know this has been asked before but I was not paying attention

I have just loaded up the latest Universe PE on a win 2003 server. I can log
in as administrator but not as an regular user. What do I have to do to make
this happen?


Jeff Schasny | Westminster, CO, USA | [EMAIL PROTECTED]



--
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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe users under Win2003

2006-02-15 Thread Jeff Schasny
Ahhh! Thank you

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ross Craig
Sent: Wednesday, February 15, 2006 2:23 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Universe users under Win2003


Allow regular users permission to modify files in your UV directory.

Ross


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schasny
Sent: Wednesday, February 15, 2006 12:53 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Universe users under Win2003

I know this has been asked before but I was not paying attention

I have just loaded up the latest Universe PE on a win 2003 server. I can
log
in as administrator but not as an regular user. What do I have to do to
make
this happen?


Jeff Schasny | Westminster, CO, USA | [EMAIL PROTECTED]



--
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/
---
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] CC encrypting for unidata

2006-02-15 Thread David A. Green
Dana,

I have a User Exit that will Encrypt CC numbers.  The ICONV will bring back
the encrypted, uuencoded, Unidata friendly data to store in the file.  The
OCONV displays it as 5612.

David A. Green
DAG Consulting
(480) 813-1725

-Original Message-
Anyone have or know of software to encrypt credit card numbers in Unidata.
(Probably someone has already asked this on this list - sorry)

Dana Baron
System Manager
Smugglers' Notch Resort
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Returned parameter from a Uniobject VB.Net Subroutine

2006-02-15 Thread gerry-u2ug
Dim HdrArray as UniDynArray
HdrArray.SetValue(objOnHand.GetArg(1))




 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Castilletti
Sent: February 15, 2006 16:25
To: u2-users@listserver.u2ug.org
Subject: [U2] Returned parameter from a Uniobject VB.Net Subroutine

Does anyone know how to reference a returned parameter from a subroutine
when the parameter is a Dynamic Array.

My code that follows used to work just fine in VB6 but I am having a
terrible time in getting this to work in VB.NET.

Dim objOnHand As Object

objOnHand = UVSession.Subroutine(GET.INV.INFO, 2) CurrentSku =
X10601
objOnHand.SetArg(0, CurrentSku)
objOnHand.SetArg(1, )

objOnHand.Call()

 HdrArray = CreateObject(UniObjects.UniDynArray)
 HdrArray = objOnHand.GetArg(1)  ' reference the dynamic array  Dim
Partx As String

Partx = HdrArray.Value(1,1).StringValue

This last statement producing the following error message Public member
'Value' on type 'String' not found.


Any Help on this would be greatly appreciated.
TIA,
John



__
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] Unix Security

2006-02-15 Thread Brutzman, Bill
In the name of enhacing security, I want to change UniVerse file rights...  

from   -rwxrwxrwx   root   testUV.DATA.FILE 
to -rwxrwx---   root   users   UV.DATA.FILE 

Will end-users be able to do their transactions?
Will the print applications work?
Are there any special considerations for UV?

Suggestions would be appreciated.

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


[U2] UV 10.1.11 Windows 2003 server SP2

2006-02-15 Thread Anthony Caufield
Where is the Universe Log file? I wanted to check it after receiving the
following  message and relized I don't know where it kept :-)



UniVerse error: Cannot open log file



Tony Caufield

IS Manager

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


RE: [U2] Unix Security

2006-02-15 Thread Anthony Dzikiewicz
It looks good as long as your users are all part of the users group.
You probably want to look at the umask options for users as part of the
login paragraph. If a user changes a record and the files becomes
theirs, then this is bad.  I had something like this happen and I had to
fix it by setting the umask in the login paragraph.  I believe this was
for type 1 files not static and dynamic.

Im not a security expert, but I dont think there are any implications
for print applications.  I would think that as long as a user can read
the file, then they could generate a report from it.  What would be more
important is if the user has rights to the spool directory and it
doesnt sound like you're changing that, but you are changing the users
group.  Are you adding users to additional group users or are you
changing the users group from test to users.  Can the users group write
to the spool directory ?  Im not sure if this matters.

When I look at this I ask myself what does this really gain you and is
it worth doing the work (although I dont know how many files you're
dealing with).  Do you have 'others' on the computer ?  Plans for
'others' ?  Are the users all in the test group already and you have to
change the group and then add all users to that group ?  If you had to
do a lot of work and there are no 'others' on the system, then the worst
you could do is maybe screw something up and stop something that once
worked from working.  Thats my thinking - if it ant broke dont fix it
and keep it simple.  If you can try all of this out on a test system.

Ive always read that when securing a system you should make it as tight
as possible and then punch holes here and there only as needed.  I find
that myself I work backwards.  I make everything 'open' so that
everything 'works' and then I go back and tighten up things.  I think
this backward approach is more difficult.  I am fortunate enough to not
have a big security problem.  Our server only runs Universe and everyone
on it has access to every file and there are no special considerations.
So, I can get away with this 'policy', but I know it isnt the best
practice.

Anthony

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Wednesday, February 15, 2006 6:46 PM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] Unix Security


In the name of enhacing security, I want to change UniVerse file
rights...  

from   -rwxrwxrwx   root   testUV.DATA.FILE 
to -rwxrwx---   root   users   UV.DATA.FILE 

Will end-users be able to do their transactions?
Will the print applications work?
Are there any special considerations for UV?

Suggestions would be appreciated.

--Bill
---
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/