ISPMLIB errors



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Re: ISPMLIB errors

Postby Pedro » Tue May 22, 2012 9:26 pm

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.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Re: ISPMLIB errors

 

Re: ISPMLIB errors

Postby Viswanathchandru » Tue May 22, 2012 11:43 pm

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: ISPMLIB errors

Postby Viswanathchandru » Tue May 22, 2012 11:49 pm

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: ISPMLIB errors

Postby Pedro » Wed May 23, 2012 2:08 am

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.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Previous

Return to TSO & ISPF