At 03:58 PM 01/17/2006, you wrote:
In <[EMAIL PROTECTED]>, on 01/16/2006
at 05:20 PM, "Stephen M. Wiegand" <[EMAIL PROTECTED]> said:
>OK I admit I'm old and my brain sometimes goes out to lunch. Today
>is one of those times. I have this error in a REXX macro that I use
>in TSO that I just can't figure out how to correct.
Where are HILVL, P and STK0 defined? If they are ISPF variable then
that code should work. Or did you mean for the & to simply be an & in
the search string? In the latter case you need to escape the &.
They are not variables. They are part of a JCL statement in a PDS
member that uses symbolized statements. For example, the PDS has a
large number of JCL statements and one of those that occurs
frequently in the one I'm working on and in many other PDS's, has the
following:
//SYSIN DD DSN=&HILVL..ZZ.ZZ.&P.&STK0..PARMLIB(MEMBR1),DISP=SHR
>I've looked through the REXX documentation
Why? It looks like an ISPF issue. REXX doesn't use an & as a
substitution character. What are you trying to substitute, REXX
variables or ISPF variables?
I suppose it is an ISPF issue. At first I thought it was a syntax
problem with my REXX. As you can see from above, I'm not trying to
replace REXX variables. I suppose our use of symbolized JCL makes it
more convoluted.
Note: once you execute "address ISREDIT", there is no need to put
"ISREDIT" in front of every command.
Didn't know that. Thanks for the tip.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
Steve Wiegand
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html