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

How to increase the length of Command line in ispf editor


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Dec 02, 2008 6:58 pm
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: 792
Location: Chennai, India

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

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

Global Moderator


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

PostPosted: Tue Dec 02, 2008 10:24 pm
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

Global Moderator


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

PostPosted: Tue Dec 02, 2008 10:34 pm
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: 2358
Location: Israel

PostPosted: Wed Dec 03, 2008 11:48 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top