EVORXDIR - Read PDS Directory - ironstream_for_micro_focus_universal_discovery - 7.4

Ironstream for Micro Focus® Universal Discovery for IBM Z® Administration

Product type
Software
Portfolio
Integrate
Product family
Ironstream
Product
Ironstream > Ironstream for Micro Focus® Universal Discovery
Version
7.4
Language
English
Product name
Ironstream for Micro Focus Universal Discovery for IBM Z
Title
Ironstream for Micro Focus® Universal Discovery for IBM Z® Administration
Copyright
2022
First publish date
2007
Last updated
2023-08-23
Published on
2023-08-23T16:22:42.216801

Name

Details

Description

Reads the partitioned dataset directory of the pre-allocated ddname provided, and returns the member names in a REXX compound variable. The 0 stem of the variable will contain the total number of members returned.

Syntax

EVORXDIR('ddname','variable'[,'count'][,'directory'][,'prefix'])

where:

ddname An existing symbolic DD name (1 to 8 characters)

variable A 1 to 17 character name used to build a

compound variable containing the member names in the PDS.

count (Optional) The maximum number of names returned. The default maximum is 1000 names.

directory Optional) Either ‘YES’ or ‘NO’, indicating

whether to return the directory user data, the approximately 60 bytes of user halfwords (e.g., ISPF or link-edit information). When used, the member name will be the first word of the compound variable, followed by the user data.

prefix (Optional) Filter the output so that only member names with this prefix are returned.

Return Value

A variable can be assigned to the command to hold one of the following return texts:

OK Read of the dataset was successful

ERROR IN An incorrect parameter was passed, either SPECIFYING the variable name is too long, or the count FUNCTION exceeds the maximum size allowed

ERROR OPENING The named ddname failed to open.

PDS DATASET

ERROR READING There was a failure reading the ddname

PDS DATASET

STORAGE REQUEST The function was unable to allocate enough

FAILED memory to hold the complete list of dataset

members.

REXX

Example

EVORXDIR('LOADLIB','MEMBER') EVORXDIR('LOADLIB','MEMBER','9999','YES')