A more
elegant way? No. The UNIX way to do it is to "escape" the open parens that you
don't want to process yourself. Most of the time the escape character is
the backward slash.
RO
some_command operands \(command-options (RO-command-options
if a
single \ is desired, then enter \\. Of course, you remove the \ when sending the
command options to the other system.
Another possibility is to enclose the entire command string in
quotes
RO
'some_command operands (command-option' (RO-command-options
Again,
a single quote needs to be two consecutive single quotes.
Just a
couple of ideas.
--
John McKown
Senior Systems
Programmer
HealthMarkets
Keeping the Promise of Affordable
Coverage
Administrative Services Group
Information Technology
This
message (including any attachments) contains confidential information intended
for a specific individual and purpose, and its content is protected by
law. If you are not the intended recipient, you should delete this message
and are hereby notified that any disclosure, copying, or distribution of this
transmission, or taking any action based on it, is strictly
prohibited.
-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Mike Walter
Sent: Thursday, August 31, 2006 1:53 PM
To: [email protected]
Subject: Delimiters, delimiters everywhere, and not a parm to keep.
I wrote a command that sends commands on to another system for processing. This command is named (for historical and compatibility reasons) "RO".
The "other system's" command may have its own imbedded parenthesis. Meanwhile, "RO" has its own options.
Typical VM commands have options following an open parenthesis. Up until now I've been using double close-parentheses, such as:
RO some other system command operands ( some other system command options )) RO's own options
That DOES work, but looks rather "inelegant" to my eyes. Perhaps someone having experience with other systems might have a more elegant solution?
Obviously, a vertical bar (Pipe's default stage separator) is a nonstarter.
TIA,
Mike Walter
Hewitt Associates
Any opinions expressed herein are mine alone and do not necessarily
represent the opinions or policies of Hewitt Associates.The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited.
