On Thu, Feb 2, 2017 at 7:19 PM, Hardee, Chuck <chuck.har...@thermofisher.com
> wrote:

> Before I move on to the next function of my Easytrieve program, I thought
> I'd ask for some insight from those who have used BPXWDYN.
>
> And before anyone says RTFM, I have.
>
> Okay, here's the issue, the documentation does not include DEFER as an
> option for dynamic allocation functions. At least not in a way that I
> interpret it as being available.
> However, that said, there is a TU() parameter with which one can supply an
> SVC 99 Text Unit that has been coded by hand.
> So, has anyone issued a BPXWDYN request for ALLOC in which they have coded
> a TU() parameter with an allocation text unit for DEFER?
>
> Next, I need to concatenate the "n" number of datasets from another
> program's selection process together for processing.
> I can allocate the first dataset with an explicit DD name and then I can
> allocate the remaining datasets with a return DD name parameter.
> This, then, allows me to issue a concatenation function and concatenate
> them all together under the name of the first, supplied DD name.
> But, I need to have unit affinity so that they all go thru the same
> logical unit. Yes, these are all tape datasets.
>
> This is what I am trying to accomplish using BPXWDYN:
>
> //INDSN               DD          DISP=SHR,DSN=dataset1
> //                            DD          DISP=SHR,DSN=dataset2,UNIT=
> AFF=INDSN
> //                            DD          DISP=SHR,DSN=dataset3,UNIT=
> AFF=INDSN
> //                            DD          DISP=SHR,DSN=dataset4,UNIT=
> AFF=INDSN
>
> Anyone ever do anything like this?
>

Impossible. Ref:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieaa800/notinda.htm
[quote]

Table 1. JCL DD Statement Facilities Not Supported by Dynamic
Allocation  Restricted
DDnamesJOBCAT, STEPCAT, JOBLIB, and STEPLIBKeyword ParametersCHKPT, DDNAME,
DLM, and DSIDPositional Parameters*, DATA, and DYNAMSelected Subparameters
of Keywords*Keyword**Subparameter Not Supported*DCBreference to ddname of a
previous step

CYLOFL
NTM
RKP
DISPPASS specificationDSNreference to ddname (as in *.ddname) ISAM area name
SPACEABSTR specificationUNITAFFVOLUMERETAIN specification

REF=ddname


[/quote]
​

>
> Thanks,
> Chuck
>
>
> Charles (Chuck) Hardee<mailto:chuck.har...@thermofisher.com>
> Senior Systems Engineer/Database Administration
> EAS Information Technology<mailto:DBA%20Engineering%20-%20DB2_IDMS>
>
>

-- 
There’s no obfuscated Perl contest because it’s pointless.

—Jeff Polk

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to