View previous topic :: View next topic
|
Author |
Message |
Kamil Tluczek
New User
Joined: 06 Feb 2014 Posts: 8 Location: Poland
|
|
|
|
Hello,
I don't have much experience in REXX programming, but maybe you will be able to help me. I want to assing a following string to variable:
Code: |
$cntl = " REPRO IFILE(LOG) ODS('" || $outdsn || "')" |
The problem is that when I exec the code REXX treats that string as a command and executes it. How can I avoid this string to be treated as a command?
I didn't find the answer to my question on this forum. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
That line, as coded, will not be executed as a command.
Perhaps something else in your program causes it to execute. Can you show us the program, and a trace? |
|
Back to top |
|
|
Kamil Tluczek
New User
Joined: 06 Feb 2014 Posts: 8 Location: Poland
|
|
|
|
Thank you Pedro. You are right, I run trace and found out that the problematic line was:
|
|
Back to top |
|
|
|