i have to write cobol program which is reading a vsam file and then checking the entry in it and finally updating the vsam.
i m not gtting the logic can anyboy help me.
accessing vsams
Moderator: Moderator Group
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
I don't know about any boys, but I am sure somebody can help.
CICS or Batch?
how is your FD phrased?
what is your open statement
how are you reading, updating?
what logic are you currently using?
CICS or Batch?
how is your FD phrased?
what is your open statement
how are you reading, updating?
what logic are you currently using?
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
- Devendra_singh
- Member
- Posts: 6
- Joined: Tue Jul 03, 2007 10:23 am
well actually i am new to mainframes i want a cobol program that is reading the vsam file which i have created and then checking some values and then updating the vsam file.
this is actually a library information system which have 3 vsam files bookstatus , catalog of record and employee info.
we have to write 3 modules loan(return,issue) , update (insert,update,delete). thats all. if you can help.
this is actually a library information system which have 3 vsam files bookstatus , catalog of record and employee info.
we have to write 3 modules loan(return,issue) , update (insert,update,delete). thats all. if you can help.
dbzTHEdinosauer wrote:I don't know about any boys, but I am sure somebody can help.
CICS or Batch?
how is your FD phrased?
what is your open statement
how are you reading, updating?
what logic are you currently using?
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
still did not answer about CICS or Batch, E-Cobol or os390?
Use the search manuals link at top of the page, access a cobol manual. There are always example programs within the documentation.
Use the search manuals link at top of the page, access a cobol manual. There are always example programs within the documentation.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
This link is to a COBOL Programming guide. Look at APPENDIX1.4.1 IGYTCARA: batch application, which provides detailed examples of how to do what you want.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
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
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page