Can DESERV process UNIX directories?
Lately, here, someone suggested using BLDL to generate a list of
PDS member names. I believe that requires DESERV, not BLDL.
So I read a little.
In:
z/OS
z/OS 2.1.0
z/OS DFSMS
z/OS DFSMS Using Data Sets
Non-VSAM Access to Data Sets and UNIX Files
Processing z/OS UNIX Files
Reading UNIX Files Using BPAM
I read:
BPAM cannot use the DESERV macro for UNIX files.
Yet, in:
z/OS
z/OS 2.1.0
z/OS MVS
z/OS MVS Program Management: Advanced Facilities
Data areas
PDSE directory entry returned by DESERV (SMDE data area)
I see:
Table 6. z/OS UNIX System Services file descriptor section
and earlier (forgive the formatting):
Table 2. Directory entry name section
Offset Length or Bit Pattern Name Description
00 (X'00') variable SMDE_NAME Name descriptor (structure)
00 (X'00') 2 SMDE_NAME_LEN Length of entry name (signed)
2 (X'02') variable SMDE_NAME_VAL Entry name (character)
So, "Length of entry name (signed[!?])" Sounds suited for UNIX directories.
(What's a negative length entry name?) Might I give DESERV GET_ALL a DCB
of a mixed concatenation of PDS, PDSE, and UNIX directories and have it
return a list of all the unique member names, with their lengths in the
concatenation?
And why doesn't ISPF DDLIST do that?
(I haven't the Assembler skill to code a test absent a detailed example
or sample.)
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN