View previous topic :: View next topic
|
Author |
Message |
ESSPRABHU
New User
Joined: 11 Oct 2005 Posts: 22
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
a_loooooooooooooooooooooooooooong_string_to_be_changed |
I hope Gooogle does not sue you! |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
|