On 2025-10-12 23:20, Paul Eggert via tz wrote:
On 2025-10-12 18:02, Paul Gilmartin via tz wrote:

<https://www.ibm.com/docs/en/zos/3.2.0?topic=functions-fpathconf-determine- configurable-path-name-variables>

We should be OK. tzcode uses PATH_MAX only if defined, so if z/OS does not define PATH_MAX it would be like GNU/Hurd (which also does not define PATH_MAX), and on such a platform tzcode allocates a buffer for the absolute file name via malloc if the relative file name is very long.

I don't have easy access to a z/OS platform to make sure it works there. If you'd like to jump through the hoops to gain access, say at OSUOSL <https:// osuosl.org/services/ibm-z/>, please feel free to see how well tzcode works there.


(But they shun TZDATA!)
Yes, although z/OS supports tzdata in its Java runtime:

https://www.ibm.com/docs/en/semeru-runtime-ce-z/21.0.0?topic=configuring-time-zone
[email protected]

Probably required for CLDR/ICU support.

... I don't see any such support in the z/OS C library.

Some docs appear to be in z/VM and z/OS Language Environment Open Extensions:

        https://www.vm.ibm.com/openextensions/oelsc.html

including locale and formatting functions, and appears to support NLS, charmap, and localedef using POSIX compatible VM/CMS Byte FS layer under Shared FS supporting shared access to hierarchical directories, but other than locale and TZ env var support, little about time zones and nothing about tzdata under native tools, rather than Linux guests. Z/VM seems to be the supported host for interactive native open development, using z/OS tools and ported POSIX library, commands, and utilites, to be run under either z/VM or z/OS.

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                -- Antoine de Saint-Exupéry

Reply via email to