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: 183
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: 6966
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: 183
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: 10210
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: 183
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: 10210
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


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