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: 10308
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: 2083
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: 2083
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 Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am

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