Sounds like on System A you are using a CL program to initiate the pass
through and that on return you are attempting to vary off the
line/controller.

If the connection is local (over the LAN) why bother to vary off.

If the connection is remote (dial up) then after the last pass through
session ends, the line will automatically vary off after a short time (~
1 minutes). That is how it works on our customer dial up connections
anyway. As long as there are active sessions across the line (pass
through, SNADS etc) the line stays active. When there are no sessions,
the line drops after a minute or so.


-----Original Message-----
From: cobol400-l-bounces@xxxxxxxxxxxx
[mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of
geir.kildal@xxxxxxxx
Sent: March 11, 2004 4:20
To: COBOL Programming on the iSeries/AS400
Subject: Re: R: [COBOL400-L] Automatic answering of messages to QSYSOPR?


Finucci.

The problem is, the message is not sendt to my CL-pgm, but directly to
to 
QSYSOPR? I have tried to monitor CPA2610 in the CL.


Mvh.

Geir 

 




"Finucci Domenico" <Domenico.Finucci@xxxxxxxxxxxx>
Sent by: cobol400-l-bounces@xxxxxxxxxxxx
11.03.2004 10:07
Please respond to COBOL Programming on the iSeries/AS400

 
        To:     "COBOL Programming on the iSeries/AS400"
<cobol400-l@xxxxxxxxxxxx>
        cc: 
        Fax to: 
        Subject:        R: [COBOL400-L] Automatic answering of messages
to QSYSOPR?


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

I prefere #1.
Sincerely

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?


Hi.

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
sessions/users.

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.



Mvh.

Geir


_______________________________________________
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.


_______________________________________________
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.


_______________________________________________
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 ...

Replies:

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.