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 Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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