zedsmsg for the short message ( will be displayed in the upper right corner of the screen )
zedlmsg for the long message ( which will be displayed according to the ISPF settings hitting the PF1 after the short message has been displayed)
and invoke the ISPF function SETMSG MSG(ISRZ001)
and if things have been setup properly hitting again PF1 will show the relative HELP panel
Thanks Enrico, But I can not use this functionality as my panel contain some other data as well and it should display this message at the bottom and receive user's response.
based on user's responce I have to do further processing.
e.g: DO YOU WANT TO CONTINUE (Y/N): __
I had used above approach earlier but i know that iam missing something here but do not recollect it.
Can anyone help in this approach or suggest alternate method by which I can display a conditional message and receive user's response.
Pedro is right. When using a compiler language, you have to use VPUT/VGET services to interact with ISPF panels. ISPF is able to access and manipulate the variables used by the REXX interpreter and by the CLIST command processor. So only for these languages you might avoid the use of VPUT/VGET services.