Are these page datasets?

If so, use CSQUTIL and

   - to reinstate a page set with no data, use FORMAT with the TYPE(NEW)
   option

For other VSAM datasets, if you have file manager or similar, you can
delete the entire contents.

Otherwise a simple COBOL program?

If you have REXX/CICS, pretty easy to delete all records from a file
defined to CICS. If not a sequence of CECI DELETE commands (you can script
this if you have a decent terminal emulator such as PCOMM, Vista with a VB
type scripting language).



On Sun, Sep 17, 2017 at 1:47 PM, Donald Likens <[email protected]>
wrote:

> This is for MQ but really not related. MQ has a number of VSAM files. I
> need to make these files empty for an upgrade so I can reformat them. I
> want to do this without deleting and reallocating them. These are linear
> and KSDS VSAM files. I tried allocating a new Linear VSAM file and REPROing
> it over... Did not work. I tried reproing an empty non-vsam file over... It
> did not work.
>
> I don't have a utility that will edit VSAM anyhow some are very big.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
Wayne V. Bickerdike

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to