VSAM WRITE error



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

VSAM WRITE error

Postby Gaurav Chauhan » Wed Jul 30, 2008 11:00 am

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
Gaurav Chauhan
 
Posts: 12
Joined: Mon Nov 05, 2007 1:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: VSAM WRITE error

 

Re: VSAM WRITE error

Postby jayind » Wed Jul 30, 2008 12:25 pm

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
jayind
 
Posts: 62
Joined: Wed Apr 23, 2008 1:37 pm
Location: Chennai, India
Has thanked: 0 time
Been thanked: 0 time

Re: VSAM WRITE error

Postby jayind » Wed Jul 30, 2008 12:27 pm

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
jayind
 
Posts: 62
Joined: Wed Apr 23, 2008 1:37 pm
Location: Chennai, India
Has thanked: 0 time
Been thanked: 0 time


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post