by Joerg.Brehe@[EMAIL PROTECTED]
(j?rg brehe)
Apr 29, 2005 at 07:32 AM
Jerry Peters <jerry@[EMAIL PROTECTED]
> wrote in message
news:<9QSbe.657714$w62.511445@[EMAIL PROTECTED]
>...
> j?rg brehe <Joerg.Brehe@[EMAIL PROTECTED]
> wrote:
> > I have written an assembler modul, which gives me all dsnames of a
> > concatenated data set. Now I will open all data sets. The data sets
> > are on different volumes.
> > Now I get an S213/4 error. I think it's not enough to write the dsname
> > into the JFCB and try to open the data set with (open Type=J). I
> > think it's not enough to make a DCB for every data set, I must manage
> > to give every data set his own JFCB.
> >
> > How can I do this? Is there any example?
> >
> >
> > J?rg
> You need to use dynamic allocation to allocate the datasets. Just
> changing the dsn in the jfcb and using openj will only work if the
> datasets are all on the same volume. Openj is trying to open the
> additional datasets on the same volume as the _first_ dataset.
>
I think you mean SVC 99. I need a link to the DD Statement. Need I
openj in this case?
> Another technique is to set the unlike conatenation bit in dcboflgs?
> and have an open exit routine. The open exit routine will get called
> at the start of each concatenated dataset after the first, so just
> keep track of the open exit being called and correlate that to the
> appropriate dataset. There used to be a section on this in one of the
> data management guides.
Is there an example for this technic?
Jörg