Hi,
I am facing an error which says -
|
Trying to read or write outside the allocated space. |
I am trying to read a PDSE, whose DCBE contains blocktokensize=large. The pdse directory read works fine and is able to read the number of members present. However fails with above error when it goes to read the members. The logic works fine when blocktokensize=large is removed.
Have two DCBs and DCBEs defined for PDSE, 1 for dataset and 1 for the directory. only the DCBE for dataset has blocktokensize=large parameter coded.
However same DCB and DCBE definitions (with blockxtokensize large) is working for reading a PS file.
READ DECB,SF,,(0),'S',MF=E
a) Could there be an issue with how I allocated the PDSE at the first place.
b) Do we need any changes to how Read is coded, above is what I have currently.
Any help is appreciated. Thanks #IBMZOS #assembly #filesystem