[U2] A trail of bread crumbs

2007-02-13 Thread Susan Joslyn
Greetings saviors.

I'm trying to find a system variable? Or anything that can tell me, from
within a BASIC program, How did I get here?  

Is there a trail of breadcrumbs for me to follow from within Unibasic, does
anyone know?

Just sign me,
Gretel

p.s. I'm a digest subscriber, (so busy luring witches into the woods, you
know) so if anyone has my answer for me, copy me directly, please!
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] A trail of bread crumbs

2007-02-13 Thread brian
Susan

On Universe, check out SYSTEM(9001).

Brian

Greetings saviors.

I'm trying to find a system variable? Or anything that can tell me, from
within a BASIC program, How did I get here?  

Is there a trail of breadcrumbs for me to follow from within Unibasic, does
anyone know?

Just sign me,
Gretel

p.s. I'm a digest subscriber, (so busy luring witches into the woods, you
know) so if anyone has my answer for me, copy me directly, please!
---
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] A trail of bread crumbs

2007-02-13 Thread Peter Veenhof
SYSTEM(9001) should tell you what you are looking for...



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Tuesday, February 13, 2007 11:19 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] A trail of bread crumbs

Greetings saviors.

I'm trying to find a system variable? Or anything that can tell me, from
within a BASIC program, How did I get here?  

Is there a trail of breadcrumbs for me to follow from within Unibasic,
does
anyone know?

Just sign me,
Gretel

p.s. I'm a digest subscriber, (so busy luring witches into the woods,
you
know) so if anyone has my answer for me, copy me directly, please!
---
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] A trail of bread crumbs

2007-02-13 Thread colin.alfke
On UniData SYSTEM(49) will give you the full call stack.

You may also want to look at SYSTEM(17) and SYSTEM(40) (HELP SYSTEM)
depending on exactly what you are trying to do.

Hth
Colin Alfke
Calgary Canada 

-Original Message-
From: Susan Joslyn

Greetings saviors.

I'm trying to find a system variable? Or anything that can 
tell me, from within a BASIC program, How did I get here?  

Is there a trail of breadcrumbs for me to follow from within 
Unibasic, does anyone know?

Just sign me,
Gretel

p.s. I'm a digest subscriber, (so busy luring witches into the 
woods, you
know) so if anyone has my answer for me, copy me directly, please!
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] A trail of bread crumbs

2007-02-13 Thread Steve Mayo
If I understand what you are asking for, try a SYSTEM(49). That will return
a delimited list of the calling stack. 

HTH,

Steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Tuesday, February 13, 2007 8:19 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] A trail of bread crumbs

Greetings saviors.

I'm trying to find a system variable? Or anything that can tell me, from
within a BASIC program, How did I get here?  

Is there a trail of breadcrumbs for me to follow from within Unibasic, does
anyone know?

Just sign me,
Gretel

p.s. I'm a digest subscriber, (so busy luring witches into the woods, you
know) so if anyone has my answer for me, copy me directly, please!
---
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] A trail of bread crumbs

2007-02-13 Thread Andrew Lakeland
Hi Susan,



SYSTEM(9001)





This will give you the call stack.



Re

andy



-Original Message-

From: [EMAIL PROTECTED]

[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn

Sent: 13 February 2007 17:19

To: u2-users@listserver.u2ug.org

Subject: [U2] A trail of bread crumbs



Greetings saviors.



I'm trying to find a system variable? Or anything that can tell me, from

within a BASIC program, How did I get here?  



Is there a trail of breadcrumbs for me to follow from within Unibasic,

does

anyone know?



Just sign me,

Gretel



p.s. I'm a digest subscriber, (so busy luring witches into the woods,

you

know) so if anyone has my answer for me, copy me directly, please!

---

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/


RE: [U2] A trail of bread crumbs

2007-02-13 Thread Mark Eastwood
On UniVerse, SYSTEM(9001) will give the program stack.

Mark


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Tuesday, February 13, 2007 9:19 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] A trail of bread crumbs

Greetings saviors.

I'm trying to find a system variable? Or anything that can tell me, from
within a BASIC program, How did I get here?  

Is there a trail of breadcrumbs for me to follow from within Unibasic,
does
anyone know?

Just sign me,
Gretel

p.s. I'm a digest subscriber, (so busy luring witches into the woods,
you
know) so if anyone has my answer for me, copy me directly, please!
---
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] A trail of bread crumbs

2007-02-13 Thread Michael Rajkowski
On UniData SYSTEM(49) gives the basic stack.

Mike

Same as it ever was
 Same as it ever was

Sorry the How did I get here cause the Talking Heads song to get stuck in
my head.





 Susan Joslyn
 [EMAIL PROTECTED]
 omTo
 Sent by:  u2-users@listserver.u2ug.org
 [EMAIL PROTECTED]  cc
 stserver.u2ug.org
   Subject
   [U2] A trail of bread crumbs
 02/13/2007 09:19
 AM


 Please respond to
 [EMAIL PROTECTED]
er.u2ug.org






Greetings saviors.

I'm trying to find a system variable? Or anything that can tell me, from
within a BASIC program, How did I get here?

Is there a trail of breadcrumbs for me to follow from within Unibasic, does
anyone know?

Just sign me,
Gretel

p.s. I'm a digest subscriber, (so busy luring witches into the woods, you
know) so if anyone has my answer for me, copy me directly, please!
---
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/gif which had a name of 
graycol.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of 
pic22609.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] A trail of bread crumbs

2007-02-13 Thread Perry Taylor
I'm not sure if you're looking for a UniVerse or UniData solution.
Here's what I use on Universe...

FUNCTION CALLSTACK
!
* RETURN ATTRIBUTE-DELMITED CALLSTACK
*
* 07/08/2004
* PERRY TAYLOR
!
* FORM THE STACK *

  CALLSTK = DELETE(SYSTEM(9001), 1)

  FOR AMC = DCOUNT(CALLSTK, @AM) TO 1 STEP -1

 IF LEN(CALLSTKAMC) THEN

FILESPEC = CALLSTKAMC, 2

CALLSTKAMC = ''

FOR NC = LEN(FILESPEC) TO 1 STEP -1

   CH = FILESPEC[NC, 1]
   IF CH = '/' OR CH = '\' THEN EXIT

   CALLSTKAMC = CH: CALLSTKAMC

NEXT NC
   
 END ELSE

CALLSTK = DELETE(CALLSTK, AMC)

 END

  NEXT AMC

  RETURN(CALLSTK) 


Is that what you were looking for, Gretel?

Perry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Tuesday, February 13, 2007 11:19 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] A trail of bread crumbs

Greetings saviors.

I'm trying to find a system variable? Or anything that can tell me, from
within a BASIC program, How did I get here?  

Is there a trail of breadcrumbs for me to follow from within Unibasic,
does
anyone know?

Just sign me,
Gretel

p.s. I'm a digest subscriber, (so busy luring witches into the woods,
you
know) so if anyone has my answer for me, copy me directly, please!
---
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/


RE: [U2] A trail of bread crumbs

2007-02-13 Thread Susan Joslyn
Thanks, everyone who had my answer at the ready!
I looked right at the system(49) documentation and thought it was something
else.  It is actually quite wonderful!

Does anyone know if the output format is the same on Universe SYSTEM(9001)
as it is on Unidata SYSTEM(49)?  On Unidata you get this output:

 1}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_MM}109 
 2}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.MENU.SELECT}262 
 3}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.MENU.S}348  
 4}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.PROCESS}151 
 5}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.INTERP.I}739
 6}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.VALIDATE}90 
 7}PRCPROGS\_PRC.ASSIGNED.VB}100
 8}PRCPROGS\_PRC.CREATE.PRJ}132 
 9}C:\IBM\ud71\sys\CTLG\p\PRC.PROJECT.TRIGGER}31
 

(A reverse-order stack with a sequence number, the program name, then the
line number within the program in three MV's)

 

Susan/Gretel
p.s. anybody seen Hanzel?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Universe

2007-02-13 Thread Peter Veenhof
Teri,

I'd bet, as cumbersome as it may be, if you pin down the times at which
this error is occurring and can see what other processes are running on
the system at that time you'd probably get a good answer to your
question. However, to prevent this, would it be possible to check and
trap the file open for an error message, log it, but allow the phantom
to continue on and try again until it's successful? That's probably your
best bet to prevent a required manual restart of the phantom process.

Pete


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Teri Henry
Sent: Tuesday, February 13, 2007 1:16 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Universe

On Universe 10 using Windows.

I have a phantom process running a series of programs twice/hour every
day.  The phantom sleeps during nightly processing and backup.

A couple times a month the process stops with a permissions issue on a
data file with this message Read operation failure.  [EACCES]
Permission denied.  The data file noted is different each time, the
time it fails is varied and only the error message is consistent.  I
restart the process and it works fine.  Is this a Universe permission
that is being lost?  Any ideas on what I can do to prevent this?

I appreciate any advise offered.

Teri Henry
Matrix Group Ltd., Inc.
727-799-7500 ext. 2234
---
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] MV - VCS configuration control

2007-02-13 Thread dsig
I have posted this to comp.databases.pick group also ..

A client is looking to move to a 'vcs' process.  They are D3 (unix) shop
but
are looking to a 'windows/unix' solution.  I was asked if there were
any MV products and I mentioned the few that I had heard of being used
in the mv world.  PRC and preforce (not sure how to search the history
of u2ug.org).

If there are any others being used for MV configuration - source
control, either MV
specific OR easy to link to MV I would like to know.

Thanks

DSig
David Tod Sigafoos
SigsSolutions, Inc.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] A trail of bread crumbs

2007-02-13 Thread Peter Veenhof
Yes, essentially the info in Universe is the same, however the order may be 
different... In Universe SYSTEM(9001) you get the most recent at the top of the 
list:

Ie. Running a sub called CLTESTER from my PVRUN main you get this rec in 
SYSTEM(9001):

2}PV.DEV.O/CLTESTER}0x0
1}PV.PGM.O/PVRUN}0x3f98



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Tuesday, February 13, 2007 12:58 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] A trail of bread crumbs

Thanks, everyone who had my answer at the ready!
I looked right at the system(49) documentation and thought it was something
else.  It is actually quite wonderful!

Does anyone know if the output format is the same on Universe SYSTEM(9001)
as it is on Unidata SYSTEM(49)?  On Unidata you get this output:

 1}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_MM}109 
 2}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.MENU.SELECT}262 
 3}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.MENU.S}348  
 4}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.PROCESS}151 
 5}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.INTERP.I}739
 6}C:\IBM\SBPLUS\UNIDATA\SB.DEFN\DM\_SB.VALIDATE}90 
 7}PRCPROGS\_PRC.ASSIGNED.VB}100
 8}PRCPROGS\_PRC.CREATE.PRJ}132 
 9}C:\IBM\ud71\sys\CTLG\p\PRC.PROJECT.TRIGGER}31
 

(A reverse-order stack with a sequence number, the program name, then the
line number within the program in three MV's)

 

Susan/Gretel
p.s. anybody seen Hanzel?
---
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] A trail of bread crumbs

2007-02-13 Thread Tony G
System(33) in D3.

From: dsig

 sigh sure wish we could get that kind of info from D3 .. don't think
 it ever knows where it is G


 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/