View previous topic :: View next topic |
Author |
Message |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Thu Sep 29, 2011 3:30 am Post subject: ISRSPECH panel |
|
|
Does anyone know of a way of "expanding" the command allowed via a PF key.
My problem is the following. I can run the ALTLIB command via option 6 from our main ISPF menu, but as soon as I run the SPLIT command and open a new window, I need to run the ALTLIB command there as well (which is a bit of a hassle). In reality, the ALTLIB library I'm pointing at is only used when editing, so I would like to be able to use a PF key in edit to do the actual ALTLIB command.
What I mean by this is illustrated in the following screen capture. (Actually, could someone tell me how to attach a PNG file since I'm not sure how to do it - I'll "write" the image here instead. Note that there are only TWO trailing blanks)
Quote: | Altlib act appl(exec) da(private.code) |
In reality, the F23 command doesn't work since I need to be able to prefix it with TSO, but ther's no room for that.
Is there any way of getting round this ? |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Sep 29, 2011 7:10 am Post subject: |
|
|
well you could write a rexx script (called myaltcmd) which would do the altlib
and then all you would need in you PF key command would be TSO myaltcmd _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Thu Sep 29, 2011 8:20 am Post subject: |
|
|
Thanks Dick - that would be one way of solving it.
But out of interest, is there NO way of "expanding" the input field to take more characters than "fit" (I seem to remember there's some way of entering a command on the ISPF command line and using a continuation character. A + ?????) _________________ Michael |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Sep 29, 2011 2:38 pm Post subject: |
|
|
never bothered to find out since ispf option 6 gave me so much room to type. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 629 Topics: 176 Location: Stockholm, Sweden
|
Posted: Wed Oct 05, 2011 8:49 am Post subject: Thanks Kolusu, but not sure where that idea fits in with the |
|
|
After all, your link refers to the idea of a string in a change command. That doesn't seem to be relevant here, or am I missing something ? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Oct 05, 2011 10:30 am Post subject: |
|
|
misi01,
well I was pointing to the use of asterix (*) as backward reference to the previous command as your earlier post mentions about continuation of a long command.
Kolusu |
|
Back to top |
|
 |
|
|