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
 

 

Editing VSAM files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Editing VSAM files
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: 276
Location: Bang,iflex

PostPosted: Wed Apr 30, 2008 1:03 pm    Post subject:
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

Senior Member


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

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

Hi,

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

http://www.ibmmainframes.com/viewtopic.php?t=29916&highlight=vsam
http://www.ibmmainframes.com/viewtopic.php?t=28857&highlight=vsam
http://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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 30, 2008 2:13 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu May 01, 2008 1:25 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu May 01, 2008 2:06 pm    Post subject:
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    Post subject:
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    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 Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm


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