Apologies for a very basic question. I am trying to write my first TSO
command or the like.

Yes, I have RTFM. Am I reading it correctly? 

Assume a program in userid.MY.LOAD named FOO. Assume TSOLIB ADD DSN(MY.LOAD)
which implies Ready prompt, not ISPF. Is the following correct?

- If I type FOO SOME OPERANDS then FOO will be entered "as a TSO command"
with R1 pointing to a 4-word CPPL. The doc is pretty clear on that.
- OTOH if I enter CALL MY(FOO) 'SOME OPERANDS' then FOO will be entered with
normal z/OS linkage, e.g. R1 pointing to a word that points to a halfword
length and the character string 'SOME OPERANDS' (without the quotes). Is
that correct? The doc is not very clear to me.

A corollary question: is there any way to execute FOO as a TSO command but
specify that I want the FOO in userid.MY.LOAD, not some other FOO that might
be ahead of it in the STEPLIB concatenation? Can I get the explicit load
library of CALL with the linkage of a command processor? (Excluding
solutions that involve writing programs to search the libraries,
de-concatenating, and so forth. I want to just execute FOO from a specified
load library without changing the whole environment.) 

Thanks,

Charles 

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

Reply via email to