Hi
Suppose there is a seq file with million records( i/p).When a job uses this file due to some data problem the job abends.How can you find out which particular record is the culprit?
Thanks & Regards,
Kumar
cobol interview question
Moderators: Anuj Dhawan, Moderator Group
cobol interview question
Regards,
Kumar
Kumar
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
And as this is a "cobol interview question " as your subject title says. We have separate part of the Forum to put Cobol related questions known as:COBOL INTERVIEW QUESTIONS. Please going forward use respective part of the Forums that keeps the things clean
PS. Above was just a suggestion...
PS. Above was just a suggestion...
Regards,
Anuj
Anuj
Thanks Anuj for the suggestion,would stick to that from here after.
Well my answer was as below:
I would first look at the abend description and from the compile listing of the prgm ,i will search for the particular verb that that caused problem( get offset of the instr).
Based on the result of the above i would view the file with its copy book for the location of the particular field thru fail-aid (by specifying the position of the variable and the desired result)
For example the location of the field is 30
Field-Name 30 EQ ' '
Which would get the records that match the value.With an assumption that the field value should not be space.
Well my answer was as below:
I would first look at the abend description and from the compile listing of the prgm ,i will search for the particular verb that that caused problem( get offset of the instr).
Based on the result of the above i would view the file with its copy book for the location of the particular field thru fail-aid (by specifying the position of the variable and the desired result)
For example the location of the field is 30
Field-Name 30 EQ ' '
Which would get the records that match the value.With an assumption that the field value should not be space.
Regards,
Kumar
Kumar
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
You are welcome...
You can have a look on this thread http://www.mainframegurukul.com/Mainfra ... t3586.html as well.
You can have a look on this thread http://www.mainframegurukul.com/Mainfra ... t3586.html as well.
Regards,
Anuj
Anuj
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