Thanks much.

> I'm surprised the doc isn't clear, but it's one of those "everyone knows 
> that" sort of things, so I don't doubt you.

Notice I said "not very clear to me" LOL. I've written a lot of programs in my 
career but never a TSO command or the like. What can I say?

OK, I "get" your TEST example. You bring foo into memory from a specified 
library telling TEST it's a CP and then run it. Thanks.

> Over the decades just about everyone wrote a CALLCP command to do this, often 
> with variations. I'll bet there are several on the CBT site.

Hmmm. I'm actually wishing to do this from within a command I will write. Is 
there any reason I cannot use normal MVS functions such as LOAD to find a 
particular FOO and then pass my own "constructed" CPPL:

CPPLCBUF: Pointer to a buffer in my program containing H'21',H'4',C'FOO SOME 
OPERANDS'
CPPLUPT: Copied from my entry CPPL.
CPPLPSCB: Copied from my entry CPPL.
CPPLECT: Copied from my entry CPPL.

Will that work (assuming no screw-ups) or is there some "magic" that TSO 
performs for a CP that will be missing if I do a LOAD and BASSM or BALR? I was 
thinking there was (some TSO magic necessary) but perhaps there is not?

Note: all unauthorized. No APF considerations here.

Thanks again,

Charles

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

Reply via email to