amit4u79 Beginner
Joined: 24 Oct 2005 Posts: 109 Topics: 36 Location: India
|
Posted: Wed Feb 15, 2006 11:18 pm Post subject: Problem with Quotes in a command using REXX !! |
|
|
Hi, I have this really small but complex problem I have no idea how to get around with. I am using an Automation product AF/Operator which is basically a rexx based product.Here any operator command thru rexx is issued as :
/* REXX */
" OPER 'D A,L' "
Which is interpreted as D A,L command as output
Now I have to issue an Operator command whose output should be interpreted as :
RO OTHERSYSTEM,AOP0 ACT('OPER ' 'D A,L' ' ')
on my system, but the quotes are giving me an issue when i give the command:
"OPER 'RO OTHERSYSTEM,AOP0 ACT(' 'OPER ' ' 'D A,L' ' ' ' ') ' "
as the quote ' before RO gives me the output as unbalanced quotes. I dont know how to get around this simple yet complex issue. I tried a lot of combination but cudnt get thru.
I have an idea that if I need say AMIT'S NAME i have to use
VAR1 = 'AMIT ' 'S NAME', as one quote nullifies starting quote, but it seems not working in above case.
Kindly help. _________________ I did not fail; I have found 10,000 ways that would not work - Albert Einstein. |
|