VSAM WRITE error

Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems
Gaurav Chauhan
Posts: 12
Joined: Mon Nov 05, 2007 1:50 pm
Skillset: Cobol,DB2,CICS,JCL,VSAM
Referer: thru friends

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

jayind
Posts: 62
Joined: Wed Apr 23, 2008 1:37 pm
Skillset: Mainframe - JCL, COBOL, VSAM, DB2, REXX, CICS
Referer: Internet Search
Location: Chennai, India
Contact:

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
Skillset: Mainframe - JCL, COBOL, VSAM, DB2, REXX, CICS
Referer: Internet Search
Location: Chennai, India
Contact:

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


  • Similar Topics
    Replies
    Views
    Last post