file DWPC.DW925EXT.A.DATA01 is having logical record length of 75 and file DWPC.DW92511A.A.TATC108.LOAD01 is having a record length of 88. while doing this step is abending, when i am putting the file DWPC.DW92511A.A.TATC108.LOAD01 first and then the file DWPC.DW925EXT.A.DATA01 then also the step is abending,while the output file is of length 75. i need to concatinate these two files and truncate the file to 75 length in this step. can you provide me a solution.
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
Quote:
reformat the lrecl=88 file to 75 before concatenation the files in sortin.
You can easily reformat the records during the SORT process using INREC / OUTREC, so why would you want to introduce an extra process when it is not required.
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
Expat,
Quote:
You can easily reformat the records during the SORT process using INREC / OUTREC, so why would you want to introduce an extra process when it is not required.
You will get the following cc=16, when you try to concatenate the 88 and 75 files with the following control card
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
Thanks Frank,
Great use of DISP=MOD, as I had done it by truncating the first file and then a copy using referbacks to the two datasets to be concatenated.
Looking at the size of the files from the space allocations it looks as though I may have hit the problem when a file goes to a second volume and is ignored using referbacks.