For z/OS, IBM seems to have at least some of what you need in the TSO/E 
Programing Guide, KC reference here:

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ikjb600/part2.htm

HTH

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Farley, Peter x23353
Sent: Tuesday, October 15, 2019 1:38 PM
To: [email protected]
Subject: Re: Seeking doc on TSOENTER and TSOLEAVE macros

SC28-1136-3_TSO_Extensions_Guide_to_Writing_a_Terminal_Monitor_Program_or_a_Command_Processor_Jan86.pdf

Found on bitsavers here:

http://www.bitsavers.org/pdf/ibm/370/TSO_Extensions/

HTH

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Farley, Peter x23353
Sent: Tuesday, October 15, 2019 1:20 PM
To: [email protected]
Subject: Re: Seeking doc on TSOENTER and TSOLEAVE macros

You probably need to refer to the (very) old TSO doc that covered how to write 
a TMP, probably no longer available from IBM but may be on bitsavers.  That old 
TMP doc may give you insight on how to use the enter/leave macros successfully.

For doc on the macros, I can only suggest "Use the source, Luke!".  That may be 
the only documentation there is.  I haven't looked at file 119 myself, so I 
don't actually know what is in there.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Lionel B Dyck
Sent: Tuesday, October 15, 2019 1:06 PM
To: [email protected]
Subject: Re: Seeking doc on TSOENTER and TSOLEAVE macros

That is one file but none of the files I've checked have any doc on all the 
keywords or how to use them.

I'm looking at learning to write a tso command processor and thus was looking 
at the cbt tape for examples. Where possible, I would like to use macros to 
simplify both the coding and later maintenance of the code.

Thanks

Lionel B. Dyck <sdg><
Website: http://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Farley, Peter x23353
Sent: Tuesday, October 15, 2019 11:59 AM
To: [email protected]
Subject: Re: Seeking doc on TSOENTER and TSOLEAVE macros

From CBT001 index, it looks to me like TSOENTER/TSOLEAVE should be located 
somewhere in CBT file 119.

BROWSE    TSOUSER.CBT001.UPD                       Li   CHARS 'TSOENTER' found 
 Command ===>                                                  Scroll ===> CSR  
//*           INUSE       INNER MACRO FOR                           *   FILE 119
//*                       TSOENTER/TSOLEAVE/SETREG/EOJ              *   FILE 119
//*           LUSE        INNER MACRO FOR                           *   FILE 119
//*                       TSOENTER/TSOLEAVE/SETREG/EOJ              *   FILE 119
//*           LDROP       INNER MACRO FOR                           *   FILE 119
//*                       TSOENTER/TSOLEAVE/SETREG/EOJ              *   FILE 119
//*           CSPL        INNER MACRO FOR TSOENTER/TSOLEAVE         *   FILE 119
//*           IOPL        INNER MACRO FOR TSOENTER/TSOLEAVE         *   FILE 119
//*           CPPL        INNER MACRO FOR TSOENTER/TSOLEAVE         *   FILE 119
//*           TSOENTER    MACRO TO SET UP COMMAND PROCESSOR         *   FILE 119
//*                       ENVIRONMENT                               *   FILE 119
//*           TSOLEAVE    MACRO TO RETURN TO TMP (USED              *   FILE 119
//*                       W/TSOENTER)                               *   FILE 119
//*           SETREG      ENTRY SETUP MACRO  - NON/TSO              *   FILE 119
//*                       ENVIRONMENT                               *   FILE 119
//*           EOJ         EXIT  RETURN MACRO - NON/TSO              *   FILE 119
//*                       ENVIRONMENT                               *   FILE 119
//*           XABSM       BRANCH AND SET MODE MACRO FOR             *   FILE 119
//*                       MVS/XA 31 BIT CODING                      *   FILE 119

Peter

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Lionel B Dyck
Sent: Tuesday, October 15, 2019 12:48 PM
To: [email protected]
Subject: Re: Seeking doc on TSOENTER and TSOLEAVE macros

TSOENTER/TSOLEAVE were found in CBT Files 300, 119, and 136.  Perhaps others 
but I haven't looked further.

Thanks


Lionel B. Dyck <sdg><
Website: http://www.lbdsoftware.com

"Worry more about your character than your reputation.  Character is what you 
are, reputation merely what others think you are." - John Wooden

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Tuesday, October 15, 2019 11:44 AM
To: [email protected]
Subject: Re: Seeking doc on TSOENTER and TSOLEAVE macros

On Tue, 15 Oct 2019 11:17:56 -0500, Tom Marchant wrote:

>On Tue, 15 Oct 2019 10:31:12 -0500, Lionel B Dyck wrote:
>
>>I found these macros used in several TSO commands on the CBTTape but 
>>there is no documentation on them that I can find.  Can anyone point 
>>me to any doc?
>
>I don't find them in any IBM macro library, nor do find a MAC of either 
>name in our z/OS system. What CBT tape file(s) did you find them in?
> 
Do those commands assemble successfully?  Who are the author(s)?

-- 

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


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

Reply via email to