You've lost me. If the file is allocated then the data sets should
exist - that is, they should have VTOC entries. S213-04 says no
VTOC entry present - the error message should say which data set name.
The only exception is if the DD statements were allocated by JCL with
DISP=OLD or DISP=SHR, in which case only device allocation and volume
mounting is performed - the presence of the data set (VTOC entry) on
the volume is not verified.
So, how were the data sets allocated? Do they exist? Why are you
trying to overlay the data set name with one supplied by your program?
Why do you think you need to update the JFCB at all? A JFCB will exist
for each data set in the concatenation - it is created at allocation
time and not at OPEN time.
What is the organization type of these data sets? Which I/O operations
(eg. READ, WRITE) are you trying to perform? I think more relevant
details are needed for a proper diagnosis.
A brief synopsis of what you are trying to achieve may help.
Example 1: I have a number of sequential data sets which I wish to read
as if they were a single data set.
Example 2: I have a concatenated PDS file and give a member name I wish
to access that member no matter which of the libraries it is in.
Example 3: I wish to be able to directly access any given CCHHR of any
given volume through a previously opened DCB.
Example 4: I wish to overwrite any data set of my choosing in the world.
You know, just a few measly clues....
GP
j?rg brehe 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


|