View previous topic :: View next topic
|
Author |
Message |
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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 |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
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 |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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 |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
Actually the LINKLIST command in ISRDDN will create 2 new pseudo ddnames LINKLIST and LPALIB. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
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 |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1245 Location: Bamberg, Germany
|
|
|
|
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 |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
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 |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
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 |
|
|
|