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

A way to see a particular file fast while seing a job.


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: Tue May 18, 2021 11:43 pm
Reply with quote

Hello friends.

I know that pressing in the line command of ispf BR and posing the cursor at the particular file, you can have a quick screen with BROWSE.
There is a way to do this with view or edit, to go directly to another screen with the particular file?

Thanks.
Greetings.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Wed May 19, 2021 2:36 am
Reply with quote

BR must be a local command, it is not part of ISPF. So you need to contact your local sysprog and ask if there might be something similar for edit and view. Have you tried ED and VI ?
Back to top
View user's profile Send private message
Ali_gezer

Active User


Joined: 06 Apr 2021
Posts: 123
Location: argentina

PostPosted: Wed May 19, 2021 3:02 am
Reply with quote

Willy Jensen wrote:
BR must be a local command, it is not part of ISPF. So you need to contact your local sysprog and ask if there might be something similar for edit and view. Have you tried ED and VI ?


Thanks for replying me.
Yes, I tried with ed and vi and nothing worked. So I see that this is a program, Is a rexx ?

Thanks.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Wed May 19, 2021 3:08 am
Reply with quote

BR must be an ISPF command table entry executing a program or a script, and you can't determine the program/script name nor language from the command name. Though it will probably be a CLIST or a REXX,
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Wed May 19, 2021 3:12 am
Reply with quote

You could try placing the cursor on a datasetname (in z/OS they are called datasets, not files) and enter TSO BR on the command line.
Back to top
View user's profile Send private message
Ali_gezer

Active User


Joined: 06 Apr 2021
Posts: 123
Location: argentina

PostPosted: Wed May 19, 2021 4:44 am
Reply with quote

Willy Jensen wrote:
You could try placing the cursor on a datasetname (in z/OS they are called datasets, not files) and enter TSO BR on the command line.


I entered TSO edit and it let me create some dataset.
Is there a way to see the tso command list? I mean, commands like this, like tso edit, or tso br created by rexx or clist?
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2019
Location: USA

PostPosted: Wed May 19, 2021 5:35 am
Reply with quote

Ali_gezer wrote:
Willy Jensen wrote:
You could try placing the cursor on a datasetname (in z/OS they are called datasets, not files) and enter TSO BR on the command line.


I entered TSO edit and it let me create some dataset.
Is there a way to see the tso command list? I mean, commands like this, like tso edit, or tso br created by rexx or clist?

TSO is logically equivalent to the PC DOS.
ISPF is equivalent to Windows.

Can you edit a text file in PC DOS?
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Wed May 19, 2021 5:47 am
Reply with quote

re: "Is there a way to see the tso command list?"

TSO commands can be load modules or CLIST or REXX. And they are intermixed with any other load modules, CLISTs, or REXX that are not intended to be used as TSO commands.

To see everything, you can browse the data sets in your SYSPROC and SYSEXEC concatenations. Also, you can browse SYS1.LINKLIB and SYS1.LPALIB (and their concatenations). That is, it is not simple to find which are TSO commands.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Wed May 19, 2021 5:55 am
Reply with quote

re: "TSO is logically equivalent to the PC DOS." ​
and "I entered TSO edit "

I think you have to consider context. The poster was in ISPF and entered, into the "Command ==>" field, the command that tells ISPF that it is not processed by ISPF but rather by TSO.

Yes, TSO does have an EDIT command. It is archaic and I do not recommend using it.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


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

PostPosted: Wed May 19, 2021 10:07 am
Reply with quote

Willy Jensen wrote:
BR must be a local command, it is not part of ISPF.

It is part of the CBTTAPE.org collection.

Code:
//*  BR        TSO command - Browse most data sets under            *   FILE 183
//*            ISPF/PDF, using BRIF.  Supports VSAM, BDAM,          *   FILE 183
//*            multi-volume, RECFM=VBS, BLKSIZE=0, etc.             *   FILE 183
//*                                                                 *   FILE 183
//*            To use it, just enter BR instead of B on the         *   FILE 183
//*            Data Set List utility screen.  BR has its own        *   FILE 183
//*            point-and-shoot capability and can grab a dsname     *   FILE 183
//*            on the screen, wherever the cursor is located.       *   FILE 183
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Wed May 19, 2021 5:00 pm
Reply with quote

Probably not the answer you were hoping for...
TSO built-in commands are documented in z/OS TSO/E Command Reference.
ISPF is documented in z/OS ISPF User's Guide Vol I and z/OS ISPF User's Guide Vol II.
Those manuals are found at z/OS Internet Library here
And on top of that each installation has a ton of locally written or downloaded or purchased programs, written in a number of different languages.

@Jorg, the BR command from CBT file 183 is a different beast from most implementations of point-and-shoot browse/edit that I have seen. Most of these, my own included, are REXX just using ISPF screen variables to pull the datasetname.
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 FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top