On Thu, 10 Mar 2016 20:33:11 -0500, Ted MacNEIL wrote: >I believe a path can be up to 1024. > Sort of. IIRC, that's the value in the Users Guide, Command Ref., et al. But it's subject to change with new filesystypes. It might be different in a future OS release. Hopefully not smaller.
Legacy UNIX systems define a constant, PATH_MAX. POSIX deprecates this (see above) and z/OS UNIX does not provide it. The recommendation is a query, "PATH_MAX = pathconf( *file_name, _PC_PATH_MAX )". But Allocation imposes its own limit of 256, incomprehensible in that the length field of a TU is a halfword. And Allocation should not attempt to enforce any limit; it should call the kernel services with whatever it's given, up to 32767, and diagnose any error response from kernel. Likewise for TSO TMP and JCL C/I. Resolution of symbolic links can result in a resolved pathname longer or shorter than coded. I need to try an experiment. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN