IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How can I know what tso commands are available?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ali_gezer

Active User


Joined: 06 Apr 2021
Posts: 123
Location: argentina

PostPosted: Wed Sep 15, 2021 5:57 pm
Reply with quote

Hello, how are you?
I see that in my work there are some commands like CBC that when you point to some copyfile it will be opened in another screen.

Is there a way to know what tso commands are available or created?

Thanks in advance.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Sep 15, 2021 6:41 pm
Reply with quote

Quote:
Is there a way to know what tso commands are available or created


the TSO commands descriptions are available in the TSO/E Command Reference manual

www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3sa320975/$file/ikjc500_v2r3.pdf

the information for the commands of add on components will be a available in the relative manuals

for the home developed commands ask your support
Back to top
View user's profile Send private message
Ali_gezer

Active User


Joined: 06 Apr 2021
Posts: 123
Location: argentina

PostPosted: Wed Sep 15, 2021 7:10 pm
Reply with quote

enrico-sorichetti wrote:
Quote:
Is there a way to know what tso commands are available or created


the TSO commands descriptions are available in the TSO/E Command Reference manual

www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R3sa320975/$file/ikjc500_v2r3.pdf

the information for the commands of add on components will be a available in the relative manuals

for the home developed commands ask your support


Thanks for answer.
I need the home developed commands and I see throug your words that the only way is someone of my company giving me this info.
Is there no any command or way to get this home developed commands?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Sep 15, 2021 7:30 pm
Reply with quote

Quote:
Is there no any command or way to get this home developed commands?

no unless your organisation wrote one ..

AGAIN ..
ASK YOUR SUPPORT OR YOUR COLLEAGUES
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Sep 15, 2021 10:15 pm
Reply with quote

It would be good practice to add help text to the SYSHELP DD concatenation. But for local commands, good practice is rarely followed.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Thu Sep 16, 2021 1:09 am
Reply with quote

Pedro is absolutely correct. All too often locally added TSO commands are not documented in SYS1.HELP or any library in the SYSHELP concatenation, or in the command list displayed when you just enter HELP with no operands.

You can usually find IBM's commands just entering HELP with no operands. In the more recent z/OS releases the commands in this list are grouped by their function.

You can get more information about IBM commands by entering

HELP command
Back to top
View user's profile Send private message
Ali_gezer

Active User


Joined: 06 Apr 2021
Posts: 123
Location: argentina

PostPosted: Thu Sep 16, 2021 2:48 am
Reply with quote

steve-myers wrote:
Pedro is absolutely correct. All too often locally added TSO commands are not documented in SYS1.HELP or any library in the SYSHELP concatenation, or in the command list displayed when you just enter HELP with no operands.

You can usually find IBM's commands just entering HELP with no operands. In the more recent z/OS releases the commands in this list are grouped by their function.

You can get more information about IBM commands by entering

HELP command


Thanks, and knowing the name of one created tso command I can find the library where this created command is located?
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Sep 16, 2021 3:33 am
Reply with quote

Quote:
I can find the library where this created command is located?

Try using TSO ISRDDN command, followed by MEMBER mycmd command
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Sep 16, 2021 3:46 am
Reply with quote

Quote:
add help text to the SYSHELP DD concatenation

I was suggesting to look at SYSHELP DD statement for documentation, but if you just want to poke around and see what is in your environment, I suggest TSO ISRDDN and just see what data sets are allocated to you when you log on. You can view the data sets and see the member names.
Back to top
View user's profile Send private message
Ali_gezer

Active User


Joined: 06 Apr 2021
Posts: 123
Location: argentina

PostPosted: Thu Sep 16, 2021 8:51 pm
Reply with quote

Pedro wrote:
Quote:
add help text to the SYSHELP DD concatenation

I was suggesting to look at SYSHELP DD statement for documentation, but if you just want to poke around and see what is in your environment, I suggest TSO ISRDDN and just see what data sets are allocated to you when you log on. You can view the data sets and see the member names.


Thanks, I can see here that pressing the command isrddn I can see lot of libraries. Are you telling me that here in one of this libraries the tso command created here in my company is located?

Thanks again.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Thu Sep 16, 2021 9:35 pm
Reply with quote

The MEMBER command in ISRDDN will not find a member in the link list; it only finds members in the data sets allocated to your TSO session.

CBT tape "file" 1016 has a number of TSO commands; its FINDCMD will find a "command" in the LPA, MLPA, the link list and the libraries in your regular search order as well as SYSPROC and SYSEXEC.
Code:
findcmd asma90                 
 ASMA90 IN LINKLIST ASM.SASMMOD1
 READY                         
findcmd e                       
 E IN LINKLIST SYS1.CMDLIB     
 READY
ASMA90 is not a TSO "command," E is a TSO "command."
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Fri Sep 17, 2021 1:21 am
Reply with quote

Actually the LINKLIST command in ISRDDN will create 2 new pseudo ddnames LINKLIST and LPALIB.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Fri Sep 17, 2021 1:26 am
Reply with quote

though just from the name you cannot tell if a program is a TSO command - and your systems people might not be pleased if you start poking around in the link- and lpalists.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Sep 17, 2021 2:54 am
Reply with quote

Quote:
Are you telling me that here in one of this libraries the tso command created here in my company is located?

Not necessarily. But it is a good place to look.

For example, your site could have panels that explicitly execute something out of a library:
Code:
EXEC 'our.pds(mymembr)'


fyi. It is hard to tell the difference between TSO commands and other programs. You probably cannot tell the difference by looking at a load module.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Fri Sep 17, 2021 5:16 pm
Reply with quote

The TSO commands and Edit Macros written in house would likely be found in the concatenation for SYSPROC or SYSEXEC (while doing TSO ISRDDN).

If it is concatenated to your TSO session, there is no reason you can't 'poke around'. If you have access to execute the command, you should be able to poke. Be sure to choose 'V' option to view. You may be able to update one of those datasets.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1245
Location: Bamberg, Germany

PostPosted: Fri Sep 17, 2021 7:13 pm
Reply with quote

daveporcelan wrote:
If it is concatenated to your TSO session, there is no reason you can't 'poke around'.

If you have too many violations while poking around, your Id might get suspended.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Fri Sep 17, 2021 7:20 pm
Reply with quote

Joerg,

You may be correct about that, however if a dataset is concatenated to your user id by the logon proc, you surely have access to it, thus no violations.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Fri Sep 17, 2021 9:14 pm
Reply with quote

Why hasn't anyone mentioned ISPF option 3.9, every site should nowadays have separated out its SITE (and/or USER) command table(s) from the IBM supplied ones...
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Fri Sep 17, 2021 9:38 pm
Reply with quote

Prino,

From my experience, most in-house Rexx execs are never entered as a 'command' in the command table.

I have found them difficult to work with/share.

Entering TSO myrexx will search the SYSPROC or SYSEXEC concatenation looking for the program. No command table entry necessary.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Console Commands All Other Mainframe Topics 4
No new posts commands missing in JESMSGLG JCL & VSAM 3
No new posts ZOS Console commands through USS REXX? CLIST & REXX 5
No new posts ISPF Panel commands DDLIST /LISTBOX TSO/ISPF 11
No new posts ISPF Edit Macro with profile commands... TSO/ISPF 14
Search our Forums:

Back to Top