That will work, at least in MVS. I'm not sure about CMS or z/VSE.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Steve Smith <[email protected]>
Sent: Wednesday, May 8, 2024 7:14 PM
To: [email protected]
Subject: Re: Does the GET macro indicate EOF?

You can set up an EODAD routine that clears R1, and BR 14.  You can then
just check for R1 being 0 after the GET.

I think that will work; I only use GL for QSAM.

sas

Reply via email to