03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DYNINFO Parameter List<br />

If the OE call is used to set the EARL flat file option, no more than one volume<br />

or extent will be returned at a time by DYNACC. If the file version is spread<br />

over more than one volume or extent, DYNRTCOD will be set to 28 regardless<br />

of the amount of space reserved <strong>for</strong> DYNINFO. In this case DYGNVOLS will<br />

never be greater than one.<br />

DYNREQST<br />

DYNRQDSN<br />

Contains all input variables to DYNACC. If an optional field is to be omitted, it<br />

must be cleared to spaces be<strong>for</strong>e calling DYNACC. Selection fields which<br />

contain other values, <strong>for</strong> example, binary zeros, will be evaluated by DYNACC<br />

as selection fields.<br />

Required <strong>for</strong> DD and GD calls. Otherwise, it must be spaces.<br />

For GD calls, all data sets which match all characters be<strong>for</strong>e the leading space<br />

will be returned. On DD calls, if an exactly matching DSN is not found,<br />

DYNRTCOD 12 is set. On GD calls, on the call after all matching data sets have<br />

been returned (if any) DYNRTCOD 20 is set. For GD calls, DYNRQDSN must<br />

contain at least one nonblank character, else DYNRTCOD 32 (SYNTAX ERROR)<br />

and DYNERCOD 8 (GENERIC KEY ALL SPACES) is set.<br />

DYNRQPSW<br />

DYNRQVER<br />

DYNRQGEN<br />

DYNRQGDG<br />

DYNRQVOL<br />

For password-protected data sets, if no password is supplied, <strong>for</strong> any call<br />

except a DD, DYNRTCOD 16 is set and only the DSN is returned. On a DD call<br />

<strong>for</strong> a password-protected data set, if no password is supplied or doesn't<br />

match, DYNRTCOD 40 is set and the call is terminated.<br />

Optional <strong>for</strong> DD calls. Otherwise must be spaces. It is the disk or tape data set<br />

version number, relative to the most current version (version one) to be<br />

retrieved. Test ($TEST job), scratch and invalid versions (such as, open not<br />

closed) are ignored. If not found, DYNRTCOD 8 is set. May not be specified in<br />

conjunction with DYNRQGEN, DYNRQGDG, or DYNRQVOL. If DYNRQVER,<br />

DYNRQGEN, DYNRQGDG, and DYNRQVOL are all spaces, the most current<br />

version (version one) is returned.<br />

Optional <strong>for</strong> DD calls. Otherwise must be spaces. It is the <strong>CA</strong> <strong>Dynam</strong>/D disk<br />

data set generation number to match against in the catalog. If not found,<br />

DYNRTCOD 8 is set. May not be specified in conjunction with DYNRQVER,<br />

DYNRQGDG or DYNRQVOL.<br />

Optional <strong>for</strong> DD calls. Otherwise must be spaces. It is the OS or MVS<br />

Generation Data Group identifier to match against in the Catalog. If not found,<br />

DYNRTCOD 8 is set. May not be specified in conjunction with DYNRQVER,<br />

DYNRQGEN, or DYNRQVOL.<br />

Required <strong>for</strong> DV and GV calls. Optional <strong>for</strong> DD calls. Otherwise must be spaces.<br />

For DV calls, it is used to specify the exact volser to retrieve. If not found,<br />

DYNRTCOD is set to 8. If the volser contains no active files (is a scratch),<br />

complete volume in<strong>for</strong>mation (but no data set or version in<strong>for</strong>mation except<br />

<strong>for</strong> the most recently active data set name) is returned, and DYNRTCOD is set<br />

to 6.<br />

Chapter 10: Accessing the Catalog 10–13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!