Re: Class Notes for a PL/I Course.

"kerravon86-/[email protected] [H390-MVS]" <[email protected]> 05 Oct 2019 12:54:18 +0000
Newsgroups gmane.comp.emulators.hercules390.mvs
Message-ID <[email protected]>
---In [email protected], <giuseppe@...> wrote :

> Paul, I do not have access to RDW in PL/I.

> What I've is:

> READ FILE(VBDS) INTO(BUF);
> L = LENGTH(BUF);

> and if L may be zero, I can't use 0x0000
> as a logical EOF when packing into an
> FB[80] dataset the record.

When writing to the FB dataset, why not add
4 to the length? Then you will have a format
that is compatible with COPYFILE.

BFN. Paul.