Okay, I managed to track down part of the answer. Almost fifteen years ago, indeed! November, 2005. I was searching the archives of this list but it turned out I had posted the question on MVS-OE. I only see part of the thread, but it seems I ran into https://www.ibm.com/support/pages/apar/II12870 and the answer was BPX1SDD(1).
Based on the fact that the APAR was for OS/390 in 2001, and that it seems to be working today without BPX1SDD(1), would you all think it was safe to assume that the problem has gone away and I can drop the BPX1SDD() out of the code? That's really another way of phrasing question 2. below. Why would anyone want to set the dub default, and what are the pros and cons of doing it one way or another? (There are about eight or so different dub type settings.) Where is that documented, or was there a SHARE presentation, or ... ? I am still curious about question 1. but it is really a curiosity question. I am now checking for either the string or a leading '/' and that seems to be working. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Friday, August 7, 2020 1:35 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Two possibly related "historical" z/OS C library questions Fairly recent history: not drum memory or anything. 1. I have code written about fifteen years or so ago that contains comments and code logic that indicates that for a FILE opened to a UNIX path fldata() returns "...PATH=.SPECIFIED..." in __dsname. That is not true (any more?): __dsname contains the actual UNIX file name and is so documented. Am I confused? Or did it change? 2. Based on finding that string in __dsname the code does a BPX1SDD (set dub default) of 1. The comments indicate that otherwise a subsequent invocation by the code of FTP will fail. But the logic stopped working at some point: because there was no "...PATH=.SPECIFIED..." we have not been setting the dub default, but it all still seems to be working, at least generally. Was setting the dub default formerly necessary in some circumstances but no longer necessary? Is there any "why?" documentation for BPX1SDD()? It is decently documented as to *what* it does, but is there any explanation anywhere of why one might need to set the dub default, and what the pros and cons of the various values might be? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN