Page 1 of 1

VSAM WRITE error

PostPosted: Wed Jul 30, 2008 11:00 am
by Gaurav Chauhan
I have created a non-reusable VSAM file.
I am loading the VSAM file thru a Cobol program....opening the file in OUTPUT mode..n using WRITE verb to load...Am able to WRITE only first time...
Next time onwards giving me this error :
Non-reusable non-empty data set was opened with
the RESET option.
How to solve this ??

_________________
Gaurav Chauhan

Re: VSAM WRITE error

PostPosted: Wed Jul 30, 2008 12:25 pm
by jayind
Hi Gaurav,

Is there a reason why you created a non-reusable VSAM file? Is it for testing purpose or in production?
Try loading data using a JCL and see whether you get error!! Let me know the results..

Regards,
Jayind

Re: VSAM WRITE error

PostPosted: Wed Jul 30, 2008 12:27 pm
by jayind
Correction to my above statement...
If you have test data try loading data into the newly created VSAM file using SORT/IDCAMS in JCL and see whether you get error!! Let me know the results..

Regards,
Jayind