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
VSAM WRITE error
-
- Posts: 12
- Joined: Mon Nov 05, 2007 1:50 pm
- Skillset: Cobol,DB2,CICS,JCL,VSAM
- Referer: thru friends
-
- 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
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
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
-
- 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
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
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
-
-
Joining 2 vb files into vsam files ended error
by newbiemainframe » Thu Nov 12, 2020 7:59 am » in JCL - 1
- 1748
-
by NicC
View the latest post
Thu Nov 12, 2020 7:15 pm
-
-
- 3
- 2649
-
by sergeyken
View the latest post
Sat Nov 16, 2024 11:05 pm
-
-
regarding COBOL WRITE verb (VB File Handling)
by anonguy456 » Mon Jun 28, 2021 5:57 pm » in IBM Cobol - 6
- 3842
-
by Robert Sample
View the latest post
Tue Jun 29, 2021 11:33 pm
-
-
- 2
- 1413
-
by Robert Sample
View the latest post
Fri Oct 22, 2021 9:41 pm
-
- 3
- 7883
-
by socker_dad
View the latest post
Thu Jan 28, 2021 4:13 am