I have a class in ILE RPG. My current task is to create a logical file(or an SQL index) sorted by a specific field(SNAME). The file provided is a *file.pf-dta and it has a member inside of which holds data. How would I go across creating a logical file and keying it by SNAME? This is the only file provided.
Software/Hardware used: I am using RDi (Rational Developer for I) to do this task.