home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
perl502b.zip
/
ext
/
OS2
/
REXX
/
rx2.pl
< prev
next >
Wrap
Text File
|
1995-05-13
|
442b
|
10 lines
use OS2::REXX;
$rx = load OS2::REXX "ydbautil" or die; # from RXU17.ZIP
$rx->prefix("Rx"); # implicit function prefix
tie @pib, OS2::REXX, "IB.P"; # bind array to REXX stem variable
tie %tib, OS2::REXX, "IB.T."; # bind associative array to REXX stem var
$rx->GetInfoBlocks("IB."); # call REXX function
print "Process status is ", unpack("I", $pib[6]),
", thread ordinal is $tib{7}\n";