I wish to implement a Unix-style file system
on top of MVS datasets so that Posix-compliant
programs can run (to some extent) on MVS 3.8j.
The C library would take care of this instead of
needing to update the OS. MVS dataset names
and DD names would still work too.
BFN. Paul.
---In hercules-***@yahoogroups.com, <***@cas.org> wrote :
I have to say, that might be what YOU want to see in name mapping, but the next guy may want a slightly different name mapping.
Is it too much to add #ifdef to check a value that indicates the platform, and select a command format appropriately? Most of the code will be platform-agnostic, but this has always allowed for a small section of the code to be platform-specific without affecting the rest. Iâm happy with that, actually.
R;
From: hercules-***@yahoogroups.com [mailto:hercules-***@yahoogroups.com]
Sent: Tuesday, July 17, 2018 11:00 PM
To: hercules-***@yahoogroups.com
Subject: [hercules-os380] Re: LFN support on MVS
Post by ***@yahoo.com [hercules-os380]What are you talking about?
OS/360 right up to MVS and z/OS already
supports long file names up to 44 characters
for dataset name, and up to 54 characters for
a PDS, with a fully qualified member name.
That's not what I'm after. GCC has source
code with names like stor-layout.c. What I
would like to do is translate:
/gcc/stor-layout.c
into:
GCC.C(STOR-LAYOUT)
To me that is the logical mapping, and for
practical use, the only segment that needs
long names is the thing that goes into the
PDS member name. You can see that the
".c" extension of the filename maps to the
last bit of the PDS name, and so long as
people don't use more than 8 character
long extensions, there won't be a mapping
problem.
Directory names will also need to be
restricted to 8 characters to fit the mapping
scheme, but again, directory names are
not as important as the filename sans
extension.
BFN. Paul.
Confidentiality Notice: This electronic message transmission, including any attachment(s), may contain confidential, proprietary, or privileged information from CAS, a division of the American Chemical Society (âACSâ). If you have received this transmission in error, be advised that any disclosure, copying, distribution, or use of the contents of this information is strictly prohibited. Please destroy all copies of the message and contact the sender immediately by either replying to this message or calling 614-447-3600.