By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
CRTDSPF FILE(MYLIB/SECONDDSPF) SRCFILE(MYSRCLIB/QDDSSRC) WAITRCD(15)
This will cause your program to wait for 15 seconds before returning. When the file returns, check to see if the user hit F3 or F12. If they did, drop back to the original routine. If not, reload the subfile and write/read again.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your programming questions--or help out your peers by answering them--in our live discussion forums.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Dig Deeper on iSeries CL programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.