Re: Replacement for the NCZ93205 subroutine.
"cedarlakebuzzards" <cedarlakebuzzards-/[email protected]>
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
The new version has two new functions added that allow sequential reading of the PDS directory (to retrieve member name) from COBOL programs. In addition, PL/1 (F) programs can call and access all of the functions. The module was renamed to PDSGET with entry points/aliases of NCZ93205 and PDSGETP. PL/I (F) restricts external program names to 7 characters. If you don't want to read the directory or call it from PL/I, this module offers nothing new over the "old" NCZ93205. Ed --- In [email protected], "halfmeg" <opplr@...> wrote: > > > > > cedarlakebuzzards wrote: > > > I have just uploaded a replacement for the NCZ93205 subroutine that > > allows COBOL programs to access PDS members dynamically. The file is > > PDSUNLOD.ZIP > > > This new routine is called PDSGET. It allows individual random > > access of member or sequential pass of the directory. It can be > > called by MVT COBOL and PL/I(F) programs. A demo program to print > > the contents of an entire PDS is included in the ZIP. > > > COBOL PROGRAMS should call as PDSGET or NCZ93206. > > PL/1(F) programs should call PDSGETP. > > > The comments in the code and the demo program document how to use > > PDSGET. > > I haven't looked at either of these, but how does this differ from: > > 2004 Feb 28 ncz93205 Added subroutine to enable COBOL program access to partitioned datasets > > http://www.jaymoseley.com/hercules/miscpgms.htm#AccessPDSMembers > > Phil >