SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 11 | March | 2007 ]

<< Previous Message << >> Next Message >>


Date: Sun, 11 Mar 2007 12:31:31 -0700
From: Peter Skye <pskye@peterskye.com >
Reply-To: scoug-programming@scoug.com
To: scoug-programming@scoug.com
Subject: SCOUG-Programming: Getting a PID ? (REXXLIB Harry)

Content Type: text/plain

Harry Motin wrote:
>
> If you have REXXLIB, the following will work:
> RC = DOSPIDLIST(ProcessID,ProcessName,,)

Thanks Harry, here's my test code:

/* From Harry Motin in a 2007-mar-11 email */
/* call RxFuncAdd 'DOSPIDLIST','REXXLIB','DOSPIDLIST' */
rc = rxfuncadd( 'rexxlibregister', 'rexxlib', 'rexxlibregister' )
say "RxFuncAdd(REXXLIB)="rc
rc = rexxlibregister()
say "rexxlibregister()="rc
say ""
rc = DOSPID()
say "DOSPID()="rc
say ""
rc = DOSPIDLIST(ProcessID,ProcessName,ParentName,SessionName)
say "DOSPIDLIST()="rc
say "ProcessID.0="ProcessID.0
say "ProcessName.0="ProcessName.0
say "ParentName.0="ParentName.0
say "SessionName.0="SessionName.0
say ""
rc = DOSPROCINFO('N',)
say "DOSPROCINFO(N)="rc
rc = DOSPROCINFO('P',)
say "DOSPROCINFO(P)="rc
rc = DOSPROCINFO('S',)
say "DOSPROCINFO(S)="rc

In my DLL directory I have

6-19-01 1:51p 193606 0 REXXLIB.DLL

The results look good for DOSPID() but not for DOSPIDLIST()
or DOSPROCINFO():

RxFuncAdd(REXXLIB)=1
rexxlibregister()=1

DOSPID()=2473

DOSPIDLIST()=0
ProcessID.0=PROCESSID.0
ProcessName.0=PROCESSNAME.0
ParentName.0=PARENTNAME.0
SessionName.0=SESSIONNAME.0

DOSPROCINFO(N)=
DOSPROCINFO(P)=52
DOSPROCINFO(S)=-1

What is my error?
_____

Concerning REXXLIB, Quercus still has its (c) 1995 web page at
http://www.quercus-sys.com/rexxlib.htm saying they want $50
for a copy. The online docs say there are two PID calls:

DOSPID returns the process id (PID).
DOSPIDLIST places information about currently active
processes into one or more compound variables.

I don't know where to download the 2001 (or newer) version.
Does anyone know about license issues for REXXLIB? Or should
I check with Quercus?

There is a much older rexxlib.zip on Hobbes from 1995. This
might be the rexxlib.dll contained in the Quercus REXXLIB demo.

- Peter

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".

For problems, contact the list owner at
"postmaster@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 11 | March | 2007 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.