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

To calculate the file attributes


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashwinreddy

Active User


Joined: 16 Sep 2004
Posts: 106
Location: Hyderabad

PostPosted: Tue May 30, 2006 5:49 pm
Reply with quote

Hi,

I have to design a Specification document which involves in creating new files which retrieves some rows from db2 tables.

To do so i need to calculate the file space attributes as no. of cylinders it occupies. I am not much familiar with the relation between the blocks and cylinders.

Can any one help me.

Cheers
Ashwin
Back to top
View user's profile Send private message
shri_shant

New User


Joined: 26 Oct 2005
Posts: 16

PostPosted: Mon Jun 05, 2006 4:10 pm
Reply with quote

HI ashwin,
IF YOU KNOW PARA FROM DCB i.e. LREC AND BLKSIZE WHILE CREATING NEW DATASET WHERE SUPPOSE WE GIVE LRECL=80 AND BLKSIZE = 800 THEN ONE BLOCK WILL CONTAIN 10 PAGES THAT IS THE RELATION BETWEEN LOGICAL RECORD LENGTH AND BLOCK SIZE
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 -> COBOL Programming

 


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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top