Say, there are 3 programs. RPG 1, RPG2 & RPG 3. I have OVRDBF and OPNQRY which selects only active customer records.
I want RPG 1 to use the OPNQRYF output data.
I want RPG 2 to use the complete data
I want RPG 3 to use the OPNQRYF output data again.
This is how it was answered:
RPG1 and RPG 3 can use share (*yes) and RPG 2 can use share(*no).
Can anyone please tell me if this is correct?