VSAM delete thru' easytrieve

Ask/Clarify the questions on EASYTRIEVE

Moderators: DikDude, Moderator Group

Post Reply
rajim
Member
Posts: 1
Joined: Mon Apr 07, 2014 2:18 pm

VSAM delete thru' easytrieve

Post by rajim » Mon Apr 07, 2014 2:22 pm

I am trying to delete/update a record from a KSDS vsam thru' easytrieve. But getting the following error :

"vsam update not allowed" -error code B017.

Below is the syntax:

READ IN-VSAM KEY IN-FEE STATUS,
IF FILE STATUS(IN-VSAM) EQ 0
WRITE IN-VSAM DELETE
END-IF

Can anyone please hlp me out of this?

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Mon Apr 07, 2014 3:28 pm

Only your support group can help. Your Easytrieve Plus is installed with and option to prevent VSAM files being updataed.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others