Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Fri Nov 09, 2007 11:39 am Post subject:
Here's a DFSORT/ICETOOL job that will do what you asked for. I assumed your input file has RECFM=FB and LRECL=80 but the job can be changed appropriately for other attributes.
_________________ 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
thank you for your help. Unfortunately I can't do as you said, because my file is too big.
I will try to explain: my file is 2576 bytes long, the first 758 bytes are the fixed part, and then I have 100 times the variable part of 18 bytes. The file has 245164 record, so if I try to move the 100 variable parts one in each record, I have problem with the space.
I think I will do a PLi pgm to do that, but maybe you have an other solution...
Thank you for all help an happy new year! _________________ Maxisnowhere
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Mon Jan 07, 2008 11:26 am Post subject:
Quote:
I have problem with the space.
The space for what ... the T1 file? Is it the blank records in the T1 file that cause the space problem? If so, maybe you could use a tape for T1? _________________ 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
Yes the problem is for the T1 dataset. I tried to use tape but i got an S837. It is the first time I use a tape, and i don't know why I got such error ("not enough space on the volume for the file). I made:
Joined: 13 Dec 2006 Posts: 101 Topics: 4 Location: india
Posted: Tue Jan 08, 2008 2:32 am Post subject:
Check for this error message IEC028I? if you are getting it?
Also try using extended volume...
This error may be caused because you reached end of volume!!! _________________ cHEERs
krisprems
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
Posted: Tue Jan 08, 2008 8:11 am Post subject:
Write your file to DASD - you are, anyway, for the final output file. But if you cannot then do not specify the DCB info - DFSORT takes care of that and do not use a GDG for a temporary dataset. _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Jan 08, 2008 11:14 am Post subject:
Nic,
If you read back through the post you'll see that the OP said he couldn't use DASD because of space problems so I suggested tape instead. Note that step1 creates lots of blank records which step2 eliminates, so step1 requires more space than step2. Hence the suggestion to use tape for step1.
max,
Nic's suggestion to allow DFSORT to automatically specify the DCB info is a good one since it will probably result in a larger BLKSIZE which will help reduce the space needed. Remove this line:
// DCB=(N.MODEL,RECFM=FB,LRECL=776,BLKSIZE=7760),
I don't know that much about setting up tape data sets. But FWIW: For a temporary data set, I would use DSN=&&T1 rather than a GDG. Could UNIT=VTAPE be giving you something other than a real tape? If a single volume isn't large enough, then you can use multiple volumes as mentioned by Krisprems. _________________ 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