Dean Armbruster wrote on 03/13/2006 04:33:27 PM:

> PCPERFORM can do multiple commands.  Separate them with a linefeed
> (char(10)).
<snip>
> This is on HP-UX with the Bourne shell.  I don't know about other
> shells, other unix, or Windows.

Unfortunately, this won't work on Windows.  Neither will the semicolon as 
proposed in a previous posting.  On Windows you can use an ampersand as a 
line separator.  Of course, if you use that same construct in UNIX you'll 
get totally different results (possibly amusing, possibly frightening, 
definitely incorrect), since anything preceding the ampersand will be 
launched as a background process with the rest being tossed.  If you have 
software that needs to work on both NIX and Doze, you'll probably have to 
check SYSTEM(33) to see which you're running, and assign your continuation 
character accordingly.  Hey, you'll probably be doing that anyway, to deal 
with forward slashes versus backslashes and some other things.


Tim Snyder
Consulting I/T Specialist , U2 Professional Services
North American Lab Services
DB2 Information Management, IBM Software Group
717-545-6403
[EMAIL PROTECTED]
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to