IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is it possible to edit a vsam file other than File-aid


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
seshareddy_p

New User


Joined: 16 Jun 2005
Posts: 7

PostPosted: Fri Jun 24, 2005 11:13 am
Reply with quote

Hi,

Is it possible to edit a vsam file other than File-aid?

if it is please tell me

Thanks & Regards
Seshu
Back to top
View user's profile Send private message
pedamallu.vijay

New User


Joined: 24 Jun 2005
Posts: 3
Location: bangalore

PostPosted: Fri Jun 24, 2005 1:11 pm
Reply with quote

hi sheshu,
what do u mean editing the vsam file. yeah why cant we do that...
we can edit normally with out using the file aid..
whatz ur question give me in detail...


tx.
Back to top
View user's profile Send private message
seshareddy_p

New User


Joined: 16 Jun 2005
Posts: 7

PostPosted: Mon Jun 27, 2005 10:25 am
Reply with quote

Hi vijay,

i have ksds file, in that some records r there. i want to edit that vsam file.

is it possible? if possible how can it?

please explain me
Back to top
View user's profile Send private message
suryakanth HM

New User


Joined: 28 Jun 2005
Posts: 6
Location: Bangalore

PostPosted: Tue Jun 28, 2005 5:05 pm
Reply with quote

Hi sheshu,
I just want to confirm do you mean just to have a look of the records in vsam or you wanna make changes in it.?
Because edit means changes can be made and be saved as well.
View means we can change but we cant save it.

Without the use of FILEAID also we can view the vsam file.
For that what we need to do is,
1. go for 3.4 option i.e, for dslist..
2. after getting the vsam data set, just type print ids(/) char in the same line.. press enter..
You can see the records of the dataset.

If you wanna change any records in it.. I think its not possible in this method.

In that case better go for ispf, There only you have some option to edit it..
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Wed Jun 29, 2005 3:30 am
Reply with quote

seshareddy_p

How about writing a simple program to do this??

Regards
Mayuresh
Back to top
View user's profile Send private message
urnarendra

New User


Joined: 29 Jun 2005
Posts: 7

PostPosted: Wed Jun 29, 2005 4:47 am
Reply with quote

hello,

we can see the vsam file directly with out useing any tool. by useing the simple Print commad
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Thu Jun 30, 2005 2:04 am
Reply with quote

seshareddy_p wrote:
Hi,

Is it possible to edit a vsam file other than File-aid?

if it is please tell me

Thanks & Regards
Seshu


U can either do it it online using FILEAID or INSYNC or some file editing tools or in BATCH the simplest way would be to UNLOAD it in to a flat file and edit the way u want it and then LOAD it into the VSAM FILE.
Back to top
View user's profile Send private message
brganeshbabu

New User


Joined: 23 Jun 2005
Posts: 34
Location: Chennai

PostPosted: Mon Jul 04, 2005 3:39 pm
Reply with quote

Hi seshareddy,
I believe it is possible to edit an vsam file through File Aid and also Insync. Insync is similar to file aid. I have edited VSAM cluster through Insync and also have changed the values and saved it. In the ISPF menu you will have the option of getting in to Insync. Give option Edit and specify any cluster name. You can edit as usual.
Also if you want just to view the records of an VSAM cluster you can just type PRINT CH before the vsam cluster described in 3.4 option. If any questions further, you can ask me.
Back to top
View user's profile Send private message
parul chhabra

New User


Joined: 27 Jun 2005
Posts: 2

PostPosted: Wed Jul 06, 2005 2:05 pm
Reply with quote

hi seshareddy_p,
we can edit the vsam dataset using a DITTO option in the ISPF panel. there we can use it and we can make changes and the changes will be reflected in the vsam dataset. There is another way to edit the VSAM dataset by writing a program in COBOL and we would able to see the edited records.


regards
parul chhabra
final year student
limat
Back to top
View user's profile Send private message
kotesh

New User


Joined: 11 May 2005
Posts: 20

PostPosted: Wed Jul 06, 2005 3:05 pm
Reply with quote

There is no chance to edit the vasm file with out file-aid.....
we can see the records...using print ids(datasetname) char...using 3.4 option...

regards
kotesh
Back to top
View user's profile Send private message
vamseepotti

New User


Joined: 21 Oct 2003
Posts: 45

PostPosted: Wed Aug 03, 2005 10:39 am
Reply with quote

We can edit a VSAM data set using TSI DITTO.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top