TSO/E custom command: see the definition?
-
- Posts: 24
- Joined: Mon Apr 23, 2018 2:51 pm
- Skillset: Cobol, CICS, DB2
- Referer: regular google searches
- sergeyken
- Posts: 458
- Joined: Wed Jul 24, 2019 10:12 pm
- Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
- Referer: Internet search
Re: TSO/E custom command: see the definition?
Javas and Pythons come and go, but JCL and SORT stay forever.
-
- Posts: 24
- Joined: Mon Apr 23, 2018 2:51 pm
- Skillset: Cobol, CICS, DB2
- Referer: regular google searches
Re: TSO/E custom command: see the definition?
Knowing where TSO commands are located is what I implied with 'How can I see' part of the question. So there is no convention about this, only way to go is ask where they are located because this is dependent on the company environment?
- sergeyken
- Posts: 458
- Joined: Wed Jul 24, 2019 10:12 pm
- Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
- Referer: Internet search
Re: TSO/E custom command: see the definition?
RalphEagle wrote:Knowing where TSO commands are located is what I implied with 'How can I see' part of the question. So there is no convention about this, only way to go is ask where they are located because this is dependent on the company environment?
These are all the basics…
First of all you need to confirm with your Helpdesk or administration that this SAU002 is really a specific home-made command for your company. (It can be also created differently: a compiled load module, a script in CLIST/REXX, etc.).
Depending on those facts, the “command” itself may be stored in various locations - from SYS1.LINKLIB to any other library, either system-wide one defined in your local LINKLIST, or in one of local libraries defined in specific JCL/procedures as //JOBLIB, //STEPLIB (for load modules), or in //SYSEXEC, //SYSPROC (for CLIST/REXX scripts).
Those theoretical advices can be continued endlessly (when starting from zero level knowledge). You need yourself:
1) inquire at your company about the origins of this “command”
2) inquire what is the type of this “command” - module? script? something else?
3) get confirmed that you have no rights to touch this “command” in any manner
Javas and Pythons come and go, but JCL and SORT stay forever.
-
- Posts: 24
- Joined: Mon Apr 23, 2018 2:51 pm
- Skillset: Cobol, CICS, DB2
- Referer: regular google searches
Re: TSO/E custom command: see the definition?
I asked the system admins who told me this a Rexx procedure stored in a specific library. I could go and have a look; thank you!!
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: TSO/E custom command: see the definition?
The poster did not provide the complete JCL. In the simplest case, the rexx program will be in either the concatenation for the SYSEXEC DD or in the SYSPROC DD.
Also, the concatenations in JCL frequently match those used in TSO. Learn to use the TSO ISRDDN command with it's MEMBER subcommand. It will show you where the member is.
Also, the concatenations in JCL frequently match those used in TSO. Learn to use the TSO ISRDDN command with it's MEMBER subcommand. It will show you where the member is.
Pedro Vera
-
- Posts: 24
- Joined: Mon Apr 23, 2018 2:51 pm
- Skillset: Cobol, CICS, DB2
- Referer: regular google searches
Re: TSO/E custom command: see the definition?
Yes the library was in fact in an include member containing a lot of DD, one of those being that library.
I tried the TSO ISRDDN command with the MEMBER subcommand and could find the member in the library mentioned by the admin. That was an option I was actually looking for; thank you!!
I tried the TSO ISRDDN command with the MEMBER subcommand and could find the member in the library mentioned by the admin. That was an option I was actually looking for; thank you!!
- sergeyken
- Posts: 458
- Joined: Wed Jul 24, 2019 10:12 pm
- Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
- Referer: Internet search
Re: TSO/E custom command: see the definition?
RalphEagle wrote:Yes the library was in fact in an include member containing a lot of DD, one of those being that library.
I tried the TSO ISRDDN command with the MEMBER subcommand and could find the member in the library mentioned by the admin. That was an option I was actually looking for; thank you!!
Your original question
How can I see and possibly change its definition?
has nothing to do with what you really needed…

Javas and Pythons come and go, but JCL and SORT stay forever.
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: TSO/E custom command: see the definition?
has nothing to do with what you really needed
I disagree. With ISRDDN and MEMBER command, you are shown the concatenation (see/find it) and I think you can issue B or E line commands to browse or edit (to possibly change it).
Pedro Vera
-
- Similar Topics
- Replies
- Views
- Last post
-
-
ISPF Custom Line Edit macros do not work anymore
by harisukumaran » Thu Jun 27, 2024 4:42 am » in TSO & ISPF - 0
- 1247
-
by harisukumaran
View the latest post
Thu Jun 27, 2024 4:42 am
-
-
- 2
- 2132
-
by steve-myers
View the latest post
Tue Aug 24, 2021 10:21 pm
-
- 4
- 1407
-
by futohomok
View the latest post
Mon Oct 16, 2023 9:01 pm
-
- 2
- 2383
-
by Murali_721
View the latest post
Thu Nov 19, 2020 4:24 pm
-
- 4
- 6173
-
by steve-myers
View the latest post
Sat May 15, 2021 1:58 am