View previous topic :: View next topic
|
Author |
Message |
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
Back to top |
|
|
|