I have installed IBM Python Open Enterprise Python for z/OS along with ZOAU 1.2.1. I want to read an MVS data line by line, basically use readlines() method on the MVS dataset. But the only method I find available in ZOAU with MVS datasets is read, which reads the entire file in one go as a byte stream. I want to iterate over the individual records in the MVS dataset rather than reading the whole dataset.
I know the work around is to copy the MVS dataset to a zFS file, which then will let me use the readlines() method on the file. But can I do it without copying the MVS dataset to a zFS file?
Thank you
Nagaraj
------------------------------
NAGARAJ SESHAGIRI PUDUKOTAI
------------------------------