![]() |
|
|
|
|
1
7th December 14:52
External User
Posts: 1
|
In article <8gkkm114nr15jgjughg32521br2emg1uin@4ax.com>,
lpeedinREMOVE@UPPERCASEnc.rr.com says... Thanks Lee, this is what I needed. It even works when started from a DB2 Command Window and running DB2 commands. I was afraid the ..oleObject~new("WScript.Shell") command creates a new environment but it inherites the DB2 Command Window environment which is what I needed. Another reason to force the customer to install at least Object REXX 2.1.3, they are still running with 1.0.3. Kind regards, Gert |
|
|
|
|
3
15th December 18:57
External User
Posts: 1
|
In article <1131100129.349849.53820@o13g2000cwo.googlegroups. com>,
rexx@users.sourceforge.net says... Please add this to ooRexx ![]() |
|
|
4
23rd February 18:39
External User
Posts: 1
|
In article <8gkkm114nr15jgjughg32521br2emg1uin@4ax.com>,
lpeedinREMOVE@UPPERCASEnc.rr.com says... Lee, Running the script below works on XP Home but hangs on Windows 2K. It looks like oExec~Status remains 0. If I remove the first do-while loop it runs without a problem. Any idea what's causing this 'problem'? Kind regards, Gert WshShell = .oleObject~new("WScript.Shell") oExec = WshShell~Exec("db2 list database directory") do while oExec~Status = 0 call SysSleep(1) end do while oExec~StdOut~AtEndOfStream = 0 say oExec~StdOut~ReadLine end exit |
|
|
7
24th February 08:36
External User
Posts: 1
|
In article <MPG.1de0591031f6ef6e9898b0@news.xs4all.nl>, Gert van der
Kooij (gert@invalid.nl) says... I found it allready, all properties are listed at http://tinyurl.com/con8m |
|
|
|