View previous topic :: View next topic
|
Author |
Message |
kbmkris
Active User
Joined: 24 Jun 2006 Posts: 101
|
|
|
|
hi,
There are two files containing same data. I checked that with 3.13 file compare option. But the space utilized by both the files are of different. Both files are created by extracting 1000 records from the corresponding files. LRECL and BLKSIZE also same. Please help in finding out the reason for the more space utilised.
Code: |
Command - Enter "/" to select action Tracks %Used XT Device
-------------------------------------------------------------------------------
XYZ.DATA.LIST.OLD 15 26 1 3390
XYZ.DATA.LIST.NEW 15 20 1 3390
***************************** End of Data Set list **************************** |
|
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Show the LRECL and BLKSIZE.
Were the files created by same program? |
|
Back to top |
|
|
kbmkris
Active User
Joined: 24 Jun 2006 Posts: 101
|
|
|
|
hi,
LRECL=25481 and BLKSIZE=27998. Both parent files are not created using same program.
I found out the reason for difference in space utilization. In one of the program, I-0-CONTROL section is missing where APPLY WRITE-ONLY ON output file is coded. I don't remember exactly what the above statement does.
Thanks for the reply:-) |
|
Back to top |
|
|
logeswarank Warnings : 1 New User
Joined: 15 Oct 2006 Posts: 22 Location: Chennai
|
|
|
|
Hi Bala,
Extracting means you are copying the file from the TAPE to DASD.
I think you mentioned the DCB=*.SORTIN,This is will allocate DCB parameters of SORTIN files DCB parameters.
Please check this one.If its wrong correct me. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Logeswaran K Read this...
Quote: |
I found out the reason for difference in space utilization. |
...not sure why you are giving different answer when the actual reason is found. |
|
Back to top |
|
|
logeswarank Warnings : 1 New User
Joined: 15 Oct 2006 Posts: 22 Location: Chennai
|
|
|
|
HI Devzee,
My thought was he extracted the file from TAPE. That's why I gave like that. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
kbmkris wrote: |
In one of the program, I-0-CONTROL section is missing where APPLY WRITE-ONLY ON output file is coded. I don't remember exactly what the above statement does. |
APPLY WRITE-ONLY clause
Normally output records are built directly in the output buffer and with VB records, the block is written when the max length record will not fit in the buffer.
With AWO, the output record gets built outside the actual output buffer and as long as the length of the output record will fit in the buffer, the buffer continues to fit the records into it.
This can greatly improve blocking when you have many smaller records and very few very large ones in your VB file. |
|
Back to top |
|
|
|