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: 10232
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: 2033
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: 2033
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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm


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