ESDS

Post your questions related to VSAM

Moderator: Moderator Group

Post Reply
RaviTejaG
Member
Posts: 15
Joined: Tue Apr 14, 2009 3:49 pm
Location: MYSORE

ESDS

Post by RaviTejaG » Thu May 21, 2009 11:24 am

for ESDS what is the organization mode and accessmode we have to write in cobol program file-control section.

i wrote both are sequential but it is giving following error.


A file attribute mismatch was detected. File TALKT in program COBESDSdetected. File TALKT in program COBESDS was defined as a physical sequentialfile and the file specified in the ASSIGN clause was a VSAM data set.

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu May 21, 2009 11:37 am

you SELECT clause reference name is probably incorrect.
visit the cobol manual for proper syntax for identifying a ESDS vsam ds.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

RaviTejaG
Member
Posts: 15
Joined: Tue Apr 14, 2009 3:49 pm
Location: MYSORE

Post by RaviTejaG » Thu May 21, 2009 11:43 am

i gave select clause as below.

SELECT TALKT ASSIGN TO TALKT
ORGANIZATION IS SEQUENTIAL
ACCESS MODE IS SEQUENTIAL
FILE STATUS IS WS-STATUS.

and can u give me link for cobol manual

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu May 21, 2009 11:54 am

This Link will list all cobol manuals.
pick your version.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu May 21, 2009 11:57 am

you should also download the IBM Redbook - VSAM Demystified

Right-click on the PDF download link (of the above page) and "save as", saves opening up the PDF in your browser.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

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