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

DTL - how to define key with stacked command


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Lynne

New User


Joined: 15 Jan 2015
Posts: 93
Location: USA

PostPosted: Tue Dec 12, 2023 2:32 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Dec 12, 2023 8:14 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Dec 12, 2023 11:38 am
Reply with quote

If the DTL compiler does not like the semicolon, try replacing with &semi;
Back to top
View user's profile Send private message
Lynne

New User


Joined: 15 Jan 2015
Posts: 93
Location: USA

PostPosted: Fri Dec 15, 2023 8:18 pm
Reply with quote

Thank you very much, Pedro. that is a big help.
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
Search our Forums:

Back to Top