Page 2 of 2

Re: ISPMLIB errors

PostPosted: Tue May 22, 2012 9:26 pm
by Pedro
My guess is that your first attempt had a syntax error. After that, even though you fixed it, ISPF continued to use the cached version. Fail.

Re: ISPMLIB errors

PostPosted: Tue May 22, 2012 11:43 pm
by Viswanathchandru
Dear all,

First of all i would like to know whether the way i work with this ISPMLIB is correct or not. Because at one time i'm getting some errors and on other time i dont get any errors. Please point me any documents or links that could help me.

Pedro, Thanks for addressing the post. And i'm really sorry i'm not aware of ISPF TEST commands. Could you please direct me some links/ manuals that could help me.

Regards,
VIswa

Re: ISPMLIB errors

PostPosted: Tue May 22, 2012 11:49 pm
by Viswanathchandru
Dear Pedro,

Pedro said:
My guess is that your first attempt had a syntax error. After that, even though you fixed it, ISPF continued to use the cached version. Fail.
Agreed! but, if this is the case, If the data is there in the cache, I should atleast be getting the syntax errors. But i dont get any errors and the script that calls this messages runs with RC 0 when executed. And the trace doesn't give any fruitful response. Please advice.


Regards,
Viswa

Re: ISPMLIB errors

PostPosted: Wed May 23, 2012 2:08 am
by Pedro
You should read the ISPF Dialog Developer's Guide and Reference, as well as the ISPF Services Guide.

I am not sure what you are trying to accomplish here:
 "ISPEXEC ADDPOP"                 
 "ISPEXEC SETMSG MSG(MSG001A)"   
 "ISPEXEC REMPOP"


The SETMSG is only setup for the next display. So you need a DISPLAY or TBDISPL service call to actually display the message. And if there are multiple messages issued, only the last one is shown.