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

retrieve line commands from the data set list


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

Global Moderator


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

PostPosted: Sat Oct 17, 2015 5:41 am
Reply with quote

I got tired of typing my line commands repeatedly. So I submitted a request for enhancement to IBM. Please vote for this RFE. The more people that vote for it, the more likely that IBM will implement this.

Sometimes I issue a long TSO command as a line command on ISPF DSLIST. And then I would like to issue a variation of the command. I would like to issue a line command to retrieve, but not execute the previous line command. As a retrieve line command character, I propose that a question mark ('?') be used.

When I am using the ISPF data set list, I can issue a line command, such as:
Code:
XMIT MVS8.BILL DSN(/)  MEMBER(ABC, EFG)


And after it is complete, I would like to issue a '?' line command which would retrieve the XMIT command and then allow me to type over part of it and issue it again.

If the ? line command is issued on multiple lines, they would all retrieve the same previous line command and allow me to modify each line to issue a new command.

Please vote for this RFE here:
www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=78492
Sorry, but a userid is required to vote.
Back to top
View user's profile Send private message
prino

Senior Member


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

PostPosted: Sat Oct 17, 2015 2:22 pm
Reply with quote

It's already there, you can type '=' and follow that by page up or page down...
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Sun Oct 18, 2015 12:28 am
Reply with quote

If you put an ampersand in front of a command on the command line it holds it there after you've entered it so you can overtype the parts you want.

&XMIT MVS8.BILL DSN(/) MEMBER(ABC, EFG)
Back to top
View user's profile Send private message
prino

Senior Member


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

PostPosted: Sun Oct 18, 2015 12:52 am
Reply with quote

Pete Wilson wrote:
If you put an ampersand in front of a command on the command line it holds it there after you've entered it so you can overtype the parts you want.

&XMIT MVS8.BILL DSN(/) MEMBER(ABC, EFG)

Pedro is talking about line commands on the ISPF 3.4 panel, however, for consistency with the normal command-line, this would be a nice idea!
Back to top
View user's profile Send private message
prino

Senior Member


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

PostPosted: Sun Oct 18, 2015 1:02 am
Reply with quote

I voted for it, but added a comment that may make implementation less likely...
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Mon Oct 19, 2015 9:04 pm
Reply with quote

Quote:
you can type '=' and follow that by page up or page down...


Thanks Robert, I did not know you could do that.
Back to top
View user's profile Send private message
prino

Senior Member


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

PostPosted: Mon Oct 19, 2015 9:22 pm
Reply with quote

Pedro wrote:
Quote:
you can type '=' and follow that by page up or page down...


Thanks Robert, I did not know you could do that.

It's not documented. You can enter "=" to repeat a line command, but very few people seem to know that the repetition also works after all line-commands have been processed. The PgUp/PgDn just redisplays the command, if you were to enter '=' followed by "enter" the command would be directly executed.
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top