I want to read a subfile in a module(B) that I created in another module(A). The display file is shared. Module B reads the subfile, but the values in the subfile fields are not coming in. The condition in which module B is called is on pressing the enter key.


The "Share" may need to be an override at the *JOB level, unless the file is already set to SHARE(*YES). Since I'm a KISS man, I don't use multiple modules to share display files. You might consider posting in the forums.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.


This was first published in September 2001