Hello. Different ways:
*1* write you own ENDPASTHR, monitoring such a CPA
*2* set an autoreply to CPA2610

I prefere #1.

Domenico Finucci
> Fiditalia S.p.A. via G. Silva, 34 - 20149 Milano
> Sistemi informativi, Tel. + 39 02 4301 2494
> E-mail: domenico.finucci@xxxxxxxxxxxx 
> Sito internet: www.fiditalia.it

-----Messaggio originale-----
Da: geir.kildal@xxxxxxxx [mailto:geir.kildal@xxxxxxxx]
Inviato: giovedì 11 marzo 2004 09.50
A: COBOL Programming on the iSeries/AS400
Oggetto: [COBOL400-L] Automatic answering of messages to QSYSOPR?


I have the following situation:  From AS/400-A, we run STRPASTHR to 
AS/400-B.  We do this several times, so we have an 'unknown' number of 

When we whish to leave AS/400-B, we use 'ENDPASTHR', but then CPA2610 is 
sendt to QSYSOPR on AS/400-A, unless the session is the last session.  Is 
there a way to 'auto-answer' this message?  Or to avoid it?

I want the last session out from AS/400-B to vary off the line.



This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.