Re: REXX Problem



In a recent note, Rob Scott said:

> Date: Tue, 17 Jan 2006 17:27:42 -0500
>
> "Note: once you execute "address ISREDIT", there is no need to put
> "ISREDIT" in front of every command."
>
> Maybe not - but I think it is good practice - it protects you from
> problems if you happen to ADDRESS another environment when you next
> change the REXX exec. Admittedly this might not be a big issue with
> simple edit macros - but in larger REXX execs you can easily shoot
> yourself in the foot.
>
> I also think that it makes the code easier on the eye and easier to
> maintain.
>
You could make the same argument for putting a USING or a CSECT
in front of every other assembly language statement.

And it wouldn't be true there, either.

(Although HLASM reports effective USINGs at the top of each page.)

And, following up on teD's reasoning, if I have a large
chunk of statements in another environment, I'll habitually
make a PROCEDURE out of it. Since the previous addressing
environment is restored on return, everything desired
happens automatically.

No, I don't put a restoring ADDRESS ... either before the
RETURN or after the CALL (although Ed Jaffe might like it
that way.)

-- gil
--
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: Bringing the fun back to z/OS - new course
    ... environment where a cell group in support of an applicationcan consist ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Splitting an DFSMShsm environment
    ... restore on the test system to an empty newly created HSM environment to ... I like this one as it leaves your production ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Multiple TSO logons
    ... I would regard SUB=MSTR to be anything but bizarre and rather more the normal way of things than having to bother with a complicated "subsystem" environment. ... Probably I got this attitude by having to wrestle with system startup automation where, for example, the NetView SSI task and an "automation" NetView task needed to be started at an early stage with SUB=MSTR so that they could manage the starting of address spaces such as, well, JES2. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Are you using MVS LOGGER for LOGREC?
    ... system sysplex. ... environment. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: CEEPIPI questions
    ... I believe in this environment, each TCB will needs its own CEEPIPI ... System Services to create a new "process" just prior to the CEEPIPI ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)