Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to increase the length of Command line in ispf editor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
ESSPRABHU

New User


Joined: 11 Oct 2005
Posts: 22

PostPosted: Tue Dec 02, 2008 6:53 pm    Post subject: How to increase the length of Command line in ispf editor
Reply with quote

Hi,

Is there any way to increase the length of command line
i.e command needs to be extended to two lines to fit any lenthy text)

Thanks,
Prabhu.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Dec 02, 2008 6:58 pm    Post subject: Reply to: How to increase the length of Command line in ispf
Reply with quote

NO,
there is a workaround for the change command...
instead of
Code:
C a_loooooooooooooooooooooooooooong_string_to_be_changed changed_very_looooooooooooooooooooooooooooooooong_string


that obviously does not fit the command line
You can issue a find command
Code:
F a_loooooooooooooooooooooooooooong_string_to_be_changed

and then
Code:
C * changed_very_looooooooooooooooooooooooooooooooong_string
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Tue Dec 02, 2008 7:12 pm    Post subject:
Reply with quote

This link is useful here,
http://ibmmainframes.com/viewtopic.php?t=26003
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Tue Dec 02, 2008 10:24 pm    Post subject: Reply to: How to increase the length of Command line in ispf
Reply with quote

The "ISPF Planning and Customizing" manual describes how to change the ISPF editor panel. Search for 'ISREFR02'.

Then you would use your panel with a rexx program like this:
Code:
/* REXX */                                                   
parse arg dsname 
Address ISPEXEC "EDIT DATASET("dsname") PANEL(mypanel)"     


Please try making a two-line command field and let us know if it works.
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Tue Dec 02, 2008 10:34 pm    Post subject: Reply to: How to increase the length of Command line in ispf
Reply with quote

Quote:
a_loooooooooooooooooooooooooooong_string_to_be_changed

I hope Gooogle does not sue you!
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Dec 03, 2008 11:48 am    Post subject:
Reply with quote

You can also write a tiny ISPF Edit Macro for repeated/long commands.
Example:
Code:

/* REXX */

ADDRESS ISREDIT "MACRO PROCESS"
 
VAR1 = 'a_loooooooooooooooooooooooooooong_string_to_be_changed '
VAR2 = 'changed_very_looooooooooooooooooooooooooooooooong_string'

ADDRESS ISREDIT "C" VAR1 VAR2

EXIT


O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
No new posts Joinkeys operation when key1 and key2... Susanta DFSORT/ICETOOL 5 Wed Nov 02, 2016 5:35 pm
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us