Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ISPF dialog variable name for Dataset list

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
jerryte

Active User


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

PostPosted: Thu Jun 16, 2011 1:10 am    Post subject: ISPF dialog variable name for Dataset list
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: 6967
Location: porcelain throne

PostPosted: Thu Jun 16, 2011 1:36 am    Post subject:
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: http://ibmmainframes.com/post-132153.html

here is a link to the manual: http://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: 187
Location: Toronto, ON, Canada

PostPosted: Thu Jun 16, 2011 1:42 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Jun 16, 2011 1:50 am    Post subject: Reply to: ISPF dialog variable name for Dataset list
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: 187
Location: Toronto, ON, Canada

PostPosted: Thu Jun 16, 2011 2:18 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Jun 16, 2011 2:22 am    Post subject: Reply to: ISPF dialog variable name for Dataset list
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us