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 Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm


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