|
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 mailing list archive is Copyright 1997-2025 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.