Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8629
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 Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm
No new posts Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us