Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6968
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: 10327
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: 10327
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us