MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with Quotes in a command using REXX !!

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Wed Feb 15, 2006 11:18 pm    Post subject: Problem with Quotes in a command using REXX !! Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
danm
Intermediate


Joined: 29 Jun 2004
Posts: 170
Topics: 73

PostPosted: Thu Feb 16, 2006 10:25 am    Post subject: Reply with quote

Try "OPER 'RO OTHERSYSTEM,AOP0 ACT(''OPER '' ''D A,L'' '' '')'"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group