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
 

 

How to write new records into a VSAM?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
guruji
Warnings : 1

New User


Joined: 13 Apr 2007
Posts: 59
Location: Bangalore

PostPosted: Fri Jun 22, 2007 4:05 pm    Post subject: How to write new records into a VSAM?
Reply with quote

Hi,

I have a VSAM which has already got records in it. I want to add new records into it. Is it possible to increase the space available without droppping it and creating a new one?

Thanks,
Reni
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Jun 22, 2007 4:11 pm    Post subject:
Reply with quote

Reni,

Quote:
I want to add new records into it.


What are you trying to do? Appending the records at end or loading records in the new vsam?

Quote:
Is it possible to increase the space available without droppping it and creating a new one?

How much space is available in the vsam? Has it completly occupied allocated space?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Fri Jun 22, 2007 4:24 pm    Post subject:
Reply with quote

Run IDCAMS with LISTCAT and study the results. Check secundary allocations (16 reached?) and the CI- and CA-splits. Make sure you have enough FREESPACE when defining your clusters.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 22, 2007 5:03 pm    Post subject:
Reply with quote

VSAM can use 123 extents per volume, assuming that you have them specified. And multiple volumes, again only if specified. I think that with z/OS 1.7 and above that the number of extents may be elevated to 255.

CI & CA splits ............ These will affect the data distribution of the file, but depending on the RAID version in use, may or may not affect performance. But that's another story.

FREESPACE, again its effectiveness depends on the RAID technology that your DASD is using.

But, as suggested run LISTCAT and find out everything you ever need to know about your VSAM cluster.

Is this an ESDS or KSDS ?
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am


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