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
 

 

Sample program of how to write vsam file in cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
megha.bargaje

New User


Joined: 01 Aug 2006
Posts: 3
Location: pune

PostPosted: Mon Aug 28, 2006 1:59 pm    Post subject: Sample program of how to write vsam file in cobol
Reply with quote

can anyone give me sample program of how to write vsam file in cobol.
and y free space neessry in ci

WARNING: TITLE EDITED
Back to top
View user's profile Send private message

Deepa.m
Warnings : 1

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Mon Aug 28, 2006 2:15 pm    Post subject:
Reply with quote

freespace are necessary to expand the control interval block .as we know VSAM files ,the records are stored in sorted order and when it is required to insert few rows in that block we need free space to accomodate that.

eg : new row to insert is 2007.. Since we have got FS in II CI block we can insert 2007 in II block directly thereby avoiding the complete sort process if we have to add at the end

I block
1000
1001
1003
FS
....
II block
2005
2006
FS
...
III block
3000
3001
FS


This is what my understanding is ..let me know if I am wrong
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 -> DFSORT/ICETOOL 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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 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


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