Re: [U2] [UV] Default Catalog?

2005-02-23 Thread Roger Glenfield
Yeah, I'm pretty sure if not globallyl or voc cataloged, it defaults to the calling program's file. Been doing that for awhile. Roger Jacques G. wrote: I've been working on a Universe 10.xx on an Dec Alpha machine, I found an account where a subroutine was being called and the routine wasn't

RE: [U2] Subroutine utility

2005-02-23 Thread Bjorn Behr
Here is one I wrote a whle back, when I needed it. It currently looks for any call statements and explodes them and displays it in a tree structure.. Of course, to can be modified to suit your needs. Regards Bjorn Program Start: PROGRAM GET.CALL *

RE: [U2] [UV] Default Catalog?

2005-02-23 Thread Andrew Lakeland
Try this to see what programs are in shared menu analyze.shm -b -Original Message- From: Adrian Matthews [mailto:[EMAIL PROTECTED] Sent: 23 February 2005 08:37 To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] Default Catalog? Perhaps it's set to load into shared memory at Uv

Re: [U2] Subroutine utility

2005-02-23 Thread CWNoah2
Kevin, Can I throw a me, too in? Thanks, Charlie Noah [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) writes: Kevin - Funny. In my office we were just talking about the need for such a program. Would you mind sending me a copy, too? Jim

RE: [U2] [UV] MASTER OFF port

2005-02-23 Thread Mike Farrant
Yes we're in the process of rolling out sudo to our IT staff and removing root access but we have not been able to get MASTER OFF to work. I was always led to believe that MASTER OFF is a cleaner way to drop Universe sessions rather than killing the sessions at unix level. Mike Farrant IT

RE: [U2] [UV] MASTER OFF port

2005-02-23 Thread Stevenson, Charles
I've found emperically kill -4 [pid] *seems* to nicely kill uv pocesses, but I'm not sure why. Sometimes I have to repeat the command several times before success. I kinda assumed MASTER OFF must do a kill -4, but have nothing to back that up, just that UV processes seem to disappear

RE: [U2] [UV] MASTER OFF port

2005-02-23 Thread Adrian Matthews
On our windows Universe system we used to have a phantom process that ran under with administrative rights. This used to check a file every 15 seconds for instructions to MASTER OFF a port. The users had a program they could run that wrote the record to the file. That way they had the ability to

RE: [U2] [UV] Default Catalog?

2005-02-23 Thread Richard Taylor
If no catalog exists for a called subroutine UV looks in the same program library as the calling program. Rich Taylor | Senior Programmer/Analyst| VERTIS 250 W. Pratt Street | Baltimore, MD 21201 P 410.361.8688 | F 410.528.0319 [EMAIL PROTECTED] | http://www.vertisinc.com Vertis is the premier

RE: [U2] [UV] MASTER OFF port

2005-02-23 Thread Larry Hiscock
Kill -4 generates an illegal instruction trap and core dump. I have always heard that kill -1 (hangup) is the nicest way to kill an errant process, and kill -9 (kill) is the last resort. Larry Hiscock Western Computer Services -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [U2] [UV] MASTER OFF port

2005-02-23 Thread Anthony Dzikiewicz
I would think MASTER OFF it is a better way, because its not a 'back door' approach. If you are dropping to the command line, then just execute something like; Sudo /usr/ibm/uv/bin/master off 123 ;*where 123 is the user number You could create a group called uvmaster and add the users to that

RE: [U2] U2 to web software

2005-02-23 Thread George Gallen
Brian, At the cludgy end you could use CGI to write a script (select your language here) to write request information to a directory, have a phantom scan it and write the response back, and then have the CGI script send that back to the web server. Very simple, but pretty slow and limited in

Re: [U2] [UV] MASTER OFF port

2005-02-23 Thread Clifton Oliver
The kill -4 might also need to be done three or four times before that mechanism kicks in. -- Regards, Clif ~~~ W. Clifton Oliver, CCP CLIFTON OLIVER ASSOCIATES Tel: +1 619 460 5678Web: www.oliver.com ~~~ Larry

Re: [U2] [UV] MASTER OFF port

2005-02-23 Thread Jeffrey Butera
On Wednesday 23 February 2005 10:28, Drew Henderson wrote: man signal (may have to use man 7 signal should tell you. It looks like SIGILL, for illegal instruction Drew Stevenson, Charles wrote: I've found emperically kill -4 [pid] *seems* to nicely kill uv pocesses, but I'm not

RE: [U2] Subroutine utility

2005-02-23 Thread Bob Woodward
Thanks, Bjorn. There doesn't seem to be a need for the System Builder $INCLUDE or the call to SET.COMMON as long as the AM entries are changed to @AM. I'm curious, though, as to why you would write it to only run on cataloged programs. Like you said, it can be modified to suit our needs but I

RE: [U2] [UV] MASTER OFF port

2005-02-23 Thread Anthony Dzikiewicz
Here's what strace shows during a master off operation; kill(27239, SIG_0) = 0 kill(27239, SIGTERM)= 0 This isn't the whole trace just the lines relating to 'kill()' I believe SIG_0 means stop processing signals (cant find doc on that one), then the

[U2] Universe MALLOCTRACING

2005-02-23 Thread Anthony Dzikiewicz
Has anyone got any information on this param in the uvconfig; # MALLOCTRACING - Turns on malloc tracing for UniVerse Support analysis. MALLOCTRACING 0 I am still having some performance problems that I am trying to get a handle on. I am interested in knowing if this would help me or not.

RE: [U2] U2 to web software

2005-02-23 Thread Glen B
George, your implementation isn't cludgy by default. It's only slow and cludgy if the processes involved aren't tuned to function with file spooling. The basic design of MVWWW utilizes file spooling much in the same way. I get very good throughput using it. It is not anywhere as efficient as

RE: [U2] Universe MALLOCTRACING

2005-02-23 Thread Dave Meeks
No, it won't... I originally put this facility in as an alternative to commonly available memory tracing facilities, such as Purify and the like, due to it's unavailability on certain platforms. It allowed for the tracing of malloc/calloc/realloc/free calls across the product, checking for

[U2] [UV] DATA statement not executing

2005-02-23 Thread iggchamp
Hi all, UV9.6, HPUX11 Has anyone ever seen a DATA statement stop working? I had a user that was running a program that would basically... DATA PROGRAM2RUN EXECUTE 'SELECT FILE' and the DATA statement would never execute. I had them logout, log back in, and it starting working again. There

Re: [U2] [UV] DATA statement not executing

2005-02-23 Thread FFT2001
DATA PROGRAM2RUN EXECUTE 'SELECT FILE' Data adds something to the stack. IF there is already something on the stack then it adds it to the end. So my idea is that your stack wasn't exhausted. Generally I prefer this syntax EXECUTE SELECT FILE,//IN. PROGRAM2RUN Which I believe will overwrite

RE: [U2] Universe MALLOCTRACING

2005-02-23 Thread Anthony Dzikiewicz
Ok then I'll leave that one alone. Maybe you can shed some light on this situation. I have a 'purge' program that takes invoices in OM, OI (header and line item files), writes them to OM.H, OI.H (history files), then deletes them from the OM, OI. When we were on DG/UX, this purge could run

RE: [U2] Universe MALLOCTRACING

2005-02-23 Thread Kryka, Richard
One of the things I have done in this situation is to have the purge program sleep for 10 or 15 seconds every several hundred records. I know this is hokey, but it seems to allow the file I/O buffers time to catch up. Dick Kryka Director of Applications CCCS of Greater Denver, Inc. Paragon

RE: [U2] Universe MALLOCTRACING

2005-02-23 Thread Dave Meeks
Well, without going into great levels of detail (given I don't have much to go on), I'd suggest the following to start: a) Obviously, if your files are overflowed, that will cause problems... check those, and ensure that's not the problem. b) Check your lock tables to ensure you have enough

Re: [U2] [UV] DATA statement not executing

2005-02-23 Thread iggchamp
Thanks for the reply Will. I forgot to mention that I always clear the stack prior to doing this. -- Original message -- DATA PROGRAM2RUN EXECUTE 'SELECT FILE' Data adds something to the stack. IF there is already something on the stack then it adds it to the

RE: [U2] Universe MALLOCTRACING

2005-02-23 Thread FFT2001
I would love to know what Universe is doing during this 'freeze'. Thanks Anthony Updating the internal indexes. Suspend updates to the indexes and it will fly, that's my bet. You probably have some long index chains. Will --- u2-users mailing list u2-users@listserver.u2ug.org To

RE: [U2] Subroutine utility

2005-02-23 Thread Jef Lee
Me too please? Jef Lee IT Vision Level 3 Kirin Centre, 15 Ogilvie Road, APPLECROSS, WA 6153 Tel: (08) 9315 7000 Fax: (08) 9315 7088 P O Box 881, Canning Bridge, WA 6153 A.C.N. 068 914 867 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit

RE: [U2] Subroutine utility

2005-02-23 Thread Kevin King
CCE was written ~15 years ago and I'm not sure if it was on an Ultimate or NCR, but either way it was an old, old implementation. If I knew back then... Anyway, it runs from a proc: 001 PQ 002 HRUN filename CCE 003 P This is the routine you were asking about, right? -Kevin [EMAIL PROTECTED]

RE: [U2] [UV] DATA statement not executing

2005-02-23 Thread Jacques G.
Also there is a SYSTEM(x) you can do which tells you if there is something on the data stack, and there is a command like dataclear or something like that which will clear it. INPUT XX, -1 IF XX THEN CRT There is something in the data stack END

Re: [U2] [UV] DATA statement not executing

2005-02-23 Thread Jacques G.
Generally I prefer this syntax EXECUTE SELECT FILE,//IN. PROGRAM2RUN I don't like this syntax. It reminds me of the more cryptic pre-processor commands in C. When I see, it I go back to the manual to make sure of what it does. EXECUTE SELECT FILE IF SYSTEM(11) THEN EXECUTE PROGRAM2RUN

RE: [U2] Subroutine utility

2005-02-23 Thread Bjorn Behr
The $INCLUDE SET.COMMON are just standard in the programs so that is why they are there. As for using only cataloged programs, our programs are stored by module and within that module there can be 3 different BP files. Eg: AR Module: File 1: SS.ARBP File 2: ARUFO File 3: ARPROGS So I am not

Re: [U2] Universe MALLOCTRACING

2005-02-23 Thread Clifton Oliver
Check the indexes to see if they were created without NO.NULLS, and that is appropriate to the application. -- Regards, Clif ~~~ W. Clifton Oliver, CCP CLIFTON OLIVER ASSOCIATES Tel: +1 619 460 5678Web: www.oliver.com