Posted: Thu Apr 17, 2008 5:20 am Post subject: edit vsam file
Hi,
I need to edit the vsam ksds file. Please could you suggest the way. I have Insync in my shop. No File-aid. Using Insync we can access Vsam file if we know copy book. But in this case I do not have copybook. My requirement is I have a vsam dataset
GDLV.GENERAL.PARAMS.GD020B. This file is sorted using below cards
SORT FIELDS = (6,5,CH,A)
INCLUDE COND=(1,5,CH,EQ,C'SD016')
OUTREC FIELDS=(6,5,25,2)
Please tell me how to edit the VSAM dataset to include SD016 manualy. If i open the dataset using insync without copybook its giving data as below.
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Thu Apr 17, 2008 1:14 pm Post subject:
nadh,
why cant you edit the output file produced from sort? It is only 7 bytes in length and u know the contents and field lengths. _________________ Kolusu
www.linkedin.com/in/kolusu
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
Posted: Fri Apr 18, 2008 5:14 am Post subject:
Why not create a copybook? Presumably the program that creates or reads the file knows the record structure. _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum