IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem in space used by a file.


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Wed Sep 19, 2007 10:26 am
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Sep 19, 2007 10:50 am
Reply with quote

Show the LRECL and BLKSIZE.

Were the files created by same program?
Back to top
View user's profile Send private message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Wed Sep 19, 2007 11:07 am
Reply with quote

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
View user's profile Send private message
logeswarank
Warnings : 1

New User


Joined: 15 Oct 2006
Posts: 22
Location: Chennai

PostPosted: Wed Sep 19, 2007 11:11 am
Reply with quote

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
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Sep 19, 2007 11:29 am
Reply with quote

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
View user's profile Send private message
logeswarank
Warnings : 1

New User


Joined: 15 Oct 2006
Posts: 22
Location: Chennai

PostPosted: Wed Sep 19, 2007 12:09 pm
Reply with quote

HI Devzee,

My thought was he extracted the file from TAPE. That's why I gave like that.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Sep 19, 2007 2:11 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
Search our Forums:

Back to Top