On Fri, 2006-01-13 at 21:15 -0600, Jose Adauto Ribeiro wrote:
> I have differents SSOB for the functions.

Disclaimer: I know you're talking about SAPI, and my only experience is
with the external writer interface.

Back about 15 years ago I discovered the hard way that HASPPSO doesn't
want you to reinitialize the SSSO (SSOB sysout extension) between calls.
Turns out that the contents of the SSSO are copied into the PSO, but
only selected fields are copied back at the end of the call -- the SSSO
and PSO are paired and must have the same lifetime.  In other words,
JES2 is expecting you to keep some state in that SSSO.  (I tried to APAR
this, but I got a curt suggestion that I contact my SE if I'm having
problems with my user code.)

You are using a different interface, but your use of multiple SSOBs
reminds me of an unpleasant experience.  This *might* be the source of
problems.

-- 
David Andrews
A. Duda and Sons, Inc.
[EMAIL PROTECTED]

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to