Is there a way in an rpg program to open a file using a character field for the filename?
for example: if my file name is TESTFILE I can use the line: (in rpg free)
but is there a way to have character field in place of the filename:
D filename S 10
filename = 'TESTFILE';