TSO/E custom command: see the definition?

TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...
RalphEagle
Posts: 24
Joined: Mon Apr 23, 2018 2:51 pm
Skillset: Cobol, CICS, DB2
Referer: regular google searches

TSO/E custom command: see the definition?

Postby RalphEagle » Wed Jul 21, 2021 5:42 pm


User avatar
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?

Postby sergeyken » Wed Jul 21, 2021 6:48 pm

Javas and Pythons come and go, but JCL and SORT stay forever.

RalphEagle
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?

Postby RalphEagle » Wed Jul 21, 2021 7:05 pm

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?

User avatar
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?

Postby sergeyken » Wed Jul 21, 2021 7:43 pm

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.

RalphEagle
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?

Postby RalphEagle » Wed Jul 21, 2021 8:06 pm

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!!

User avatar
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?

Postby Pedro » Sun Jul 25, 2021 8:56 pm

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.
Pedro Vera

RalphEagle
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?

Postby RalphEagle » Fri Jul 30, 2021 12:55 pm

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!!

User avatar
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?

Postby sergeyken » Fri Jul 30, 2021 8:19 pm

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… :o
Javas and Pythons come and go, but JCL and SORT stay forever.

User avatar
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?

Postby Pedro » Sat Jul 31, 2021 6:44 am

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