Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10375
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: 788
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: 2088
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: 2088
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
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us