kolusu,
I have tried the SORT control card. I'm getting the following error.
Code:
SORT FIELDS=COPY
OUTFIL VTOF,OUTREC=(1,32760)
$
ICE111A E REFORMATTING FIELD ERROR
ICE751I 0 C5-K05352 C6-Q95214 C7-K90000 C8-K05352 E7-K90000
ICE052I 3 END OF DFSORT
I guess the max length SORT can handle is 32752. So I have changed it to OUTFIL VTOF,OUTREC=(1,32752) and it's started to run. There is no data present in the last 50 bytes, so i ignored it. But the job is abending with storage issue(B37 and E37). I have tried using PARM='DYNALLOC(,n) but didn't work. Also increased the SPACE parameter. _________________ Thank You
-Ace
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Fri Sep 29, 2006 11:37 am Post subject:
Quote:
But the job is abending with storage issue(B37 and E37). I have tried using PARM='DYNALLOC(,n) but didn't work. Also increased the SPACE parameter.
Since you're doing a copy, you're not using work data sets and DYNALLOC is ignored. If you're getting the B37 or E37 on the SORTOUT data set, then that just means you haven't allocated enough space for it or don't have enough space on the volumes you're trying to allocate it on - DFSORT has nothing to do with that. _________________ 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
why is that we cannot copy vsam file with lrecl > 32750?
I tried it out and below is the error which am getting
EXPLANATION: The ddname will be SORTOUT, SORTOFxx, SORTOFx or the ddname provided by an OUTFIL FNAMES parameter. A field specified in
the SORT/MERGE or JOINKEYS statement is not located within the first 32750 bytes of the variable-length record. (This limit is lower if AC, AQ, E, PD0, Y2x or LOCALE CH fields are used.) Alternately, a field specified for INREC, OUTREC, OUTFIL OUTREC, REFORMAT, SECTION control, (SUB)TOTAL, (SUB)MIN, (SUB)MAX, (SUB)AVG or HEADER/TRAILER data field is located beyond the maximum record length. Alternately, an INREC, OUTREC, OUTFIL OUTREC, REFORMAT, or HEADER/TRAILER n/col/date/page attempted to build a record larger than the allowable maximum. Alternately, a REFORMAT statement referenced a join input file field, but records from that input file were excluded by specifying ONLY on the JOIN statement.
Any ways to copy vsam file with record legnth =32760 into a fb file?
The file is VBS, and this file was created thru COBOL program.
oops.. I gave incorrect LRECL in my previous post. The correct length is 32768. Apologise for inconvenience caused.
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