× 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: RCVF WAIT(*NO) -Reply
  • From: Juris Krikis Jr <juris.rfb@xxxxxxxxxxx>
  • Date: Tue, 12 Aug 1997 20:05:53 +0300

David Morris wrote:
> You might want to look at the display file.  Especially the DFRWRT and
> WAITRCD parameters.  In the RPG you would need to handle errors.

I did that. DFRWRT didn't seemed to change anything. When I read the
description of the WAITRCD parameter it really seemed that this is what
I've been looking for... But it still didn't change anything. BTW
here's, ugly as it is, my code:

QRPGLESRC/CLOCK:

HDftName(Clock)                                               
FClockDspf CF   E             WORKSTN                         
 *                                                            
D Laix            S              8S 0 INZ(0)                  
 *                                                            
C                   DoW       *In03 <> *On                    
C                                                             
C                   Eval      Laix = Laix + 1                 
C                   Move(P)   Laix          LaixF             
C                                                             
C                   Exfmt     ClockRec                        
C                   EndDo                                     
 *                                                            
C                   Eval      *InLr = *On                     
C                   Return                                    


QDDSSRC/CLOCKDSPF:

A                                      DSPSIZ(24 80 *DS3)              
A                                      INVITE                          
A                                      CF03(03)                     
A          R CLOCKREC                                               
A            LAIXF          8A  O 11 37                                 

Changing EXFMT to a READ and a WRITE didn't seem to change anything.
I am compiling the CLOCKDSPF with WAITRCD(*IMMED). And I would really
appreciate any suggestions.

                                        Juris.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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