Hello and welcome to the forum,
as am new to rexx
Unfortunately, we cannot provide training. . . It is simply too big a task.
Suggest you talk with your storage management people and see if they already have something similar to what you want that could be "cloned" for your requirement.
The problem is the file is neither a ps nor a vsam file.
Then what is
You might also look into using ISMF.