On 2018-01-26, at 18:01:35, Jon Perryman wrote:
>>> I wrote: Writing those in PL/X would have make MVS unmaintainable.
>> Peter Relson wrote: The second sentence is untrue,
> Peter, it would be interesting to see how PL/X has solved abstract coding
> techniques. I know DCB is not written in PL/X. Could you show us a short
> snippet of how you would implement this logic in PL/X? Just enough for us to
> understand how PL/X solved this would be great. Alternatively, you could show
> us how TSO commands such as ALTER implemented it's command parsing.
>
Isn't a PL/X flavor of DCB provided?
> In C, the solutions was a runtime string that was parsed. It does not
> implement the full functionality of DCB (e.g. 'recfm=fb lrecl=100
> blksize=6100').
>
Is "full functionality of DCB" useful for any OS other than for z/OS? For z/OS,
allocate with BPXWDYN or JCL DD statement and open by fopen("//DDN:..." ).
-- gil