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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DYNINFO Parameter List<br />

DYNINFO Request Fields<br />

DYNSTAMP, DYNRQID, DYNRQLEN<br />

These DYNINFO header fields containing the sentinel, release identifier and<br />

parameter list length are required. If DYNINFO is generated with TYPE=CSECT<br />

or TYPE=DS (the default), these fields will contain the correct values at<br />

execution time. However, if generated as a DSECT (TYPE=DSECT), these<br />

values must be initialized as shown by the caller be<strong>for</strong>e invoking DYNACC.<br />

If DYNSTAMP is not equal to DYNINFO, DYNACC will set DYNRTCOD to 28.<br />

DYNRQLEN, DYNNVBRS<br />

For data set calls (SD, GD, DD, NG, and NX), <strong>for</strong> each data set (DYNDBREC)<br />

and version (DYNGBREC) retrieved, DYNACC builds an array of volume/extent<br />

(DYNVBREC) entries in DYNINFO. Usually this starts with volume sequence one<br />

<strong>for</strong> the file version and continues <strong>for</strong> as many volumes or extents as exist and<br />

will fit in DYNINFO. If the DD call is used, specifying the DYNRQVSQ<br />

parameter, then the array will commence with the specified volume sequence<br />

number. If the NX call is used, the array will commence with the next volume<br />

in sequence after the last volume returned by the preceding SD, GD, DD, NG,<br />

or NX call.<br />

By default, enough space is reserved in DYNINFO to accommodate twelve tape<br />

volumes <strong>for</strong> a given data set version. The actual number that may be<br />

accommodated is indicated by the DYNNVBRS field. At assembly time, the<br />

DYNINFOA macro calculates the DYNNVBRS value by dividing the length of<br />

DYNINFO, minus the length of other segments, by the length of a tape<br />

DYNVBREC (DYNVBRLN).<br />

As DYNACC builds DYNINFO while processing each call, the length of each<br />

segment is added to DYNRTLEN. The segment is not moved into DYNINFO if<br />

there is insufficient space to accommodate it. This is determined by comparing<br />

the value in DYNRTLEN with that specified by DYNRQLEN. When DYNRTLEN is<br />

greater than DYNRQLEN, DYNACC sets DYNRTCOD to 28.<br />

DYNRTLEN contains the length in bytes of DYNINFO required to accommodate<br />

all volumes <strong>for</strong> the requested data set version, starting at the volume<br />

sequence number specified in DYNRQVSQ. (DYNRQVSQ is only valid <strong>for</strong> DD<br />

calls.) The DD function may be used to retrieve the additional volumes <strong>for</strong> the<br />

version.<br />

The LEN parameter of the DYNINFOA macro may be used to reserve a greater<br />

or smaller number of bytes <strong>for</strong> DYNINFO in total. The LEN value specifies the<br />

length reserved <strong>for</strong> DYNINFO and the value to be placed in DYNRQLEN.<br />

Consequently, a greater or smaller number of VBRs may be accommodated.<br />

The minimum length is equal to the value specified by DYNCOMLN. Calculate<br />

the required value by adding the value specified by DYNCOMLN to the result of<br />

the number of volumes desired, minus one, multiplied by the length of the<br />

appropriate segment (DYNVBRLN <strong>for</strong> tapes or DYNEXTLN <strong>for</strong> disk extents).<br />

10–12 <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!