On Tue, 25 Feb 2014 11:26:22 -0600, Ron Thomas <[email protected]> wrote:
>The vsam file we having one of the fields data is stored in bits , i.e each >bit value has a specific meaning 1 means the store is active else 'no' . We >have fileaid utlity to view files . The data i am saying here is defined as >1250 bytes, so that 10000 stores data can be stored . > >Suppose for testing if i want to view and edit the file , i believe if we can >create PL/1 copybook then we can go and edit the file for one specfic store. >please do let me know is this possible ? or we should not go and edit the bits >in the file ? Of course you can view and edit it. If all you are interested in is the state of a particular store, I don't quite see why you would need to used some "copybook" in the process, all you need is the offset of the bit map in the record (which you could tell from a glance at the assembly listing of one of the programs that process the file), and the store number. If you don't have a tool that directly allows you to edit a VSAM file, REPRO it into a sequential file and work on that before converting it back to a KSDS. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
