RE: [U2] [UV] - Getting the call stack trace within a program

2007-09-04 Thread Bernard Lubin
Thanks to every one who answered so promptly to my query.  It is just what I
was looking for. 
Rgds

Bernard Lubin
Development Department
Reynolds and Reynolds
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Daniel Jorgenson/GUS/SICK is out of the office.

2007-09-04 Thread Daniel Jorgenson
I will be out of the office starting  09/04/2007 and will not return until
09/10/2007.

I will respond to your message when I return.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] - Getting the call stack trace within a program

2007-09-04 Thread Stevenson, Charles
I posted the following when SYSTEM(9001) was invented.  It's gotta be in
the archives somewhere.

I recently added it to the newly developing U2UG Wiki, along with a
table of other un- or poorly documented uses of SYSTEM(n), sorted by
said n.  Most info I gleaned from u2-users list archives.

Some formatting is lost CutPasting it back to this text-only format,
but here it is:

_

SYSTEM(9001) Call stack of current process

SYSTEM(9001) tells you what program you are in  where you came from! It
will return a dynamic array that contains roughly the same info that
PORT.STATUS LAYER.STACK or RAID T command coughs up. 

- Value 1 of each attribute is the depth in the return stack 
  Non-negative numbers mean that those programs are all part of the
return stack. 
  Negative numbers below simply mean those subroutines were called and
returned from in the past. 
  I don't think @LEVEL has anything to do with it, contrary to the
patchlist text. 
- Value 2 is the program 
- Value 3 is the hex address 
  The object address you see when you VLIST a program 
  For the negative depths, n/a. 
  (0x0 on DUMMY example is real. They are small programs.) 
- The number of values is constant, 
  the number of attributes grows or shrinks. Oh well. 

One caution: 
The data is turned 90 degrees from conventional MV data design: the
values should have been the attributes; the attributes, values.  Each
value has a different meaning, multi-attributes for multiple
occurrences.






Here is a sample subroutine that displays the data and a dummy program
that calls it. Then from the menu, I get to pseudo-TCL and execute the
dummy program. 

CT CDS.BP SYS9001 DUMMY 

SYS9001 
0001 SUBROUTINE SYS9001 
0002 CRT Depth Executing.. Address 
0003 S = SYSTEM(9001) 
0004 FOR A = 1 TO COUNT( S, @AM ) 
0005 CRT SA,1 4R##: : SA,2 40L#40: SA,3 

0006 NEXT A 
0007 CRT QUOTE( S ) 
0008 RETURN 
DUMMY 
0001 CALL SYS9001 
. ED VOC LIST 

8 lines long. 
. - - - -: XEQ RUN CDS.BP DUMMY 
Executing the command RUN CDS.BP DUMMY 
Depth Executing.. Address 
3: CDS.BP.O/SYS90010x6 
2: CDS.BP.O/DUMMY 0x0 
1: /dbms/uv/catdir/*UVPRINTMSG 0x4b40 
0: /dbms/uv/catdir/-MATBLOCK 0x0 
-1: /dbms/uv/catdir/-PERMISSIONS 0x0 
-2: /dbms/uv/catdir/-GET.FILE.NAME 0x0 
-3: /dbms/uv/BP.O/ED.B 0x0 
3}CDS.BP.O/SYS9001}0x6~2}CDS.BP.O/DUMMY}0x0~}/dbms/uv/catdir/*UVPRINTMS
G}0x4b40~0}/dbms/uv/catdir/-MATBLOCK}0x01}/dbms/uv/catdir/-PERMISSIONS}0
x0~-2}/dbms/uv/catdir/-GET.FILE.NAME}0x0~-3}/dbms/uv/BP.O/ED.B}0x0~ 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] udt 6.1: UniAdmin phantom vs. iphantm

2007-09-04 Thread Kevin King
I had a user call today with a question about the user list in UniAdmin.
Some phantoms show up as phantom, others show up as iphantm.  I've never
noticed this before and had no answer.  Does anyone else have any ideas why
two otherwise non-distinct phantoms would show up differently in UniAdmin?

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


[U2] Model 204

2007-09-04 Thread Charles Barouch

All,
  A buddy of mine asked me if I knew anything about Model 204. I've 
never run across it, but it sure smells like a cousin of the multivalue, 
or perhaps XML, model. Anyone know anything? It's supposed to be over 30 
years old and originally used by the US Government (NSA).


http://sirius-software.com/m204.html
http://www.cca-int.com/prodinfo/m204.html
http://en.wikipedia.org/wiki/Model_204

--
- Charles Barouch
  [EMAIL PROTECTED]
  Consulting
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] POKE command on Universe

2007-09-04 Thread Stevenson, Charles
Is it just feed-mode  that doesn't work, or tandem in general?
If the latter, it be a matter of permissions on the binary executable.

On unix, tandem itself won't let non-administrators proceed, even if there are 
execution rights for group or other.

On QA/Dev we use the sticky bit to let any ol' developer in, executing as root:

   $ls -l $UVHOME/bin/tandem
   -rwsr-x--x  1 root  other  2752512 Jul 29  2003 /dbms/uv/bin/tandem 
  ^
   
On production we have it configured as IBM delivers it (admin only):

   $ls -l $UVHOME/bin/tandem
   -rwxr-x--x  1 root  other  2752512 Jul 29  2003 /dbms/uv/bin/tandem
  ^
 
Once permissions are ok,  the Poke-like escF feed mode works for me, with a 
couple caveats should the targeted process dive into another unix shell.

cds

-Original Message-
From: Marcos Fogaga

Somebody knows how do I do a POKE command on Universe?
I used the POKE command with pick/D3 and I need to use now with UV.
I tried the TANDEM using feed mode, but did not work.
By the way, with D3 POKE command we can write from a line into input buffer of 
the another line.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] udt 6.1: UniAdmin phantom vs. iphantm

2007-09-04 Thread Wally Terhune
Starting at 6.0.13 - there was a licensing change. Phantoms that invoke
sockets, etc (as noted below) - appear at 'iphantm' in listuser output.

Issue 32049 - Problem Description

UniData -- Historically, PHANTOM processes have been used only for batch or
background processing that allowed no interaction. As such, no
database license was consumed by PHANTOM processes. The following
UniBasic functions, which provide interactive capability when
used in a PHANTOM, will consume a database license:

UniBASIC Socket API:
  openSocket(), openSecureSocket(), initServerSocket(),
  initSecureServerSocket()
UniBASIC MQ API:
  amInitialize()
UniBASIC CallHTTP:
  submitRequest()
UniBASIC CallSOAP:
  SOAPSubmitRequest()

The license will be released when the PHANTOM exits. If no license
is available, the process fails with a status code 99, indicating
that UniData failed to obtain a license for the interactive
PHANTOM process.background
   
 Wally Terhune 
 SWG Client Support - Information  
 Management Software   
 U2 Support Architect b IBM U2 
 Client Support Team   
 4700 S. Syracuse St., Denver, CO  
 80237 
 Tel: (303) 773-7969   T/L 
 656-7969  
 Mobile: (303) 807-6222
 [EMAIL PROTECTED] 
   
   
   
   
 Register today for the premier
 U2 technical event!   
   








   
 Kevin King  
 [EMAIL PROTECTED] 
 il.comTo 
 Sent by:  u2-users@listserver.u2ug.org
 [EMAIL PROTECTED]  cc 
 stserver.u2ug.org 
   Subject 
   [U2] udt 6.1: UniAdmin phantom
 09/04/2007 10:44  vs. iphantm   
 AM
   
   
 Please respond to 
 [EMAIL PROTECTED] 
er.u2ug.org
   
   




I had a user call today with a question about the user list in UniAdmin.
Some phantoms show up as phantom, others show up as iphantm.  I've
never
noticed this before and had no answer.  Does anyone else have any ideas why
two otherwise non-distinct phantoms would show up differently in UniAdmin?

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

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
24049284.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
24097076.jpg]

[demime 1.01d removed an attachment of type image/gif which had a name of 
graycol.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of 
pic21945.gif]

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


RE: [U2] udt 6.1: UniAdmin phantom vs. iphantm

2007-09-04 Thread Symeon Breen
Iphantm is when a phantom is used interactively and therefore uses a licence. 

'Interactively' is determined if the phantom is using the socket api or its 
derivatives (http and soap apis). There may be other instances that a phantom 
is deemed to be interactive that I donbt know off...


Rgds
Symeon.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: 04 September 2007 17:45
To: u2-users@listserver.u2ug.org
Subject: [U2] udt 6.1: UniAdmin phantom vs. iphantm

I had a user call today with a question about the user list in UniAdmin.
Some phantoms show up as phantom, others show up as iphantm.  I've never
noticed this before and had no answer.  Does anyone else have any ideas why
two otherwise non-distinct phantoms would show up differently in UniAdmin?

-- 
-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] udt 6.1: UniAdmin phantom vs. iphantm

2007-09-04 Thread Kevin King
Excellent information (as usual) Wally - thanks!

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


FW: [U2] POKE command on Universe

2007-09-04 Thread Stevenson, Charles
 Do you know how do I do a TANDEM inside a pick basic program passing
the ESC F (feed mode)?
 I have tried the EXECUTE but I can not send a ESC F.
 Using TCL shell the TANDEM in feed mode works.

Since tandem is a unix executeable, pipe the commands you want into it.
For example, suppose port 17 is sitting at TCL, and you want to print
THIS IS A TEST to it's screen.

If you have a file, tandemcmds, that contains

   ^027FDISPLAY THIS IS A TEST
   ^027X

At unix:
   cat ./tandemcmds | $UVHOME/bin/tandem 17

At basic:
  EXECUTE \SH -ccat ./tandemcmds | $UVHOME/bin/tandem 17
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] U2 University Last Week In Denver

2007-09-04 Thread Brenda Price
Just wanted to say it was a good event.  Wish everything was ready now.
Great stuff on the way.  Anyone that can attend the rest of the events
really should do so.



Brenda Price

Affiliated Acceptance Corp

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


Re: [U2] U2 University Last Week In Denver

2007-09-04 Thread Kate Stanton
Thanks for the feedback, Brenda.  We are trying to decide which sessions to 
go to - any advice?  Cheers, Kate


- Original Message - 
From: Brenda Price [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Wednesday, September 05, 2007 9:38 AM
Subject: [U2] U2 University Last Week In Denver



Just wanted to say it was a good event.  Wish everything was ready now.
Great stuff on the way.  Anyone that can attend the rest of the events
really should do so.



Brenda Price

Affiliated Acceptance Corp

Sunrise Beach, MO
---
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/