|
<< But, In another pgm where the called CL finishes very quickly I inserted a DLYJOB(5) after the SNDF #Screen2 But to no effect. If I change the SNDF to SNDRCVF it seems to work ok >> >Check the Defer Write (DFRWRT) option on the CRTDSPF command. I believe the >default is *YES which means any screen writes are buffered and not actually >written to the display until a read request is issued for the display. *NO >for this option means any screen writes will be issued immediately to the >display and the program regains control after the write I/O has finished. >-Pete DFRWRT affects the entire file(all formats) in a lot of cases it is better to use FRCDTA at the format level in DDS. This does the same as DFRWRT but only for the particular format it(FRCDTA) is used on. John Carr +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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 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.