The idea for this post came from a question I was asked. I was asked to clarify an answer to a question someone was asked during a job interview. They had been asked was it possible to read a subfile without using the READC, read changed records, operation code? The interviewee answered that it could probably be read using a CHAIN operation. The interviewer told them they were wrong as it was not possible to use a CHAIN with a subfile.
The interviewee is correct. You can "read" a subfile using a CHAIN operation. This post demonstrates that is possible.
Before I start showing source code for a display file or RPG program, I am going to start with a DDS file I created:



