Joined: 21 Nov 2009 Posts: 58 Location: California
You need to state exactly what the problem is. What happens when using a subprogram?
The RETAIN set remains available for the Natural session, across program and subprogram boundaries, until you execute a RELEASE SET statement. You should see no difference whether invoking a program or subprogram.