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

ISPF dialog variable name for Dataset list


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

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Thu Jun 16, 2011 1:10 am
Reply with quote

If I invoke a rexx from the DSLIST (option 3.4) there is a way for the rexx to pass a short string back to ISPF which is then displayed in the Message field. What is the name of the dialog variable for this? I looked in the Dialog manual but could not find it.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jun 16, 2011 1:36 am
Reply with quote

you have to populate zedsmsg and/or zedlmsg
there is a long message and a short message variable.

here is a link to this forum: ibmmainframes.com/post-132153.html

here is a link to the manual: publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.f54em00/titmthe.htm

look for rexx syntax.

ADDRESS ISPEXEC
zedsmsg = 'Invalid Parameter'
zedlmsg = 'Parameter must be 4 digits'
'SETMSG MSG(ISRZ001)'
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Thu Jun 16, 2011 1:42 am
Reply with quote

dbzTHEdinosauer wrote:
you have to populate zedsmsg and/or zedlmsg
there is a long message and a short message variable.


That is for using an ISPF message. What I am looking for is the dialog variable that is used in the DSLIST "Message area".
Code:
   Menu  Options  View  Utilities  Compilers  Help                             
 ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
 DSLIST - Data Sets Matching xxxx.xxxx                            Row 1 of 11
 Command ===>                                                  Scroll ===> CSR 
                                                                               
 Command - Enter "/" to select action                  Message           Volume
 -------------------------------------------------------------------------------
xxxx.xxxxx.yyyy                              this is a message                vol000
 ***************************** End of Data Set list ****************************
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jun 16, 2011 1:50 am
Reply with quote

isn t it enough for ISPF to automatically display the <line command> name and the return code ???

for the member list You can use
Code:
ISPEXEC LMMDISP DATAID(data-id)
        OPTION(PUT)
        MEMBER(member-name)
        [ZLLCMD(lcmd-value)]
        [ZLUDATA(udata-value)]
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Thu Jun 16, 2011 2:18 am
Reply with quote

I did some more searching and found it. It was in the ISPF User's Guide Volume II chapter 5. There is a section where it describes how to use the DSLIST (option 3.4). Buried in there is a short section on executing a clist or rexx and this lists the dialog variables that are available to the exec as well as the 3 variables the exec can pass back. One of them is
Code:
ADDRESS ISPEXEC "VPUT (ZDLMSG) SHARED"
which will put a value into the message field. I wish IBM had made this easier to find.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jun 16, 2011 2:22 am
Reply with quote

nice shot

after You posted I searched for it in my snippet library and it was there
but since I am lazy in documenting things , I had lost trace of it icon_biggrin.gif
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
Search our Forums:

Back to Top