I'm creating a VSE/Assembler program that will need to read past any /*
statements encountered; because, this program will be reading in REXX
procedure source code--which uses /* to begin comment lines and may start
in column 1.  I have never done anything like this before.

What tips/tricks can any of you offer for purposefully coding an assembler
program to ignore /* and look for /+ as the end-of-data terminator (which
is what the IBM VSE Librarian [LIBR] utility does when CATALOGing a REXX
procedure)?

My research so far...  I would like to handle my own EOF detection, but it
seems the DTFCD macro requires the EOFADDR parameter--though I did code
ERROPT=IGNORE.  I can point EOFADDR into the middle of my read/write code
but I need to know how to test the DTF for EOF--since the error record
appears to only be an address in reg 1 and not written to the IO area.
Have I got that correct?  The manual also states that an error indicator is
available in the CCB for output files--but not for input files.  Thus, I
need to know how to test the DTF for EOF so that I can handle the
associated error.

Sincerely,

Dave Clark
--
int.ext: 91078
direct: (937) 531-6378
home: (937) 751-3300

Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio  45439  USA
(937) 294-5331

Reply via email to