136(88) Not enough Virtual-Storage Space is available for Work Areas,
Control Blocks, or Buffers.
144(90) An uncorrectable I/O error occurred while VSAM was Reading or
Writing a catalog record.
148(94) No record for the data set to be opened was found in the
available catalog(s) or an unidentified error occurred while
VSAM was searching the catalog.
152(98) Security Verification failed; the password specified in the
Access-Method Control Block for a specified level of access
does not match the password in the catalog for that level of
access.
164(A4) An uncorrectable I/O error occurred while VSAM was Reading the
Volume Label.
168(A8) The data set is not available for the type of processing you
specify, or an attempt was made to open a Reusable data set
with the Reset option while another user had the data set.
176(B0) An error occurred while VSAM was attempting to fix a page of
Virtual storage in Real storage.
180(B4) A VSAM catalog specified in JCL either does not exist or is
not open, and no record for the data set to be opened was
found in any other catalog.
184(B8) An uncorrectable I/O error occurred while VSAM was completing
an I/O request.
188(BC) The data set indicated by the Access-Method Control Block is
not of the type that may be specified by an Access-Method
Control Block.
192(C0) An unusable data set was opened for output.
232(E8) Reset was specified for a nonreusable data set and the
data set is not empty.
236(EC) A permanent Staging error occurred in MSS (Acquire).
244(F4) The Volume containing the Catalog Recovery area was not
mounted and verified for output processing.
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
Posted: Mon Dec 18, 2006 5:37 am Post subject:
you can not concatonate vsam. you need to use the SORTINnn DD Statement.
i.e. SORTIN01 for vsam 1 and SORTIN02 for vsam 2. _________________ Dick Brenholtz
American living in Varel, Germany
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Mon Dec 18, 2006 11:15 am Post subject:
Dick is right that you can't concatenate VSAM files - this is a system restriction.
If each file is in sorted order on a common key, you can MERGE them using SORTIN01 and SORTIN02 and a MERGE statement.
Note that you can't use SORTIN01 or SORTIN02 for COPY or SORT, but you could copy the files one at a time to a non-VSAM temporary MOD file and then SORT the MOD file to the output data set. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Dec 19, 2006 11:56 am Post subject:
What is it exactly you think that website is telling you? I don't see anything on that website that says you can concatenate VSAM files. I don't see anything on that website that says you can use SORTIN01 and SORTIN02 for COPY or SORT. That website does show an example of using SORTIN01 and SORTIN02 for MERGE as I indicated you could do in my previous post. But you can only do a MERGE if the VSAM files are each in sorted order by the same key and you want the output in sorted order by that key.
It's unclear from your posts what you actually want to do which makes it difficult to show you how to do it. In your original post, you show SORT FIELDS=COPY which would give you an output data set with the records from file1 followed by the records from file2 but your subject line says "sorting" not "copying". So which do you want to do, copy or sort? If you want to COPY the files into a non-VSAM output file, you can use this DFSORT/ICETOOL job:
If you want to SORT the two files into a non-VSAM output file, you can use a DFSORT/ICETOOL job like this where p is that starting position of the key (the data starts in position 5 after the RDW) and m is the length of the key:
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum