Re: [U2] fixtool

2008-08-04 Thread Martin Phillips

Hi Doug,


is fixtool the best way to repair a universe file?


In my experience with the various repair tools over many years of working 
with UniVerse, fixtool does seem to be able to repair more corruptions than 
the previous tools.



I read somewhere that all it does is fix the broken link (fixing the
file but losing the data that the broken link pointed to).


This may be all that can be done. A backward link error often means that two 
groups apparently own the same overflow block. The data of one will have 
overwritten the other. There is no way that any recovery tool could ever get 
back the lost data.



Martin Phillips, Ladybridge Systems Ltd 
---

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


[U2] [UV] Basic Match...

2008-08-04 Thread Boydell, Stuart
UV 10.2/aix
Can someone tell me if this would be expected output.
Specifically the tilde modifier on the match pattern appears to not be
working. I would have thought that the last column was the opposite
result...

TEST.MATCH
001 cell = ''
002 for i = 1 to 6
0003   cell := i
004   crt cell, cell match '4X', cell match '~4X'
005 next i
006 end

RUN TEST.BS TEST.MATCH
1 0 0
120 0
123   0 0
1234  1 1
12345 0 0
1234560 0

Cheers,
Stuart Boydell



**
This email message and any files transmitted with it are confidential and
intended solely for the use of addressed recipient(s). If you have received
this communication in error, please reply to this e-mail to notify the sender
of its incorrect delivery and then delete it and your reply.  It is your
responsibility to check this email and any attachments for viruses and defects
before opening or sending them on. Spotless collects information about you to
provide and market our services. For information about use, disclosure and
access, see our privacy policy at http://www.spotless.com.au
Please consider our environment before printing this email.
**
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Linux Psuedo Directory

2008-08-04 Thread Results

All,
   I'm going blank on this one, all help appreciated. I want to create 
a Linux user who cannot see the top level directories, i.e. what they 
see as '/' is actually further down the chain. Can anyone remind me how?


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


RE: [U2] [UV] Basic Match...

2008-08-04 Thread jpb-u2ug
The help file specifies:
A tilde (~) placed immediately before  pattern  specifies  a
negative match. That is, it specifies a pattern or a part of a
pattern that does not match the expression or a  part  of  the
expression.  The  match is true only if string and pattern are
of equal length and differ  in  at  least  one  character.

Since you are testing for length and the lengths are the same the tilde
doesn't come into play.
Jerry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boydell, Stuart
Sent: Monday, August 04, 2008 5:35 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] Basic Match...

UV 10.2/aix
Can someone tell me if this would be expected output.
Specifically the tilde modifier on the match pattern appears to not be
working. I would have thought that the last column was the opposite
result...

TEST.MATCH
001 cell = ''
002 for i = 1 to 6
0003   cell := i
004   crt cell, cell match '4X', cell match '~4X'
005 next i
006 end

RUN TEST.BS TEST.MATCH
1 0 0
120 0
123   0 0
1234  1 1
12345 0 0
1234560 0

Cheers,
Stuart Boydell



**
This email message and any files transmitted with it are confidential and
intended solely for the use of addressed recipient(s). If you have received
this communication in error, please reply to this e-mail to notify the
sender
of its incorrect delivery and then delete it and your reply.  It is your
responsibility to check this email and any attachments for viruses and
defects
before opening or sending them on. Spotless collects information about you
to
provide and market our services. For information about use, disclosure and
access, see our privacy policy at http://www.spotless.com.au
Please consider our environment before printing this email.
**
---
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] ODBC Error: State = S1000 Error = [Ardent][Unidata ODBC Driver][IBM][SQL Client][Unidata]Unidata lower level function error with fetch

2008-08-04 Thread Kevin King
I have no idea what the SQL is being sent from Worldship.  That could
possibly be valuable, but I don't have access to that level of information
right now.  But an interesting question, no doubt.

On Sun, Aug 3, 2008 at 10:14 AM, Anthony W. Youngman 
[EMAIL PROTECTED] wrote:

 In my case, the SQL command being sent (by MS Access) is SELECT * FROM
 TABLE TABLE ORDER BY ...

 Note the doubled-up file name - UV barfs on it and you get an error S1000
 back.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Linux Psuedo Directory

2008-08-04 Thread Results

The answer is chroot and it only took me an hour to find it...

Results wrote:

All,
   I'm going blank on this one, all help appreciated. I want to create 
a Linux user who cannot see the top level directories, i.e. what they 
see as '/' is actually further down the chain. Can anyone remind me how?


   - Chuck Rootless Barouch
---
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] Linux Psuedo Directory

2008-08-04 Thread Anthony Youngman
Man chroot

Cheers,
Wol

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Results
Sent: 04 August 2008 14:59
To: u2-users@listserver.u2ug.org
Subject: [U2] Linux Psuedo Directory

All,
I'm going blank on this one, all help appreciated. I want to create
a Linux user who cannot see the top level directories, i.e. what they
see as '/' is actually further down the chain. Can anyone remind me how?

- Chuck Rootless Barouch
---
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] ODBC Error: State = S1000 Error = [Ardent][Unidata ODBC Driver][IBM][SQL Client][Unidata]Unidata lower level function error with fetch

2008-08-04 Thread Anthony Youngman
Don't know about UD, but on UV you can switch on logging that will list all the 
commands passed to UV. Only problem is, to describe it as verbose is an 
understatement ...

Cheers,
Wol

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: 04 August 2008 15:41
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] ODBC Error: State = S1000 Error = [Ardent][Unidata ODBC 
Driver][IBM][SQL Client][Unidata]Unidata lower level function error with fetch

I have no idea what the SQL is being sent from Worldship.  That could
possibly be valuable, but I don't have access to that level of information
right now.  But an interesting question, no doubt.

On Sun, Aug 3, 2008 at 10:14 AM, Anthony W. Youngman 
[EMAIL PROTECTED] wrote:

 In my case, the SQL command being sent (by MS Access) is SELECT * FROM
 TABLE TABLE ORDER BY ...

 Note the doubled-up file name - UV barfs on it and you get an error S1000
 back.
---
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] fixtool

2008-08-04 Thread Stevenson, Charles
  I read somewhere that all it does is fix the broken link (fixing
the 
  file but losing the data that the broken link pointed to).
 
 This may be all that can be done. A backward link error often means
that
 two groups apparently own the same overflow block. The data of one
will
 have overwritten the other. There is no way that any recovery tool
could
 ever get back the lost data.

Yes, data truncated.  
Fix, as in when you get your dog fixed: snip, snip.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[UV] printer memory segment. was: [U2] Available printer memory exceeded

2008-08-04 Thread Stevenson, Charles
Does anyone know the history of that printer memory segment
nomenclature?

 It seems that all memory errors are printer memory errors on Universe.
 Jerry

That's true.  Generally doesn't have much to do with printers,  but a UV
process's private memory.   

Examples:
See POST.STATUS's 3rd column for phantoms.
unix icps -map | grep 0xaceb.
See smat -p (aka ANALYZE.SHM -p)
Look up printer memory segment in UV docs.


Undoubtedly, there was a reason for calling it that way back when.
Was it originally only a spot where printer output was buffered?

Sounds like a question for David Meeks or Glen Herbert, answer to be
archived by historian Dawn Wolthuis.

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


RE: [U2] Available printer memory exceeded

2008-08-04 Thread Stevenson, Charles
Jerry,

1. 1st thing I'd do is look in the recent changes for a construct
functionally something like this:

   X cleared   (wrong place for X to be initialized.)
   Start-outer-loop
* X should be cleared here, but isn't.
  Start-inner-loop
 X:= [stuff](X grows)
  end-inner-loop
   End-inner-loop

You say it runs fine by itself, but not in it's rightful setting, so
maybe the var is in common and persists through multiple executions w/o
proper reinitialization.  


2.  I recently had a memory leak where executions got slower  slower,
until the uv process aborted.  Different error message from yours.
Unix's ps -l  was interesting. Size column showed it growing.  It
turned out ULIMIT config param was set too high. Joel Yates @ IBM had me
reset it to the default.  Hadn't been an issue until we changed from
HP-Risc/HPUX11.11/UV10.1.16  to HP-itanium/HPUX11.23/UV10.2.6.
Thank-you, Joel.

cds

-Original Message-
Last night during our month end batch process it aborted the proc when
we got Available printer memory exceeded during one of the programs. I
ran the program this morning and it ran without getting the error, same
program, same data files. Can anyone tell me where I could look to keep
it from doing this? It has always run without problems in the past, it
only runs at month end, but there were some minor changes made to the
program that shouldn't have caused any problems and don't when run by
itself.


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


RE: [U2] fixtool

2008-08-04 Thread Dan Fitzgerald
Heehee, Chuck! I once heard a 3rd party presidential candidate refer to the
major parties' fixing Social Security that way.

You can use fixtool in the interactive mode, if you really feel bold,
adventurous, know what you're doing and it helps if your family owns the
company. If it's a broken flink, you're pretty much hosed (ok, you _could_
restore the file somewhere else from tape  find the proper flink for that
frame by looking at the restored file). But if it's a blink, you can trace to
the break, and key in the proper backward link, fixing - er, correcting -
the chain.

May I interject here that this is (to me) a major reason why you want to avoid
overflow. Wide and shallow shall be your files. If you have no overflow (an
impossible ideal, but strive in that direction), you cannot have broken links
to overflow.  Subject: RE: [U2] fixtool Date: Mon, 4 Aug 2008 12:04:30
-0400 From: [EMAIL PROTECTED] To:
u2-users@listserver.u2ug.orgI read somewhere that all it does is fix
the broken link (fixing thefile but losing the data that the broken
link pointed to).This may be all that can be done. A backward link
error often means that  two groups apparently own the same overflow block.
The data of one will  have overwritten the other. There is no way that any
recovery tool could  ever get back the lost data.  Yes, data truncated. 
Fix, as in when you get your dog fixed: snip, snip. --- u2-users
mailing list u2-users@listserver.u2ug.org To unsubscribe please visit
http://listserver.u2ug.org/
_
Your PC, mobile phone, and online services work together like never before.
http://clk.atdmt.com/MRT/go/108587394/direct/01/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Linux Pseudo Directory

2008-08-04 Thread Tom Dodds
From Wikipedia, the free encyclopedia
Jump to: navigation, search

A chroot on Unix operating systems is an operation that changes the apparent
disk root directory for the current running process and its children. A
program that is re-rooted to another directory cannot access or name files
outside that directory, called a chroot jail or (less commonly) a chroot
prison. The term chroot may refer to the chroot(2) system call or the
chroot(8) wrapper program.

The chroot system call was introduced by Bill Joy on 18 March 1982 - 17
months before 4.2BSD was released - in order to test its installation and
build system.

Sounds like it might help you out after all.

Tom Dodds


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey Butera
Sent: Monday, August 04, 2008 8:31 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Linux Psuedo Directory

quote who='Results' date='Monday 04 August 2008'
 All,
 I'm going blank on this one, all help appreciated. I want to create
 a Linux user who cannot see the top level directories, i.e. what they
 see as '/' is actually further down the chain. Can anyone remind me how?

 - Chuck Rootless Barouch

Somehow 'chroot' does not seem like what you want, but I won't presume.

-- 
Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

Email gives the illusion of progress even when
   nothing is happening.  unknown
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

__ Information from ESET NOD32 Antivirus, version of virus signature
database 3324 (20080804) __

The message was checked by ESET NOD32 Antivirus.

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


RE: [U2] fixtool

2008-08-04 Thread Ray Wurlod
 - Original Message -
 From: Dan Fitzgerald [EMAIL PROTECTED]
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] fixtool
 Date: Mon, 4 Aug 2008 13:59:55 -0400

 Wide and shallow shall be your files. 


That was Dan channeling Yoda (though the verb should have been at the end: wide 
and shallow your files shall be).

It's good advice nonetheless.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [UV] printer memory segment. was: [U2] Available printer memory exceeded

2008-08-04 Thread Ray Wurlod
The answer is very simple.  When they were looking for a name, they chose the 
name of the largest structure in this particular shared memory segment 
(apparently user shared memory segment would have been confused with private 
memory segments).  The largest structure in the printer shared memory segment 
is the sixteen printer channel definitions that you set with SETPTR commands 
(eighteen, actually, when the two internal channel structures are considered).

 - Original Message -
 From: Stevenson, Charles [EMAIL PROTECTED]
 To: u2-users@listserver.u2ug.org
 Subject: [UV] printer memory segment.  was: [U2] Available printer  memory 
 exceeded
 Date: Mon, 4 Aug 2008 12:42:56 -0400
 
 
 Does anyone know the history of that printer memory segment
 nomenclature?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UniData PROC tip: DB command

2008-08-04 Thread Keith Johnson (DSLWN)
Baker Hughes wrote

The man (person) who writes a PROC interpreter/conversion utility that
can take a PROC and turn it into either Basic, or a PAragraph, will have
a product to sell...


I tried really really really hard to do this a few years ago.   The code
got more and more complicated until I threw in the towel.  Then I
realised that it was easier to write a PROC interpreter in BASIC, and
that I could re-use the code I had, but that it would be much, much
simpler and clearer.  Although I never finished it, Martin Phillips took
it on from there and did the hard work so that QM had a PROC
interpreter.  We all know what grinding out that last 20% is like!  I
was as pleased as punch that I could contribute something to QM because
it's such a good product, and the support has always been exceptional.

The code (at the stage I got it to) is the programs  RUNPROC and
CALLPROC in  http://www.geocities.com/pickfalla/programs.html.  If you
have an _extremely_ wet week end (our last few have been atrocious) it
might be something to look at.

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


RE: [U2] [UV] Basic Match...

2008-08-04 Thread Boydell, Stuart
Jerry, 
Thanks, I did read the manual but failed to process the length clause
(ADHD).
S

Since you are testing for length and the lengths are the same the tilde
doesn't come into play.
Jerry

 
**
This email message and any files transmitted with it are confidential and 
intended solely for the use of addressed recipient(s). If you have received 
this communication in error, please reply to this e-mail to notify the sender 
of its incorrect delivery and then delete it and your reply.  It is your 
responsibility to check this email and any attachments for viruses and defects 
before opening or sending them on. Spotless collects information about you to 
provide and market our services. For information about use, disclosure and 
access, see our privacy policy at http://www.spotless.com.au 
Please consider our environment before printing this email. 
** 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


FW: [U2] fixtool

2008-08-04 Thread LeRoy Dreyfuss
Hello Doug,

If you run the tool once, it may orphan one or more overflow buffers. Running 
it until it has no errors should reclaim the unlinked buffers, thus recovering 
the records from orphaned buffer(s).

The number of times you run fixtool depends on how many errors it finds as it 
traverses the file. Typically, it can only fix one blink [LeRoy Dreyfuss] (or 
other type of error, outside of some header errors) at a time as the file 
should be rescanned for additional errors once a fix is applied.

Regards,

LeRoy


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Chanco
Sent: Monday, 4 August 2008 4:22 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] fixtool

Hey all,

 is fixtool the best way to repair a universe file?  I read somewhere
that all it does is fix the broken link (fixing the file but losing the
data that the broken link pointed to).  The reason I ask is that we had data
corruption a few days ago and are now running into lots of uniobject errors.



When we upgrade to the latest version of uniobjects things improved a lot
(which is a question in of itself as to why)  but I am wondering if we are
now experiencing logical errors in that our code is chunking because it
cannot find certain customer info that lives in another files (this is one
example of what we are seeing)



if running fixtool -fix is not the best way to fix a universe file can
someone shed any light on a better way?



thanks again!



dougc



ps



if it matters we are running universe 10.1 on aix  5.2
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


This email message and any files transmitted with it are intended only for the 
addressee(s) and contain information which may be privileged, confidential 
and/or subject to copyright. Use, interference with, disclosure or reproduction 
of this material by anyone other than the intended recipient(s) is unauthorised 
and prohibited. If you are not the intended recipient, please immediately 
notify the sender by return email and delete this message from your system. 
Youi Pty Ltd respects your privacy. Our privacy policy can be accessed from our 
web site http://www.youi.com.au.

No representation is made that this email or any attachments are free of 
viruses. Virus scanning is recommended and is the responsibility of the 
recipient. Youi Pty Ltd accepts no liability for any damage caused by any virus 
transmitted by this email or for any loss or damage arising from the use of 
this email or attachments.

Youi Pty Ltd is committed to responsible environmental management in carrying 
out its operations. Please consider the environment before printing this email.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/