Shmuel Metz (Seymour J.) wrote:

In <[email protected]>, on 07/25/2012
  at 04:59 AM, CM Poncelet <[email protected]> said:

Yes I know that. ADDRESS ISREDIT, on its own, is sufficient to cause all commands that follow it to be interpreted as ISREDIT ones (without quotes

The need, or lack of need, for quotes has nothing to do with whether
you use a stand-alone ADDRESS statement. You need quotest around text
that you want treated as a constant. You don't need quotes around an
expression that will evaluate to the value you want.

I know that too.


But I do not normally use ADDRESS except for IPCS: it is just as easy, and quicker, to put strings in quotes.

The two have nothing to do with each other.

I did not say they had. I said "it is just as easy, and quicker, to put strings in quotes."


That is what I said,

No, you said 'So I assume that "ISPEXEC ..." is calling ISPEXEC
directly', and thast assumption is incorrect.

You are right: I should have said "is calling ISPEXEC indirectly". But I was thinking in terms of ISPEXEC itself being called by "ISPEXEC ...", rather than whether the call was then direct or indirect. Thanks for noticing/correcting my lack of attention to detail.


except that I use quotes instead of ADDRESS.

They are unrelated to each other. All of these are equivalent[1]:

ADDRESS ISREDIT "F ALL"
ADDRESS ISREDIT F ALL
ADDRESS ISREDIT
"F ALL"
F ALL

Yes, I know that. But "ISREDIT ..." is quicker to type than ADDRESS ISREDIT ... et al. - and it is only the results that matter to me. So why should I spend 15 minutes typing ADDRESS when using quotes will take me only 10 minutes? The REXX code will execute in seconds either way. It is then typically executed only once - just to save time from making my changes, or doing whatever else, manually. So I have hundreds of these 'adhoc' REXX and Clist things (I name them @0000000/1/2/3 etc., as what they are called is irrelevant) and all I want is quick results, so I can carry on with other work afterwards.


Yes, by IPCS call I mean expressions beginning with IPCS

Then it's indirect.

Sure: but so what? If I'm analyzing a dump, all I'm interested in is the results - not in whether my IPCS REXX is direct or indirect. If I use a hammer, I could not care less about which company made it and what color its handle is: all that matters to me is whether it hits nails.


I am not referring to REXX invoking other environments -  which
requires either an ADDRESS (which I do not use) or quotes (which I do use).

Quotes are irrelevant to the issue. Whether you need them has nothing
to do with whether you use ADDRESS.

Are you being serious, or just wasting my time with your platitudes? Is there anything else you think I need to know? If yes, could you please put all the things you think I need to know in a single list and send that to me so I can send it to the trash folder. Thanks.


I do understand both.

Your references to quotes suggest otherwise.

[1] Assuming that F and ALL are uninitialized and you are not
   trapping NOVALUE

Tut tut .... Is that it now? Ta ta




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to