View previous topic :: View next topic
|
Author |
Message |
Lynne
Active User
Joined: 15 Jan 2015 Posts: 107 Location: USA
|
|
|
|
I am trying to set up a keylist for my application. I created this:
Code: |
<:DOCTYPE DM SYSTEM>
<KEYL
NAME=MYKEY05>
<KEYI KEY=F1 CMD=HELP FKA=YES>HELP
<KEYI KEY=F09 CMD=X ALL;F /STOP ALL;F COND WORD ALL FKA=YES>ISOL
<KEYI KEY=F12 CMD=CANCEL FKA=YES>CANCEL
</KEYL> |
I read about how to use DTL to define one, but from the documentation, it seems you can only assign one word to the command.
from the manual:
Quote: |
As an extension to the Dialog Tag Language, the conversion utility supports special ISPF command
syntax for internal-command-name. In this case, the internal-command-name must have these
characteristics:
• 2-9 single-byte characters in length
• The first character must be a ‘>’, ‘:’, or ‘%’ |
.
so do you have to set up a clist for every stacked command you want to use?
yet, when I edit the SDSF keylist - I just put in the stacked command and it works fine: |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
Try using the PARM operand:
Code: |
<:DOCTYPE DM SYSTEM>
<KEYL
NAME=MYKEY05>
<KEYI KEY=F1 CMD=HELP FKA=YES>HELP
<KEYI KEY=F09 CMD=X FKA=YES PARM=ALL;F /STOP ALL;F COND WORD ALL>ISOL
<KEYI KEY=F12 CMD=CANCEL FKA=YES>CANCEL
</KEYL> |
If that does not work, try enclosing the string within quotes. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
If the DTL compiler does not like the semicolon, try replacing with ; |
|
Back to top |
|
|
Lynne
Active User
Joined: 15 Jan 2015 Posts: 107 Location: USA
|
|
|
|
Thank you very much, Pedro. that is a big help. |
|
Back to top |
|
|
|