Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Problem in space used by a file.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Problem in space used by a file.
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Wed Sep 19, 2007 2:11 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us