Jon Perryman wrote on 6/21/2025 1:42 PM:
On Sat, 21 Jun 2025 01:37:29 -0400, Tony Harminc<[email protected]> wrote:
[snip]
The ability to run APF authorized TSO commands
AUTHCMD is documented. When environmental issues are encountered, the TSOEXEC
command can often circumvent those problems. What more do you need?
or programs is not documented at all.
I suspect the doc exists but buried deep.
Deep? Nope. Maybe obscure.
https://www.ibm.com/docs/en/zos/3.1.0?topic=ikjeftsr-parameter-list
See Parameter 1, byte 4, x'02'.
Using AUTHPGM is extremely dangerous because you are passing pointers instead
of documented command text.
I don't see it as dangerous, if the programmer understands and
rigorously follows the rules for doing it safely. In particular, if
you don't know the rules to do it safely, don't use this.
If it's not documented, then vendors should be able to get IBM internal doc
for it.
I wish.
I suspect it's not difficult to figure out. For me, PC routines have been
sufficient. Realize that the TSO parser can be used without TSO.
A PC routine done wrong can be just as dangerous as you think AUTHPGM
might be. Pick your poison.
(To be clear,
I mean the ability to write your own TMP that does that is not documented.)
Well, it used to be.
TSO_Extensions_Guide_to_Writing_a_Terminal_Monitor_Program_or_a_Command_Processor.SC28-1136-5.pdf
Sixth Edition (March, 1987)
Packrats rule!
Why would you want to write your own TMP?
Oh:
1. Command Recall, but this can be done (clumsily) in TSO Session
Manager.
2. Environment variables.
3. More scripting languages, such as Perl.
And there are OCO extensions to several TSO/E control blocks that are not
documented at all.
With regards to OOREXX, I believe everything needed is documented. For
resolving other problems, that can only be determined once the problem has been
defined. OCO is both a hinderance and advantage.
/Leonard
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN