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

Editing VSAM files


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

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed Apr 30, 2008 12:53 pm
Reply with quote

Hi friends,
I need to edit a vsam ksds file for some Testing purposes, i just converted it into VSAM ESDS and edited the fields ,the fields are non key too,But when i tried to convert it again into vsam Ksds causing some errors.if don't mind can anybody please give a suggestion for editing the KSDS.
With Regads
Hari
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 275
Location: Bang,iflex

PostPosted: Wed Apr 30, 2008 1:03 pm
Reply with quote

Hi,

For editing the VSAM KSDS we can make use of FILE-AID or DITTO tool


Quote:
need to edit a vsam ksds file for some Testing purposes, i just converted it into VSAM ESDS and edited the fields


Please let me know how you converted the VSAM KSDS to VSAM ESDS file, it will be helpfull for me.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Apr 30, 2008 1:15 pm
Reply with quote

Hi,

This topic has been discussed many times, please search the forum. For Your reference some similiar topic links are here..

www.ibmmainframes.com/viewtopic.php?t=29916&highlight=vsam
www.ibmmainframes.com/viewtopic.php?t=28857&highlight=vsam
www.ibmmainframes.com/viewtopic.php?t=28280&highlight=vsam
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed Apr 30, 2008 1:59 pm
Reply with quote

Hi friends,
Thanks alot for your kind response.
With Regards
Hari
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 30, 2008 2:13 pm
Reply with quote

Personally, I would REPRO to a flat file and perform the edits there and then REPRO back to the KSDS
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed Apr 30, 2008 3:32 pm
Reply with quote

Hi Expat,
If you don't mind can you please tell me ,is it not possible using File Aid? I got the error while doing this with File Aid.
With Thanks
Hari. icon_smile.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu May 01, 2008 1:25 pm
Reply with quote

Hi,

What error did you get?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 01, 2008 2:06 pm
Reply with quote

mytags wrote:
Hi Expat,
If you don't mind can you please tell me ,is it not possible using File Aid? I got the error while doing this with File Aid.
With Thanks
Hari. icon_smile.gif

I tend to do things in the universally available way, by using IDCAMS and editors that are available at all sites, that way I do not become reliant on any one product that may make me look an idiot when faced with the same scenario at a site that does not have that product installed and I then can not resolve a problem.

Yes, modern software tools are great, but they also tend to minimise the learing of universal practices, which in my view make you more marketable. Once at an interview the interviwer asked why not use fileaid instead, and I replied "what if your site did not have fileaid installed".
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Thu May 01, 2008 3:50 pm
Reply with quote

hi Expat,
I just only explained ,but i think as you said using IDCAMS also i can solve the issue,being a technocrat i too think its the right way.
With Thanks
Hari
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top