clarify me on flat file9esds) ?

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
samayamsasi
Member
Posts: 2
Joined: Wed Oct 18, 2006 10:08 am

clarify me on flat file9esds) ?

Post by samayamsasi » Mon Oct 23, 2006 1:39 pm

Hi All,

Please clarify on flatfile(esds), my questions

1.How we will delete the flat file ?
2. Can we delete record by record ?
3. Can we update the flat file ?

Thanks in advance
Sasi

Kgumraj
Member
Posts: 4
Joined: Thu Nov 16, 2006 8:45 pm
Location: Hyderabad

Re:clarify me on flat file9esds) ?

Post by Kgumraj » Thu Nov 16, 2006 9:28 pm

Please clarify on flatfile(esds), my questions

1.How we will delete the flat file ?
2. Can we delete record by record ?
3. Can we update the flat file ?

Thanks in advance
Sasi


Hello,

1) you can use either a tso command or JCL to delete a flat file (any type)
2) In ESDS it is not possible(Physical deletion is restricted)
3) Yes you can update a ESDS file.

FYI: ESDS file a advanced sequential file, with properties like Alternate Key and some other fetures
With Love
Kiran G R

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

Post by dbzTHEdinosauer » Thu Nov 16, 2006 10:43 pm

Document SC26-9049-05, though a little old, has excellent description and clarification of VSAM files and the acceptable COBOL verbs to be used while processing.

flatfile is an expression normally associated with a QSAM sequential file.

an ESDS is a VSAM sequential file; flatfile is not used to describe an ESDS file.
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