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 make a change in values of the data in vsam files?

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

New User


Joined: 15 Oct 2005
Posts: 13
Location: chennai

PostPosted: Sat Dec 10, 2005 5:43 pm    Post subject: how to make a change in values of the data in vsam files?
Reply with quote

hi
can u explain, if i want to change the value of a record in vsam files?
thanx
Back to top
View user's profile Send private message

Ramya A

Active User


Joined: 26 Jul 2004
Posts: 104

PostPosted: Sun Dec 11, 2005 4:42 am    Post subject:
Reply with quote

thru JCl or online??
Back to top
View user's profile Send private message
chayanath

New User


Joined: 07 Mar 2005
Posts: 6
Location: vijayawda

PostPosted: Sun Dec 11, 2005 2:31 pm    Post subject: Re: how to make a change in values of the data in vsam files
Reply with quote

Hi,
Vsam file values can be edited only through fileaid.
Take care while changing the value of a key-field as Vsam accepts only in ascending order of key values .So when u want to edit a key field :
Go to file aid (in Edit mode)give ur file name (and copy book)
then edit the key field and give SORT in command line then give SAVE in the command line.

I think this serves ur purpose

bye
chayanath
Back to top
View user's profile Send private message
tomrsan

New User


Joined: 15 Oct 2005
Posts: 13
Location: chennai

PostPosted: Mon Dec 12, 2005 10:11 am    Post subject: jcl
Reply with quote

hi chayanath
thanx, other than the file aid is there any method to make change in vsam files?
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Mon Dec 12, 2005 10:59 am    Post subject: VSAM File
Reply with quote

Hi tomrsan,

U mean that v can edit the vsam record or not??? if ur query is like this then the answer is yes.. u can just use the update method to do that.. but there are some constraint like the length of the record should not exceed in ESDS, the key value should not be same in KSDS like wise u have some constaints.......
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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
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 HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


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