View previous topic :: View next topic
|
Author |
Message |
tomrsan
New User
Joined: 15 Oct 2005 Posts: 13 Location: chennai
|
|
|
|
hi
can u explain, if i want to change the value of a record in vsam files?
thanx |
|
Back to top |
|
|
Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
thru JCl or online?? |
|
Back to top |
|
|
chayanath
New User
Joined: 07 Mar 2005 Posts: 6 Location: vijayawda
|
|
|
|
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 |
|
|
tomrsan
New User
Joined: 15 Oct 2005 Posts: 13 Location: chennai
|
|
|
|
hi chayanath
thanx, other than the file aid is there any method to make change in vsam files? |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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 |
|
|
|