I came into contact with z/OS, VSAM and the likes, but I couldn't see how they did relational queries (joins), all I remember is that every file is row based structured columns that doesn't require parsing (and language integrated in the case of COBOL). What am I missing ?