× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Automating SNDNETF and RCVNETF
  • From: Rob Berendt <rob@xxxxxxxxx>
  • Date: Mon, 3 Apr 2000 14:50:46 -0500

We evaluated doing a monitoring for the message queue, but threw 
that out for the following:
             CLRLIB     LIB(EDIWORK)                                   
             CRTSAVF    FILE(EDIWORK/EDISAVF)                          
             RCVNETF    FROMFILE(EDISAVF) TOFILE(EDIWORK/*FROMFILE)    
             MONMSG     MSGID(CPF8060) EXEC(GOTO CMDLBL(WAIT)) /* We + 
                          haven't received anything yet.  Just wait. */
             GOTO       CMDLBL(RECEIVED)                               
 WAIT:       RTVDTAARA  DTAARA(WAITLEN) RTNVAR(&WAITLEN) /* How long + 
                          should we wait? */                           
             IF         COND(&WAITLEN = 0) THEN(DLYJOB DLY(900)) /* +  
                          If no wait time is stored then wait 15 +     
                          minutes. */                                  
             ELSE       CMD(DLYJOB DLY(&WAITLEN)) /* Wait for +        
                          specified length of time */                  
             RTVJOBA    DATE(&JOBDATE)                                 
             RTVSYSVAL  SYSVAL(QDATE) RTNVAR(&SYSTEMDATE)              
 /* To keep job logs, etc at a minimum we will restart this job at    */
 /* the break of day.                                                 */
              IF         COND(&JOBDATE ¬= &SYSTEMDATE) THEN(DO)         
              SBMJOB     JOBD(*LIBL/CNT300C) PRTDEV(*JOBD) +            
                           OUTQ(*JOBD) USER(*JOBD) RQSDTA(*JOBD) +      
                           INLLIBL(*JOBD)                               
              GOTO       CMDLBL(EXIT)                                   
              ENDDO                                                     
                                                                        
              GOTO       CMDLBL(MAINLOOP)                               
                                                                        
 RECEIVED:                                                              
                                                                        
              RSTOBJ     ...






george.lemen@weyerhaeuser.com on 04/03/2000 01:09:04 PM
Please respond to MIDRANGE-L@midrange.com@Internet
To:     MIDRANGE-L@midrange.com@Internet
cc:      
Fax to: 
Subject:        Re: Automating SNDNETF and RCVNETF

Eurrat --
 I really have never attempted to automate RCVNETF. I suspect it would
involve using an API to get a list of the items waiting for a particular
user ID then picking them off one at a time. This is because it is possible
to have multiple files waiting for a user profile.
 To directly answer your question, to automatically pick up the message
indicating the arrival of new mail, I suspect you would need to use RCVMSG
on whatever message queue the notification of a new file arriving comes to.
If this is the profile you sign on with, you might find there are conflicts
between your interactive job and the batch job waiting to automatically
respond to messages arriving on the message queue associated with your user
profile.

 Has anyone out there done this?

**************************** Original message back
*********************************
<snip> 
If not and I need to use RCVNETF, how did I monitor the message queue for a
profile of XFER id.  Will I need a never end program or can't I use some
auto-answer or trigger to kick off the CLP needed to do the RCVNETF and
RSTLIB?

Eurrat
**************************
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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