View previous topic :: View next topic
|
Author |
Message |
janmejay Warnings : 1 New User
Joined: 22 Jun 2007 Posts: 85 Location: bangalore
|
|
|
|
hello can any one give some info about this
A batch program has been written to post transactions to a Master File. Unfortunately, the programmer who wrote the module did not request the file status clause in the SELECT statement. The module abends at a mission-critical point in time, with a VSAM error producing a standard dump. Referring to the scenario above, at which one of the following locations is the file status information located within the FCB printed in the storage dump? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
File status is a COBOL interpretation of what happened with a file -- I don't think it refers to an actual field in the dump (at least, I've never heard of a field in the dump that is the file status). The VSAM error message will include the codes necessary to understand the error; look up the IDC message in the manual. |
|
Back to top |
|
|
janmejay Warnings : 1 New User
Joined: 22 Jun 2007 Posts: 85 Location: bangalore
|
|
|
|
i faced this question in an interview
hello can any one give some info about this
A batch program has been written to post transactions to a Master File. Unfortunately, the programmer who wrote the module did not request the file status clause in the SELECT statement. The module abends at a mission-critical point in time, with a VSAM error producing a standard dump. Referring to the scenario above, at which one of the following locations is the file status information located within the FCB printed in the storage dump?
Choice 1
At hexadecimal displacement 'A3'
Choice 2
At hexadecimal displacement 'A4'
Choice 3
At hexadecimal displacement 'B3'
Choice 4
At hexadecimal displacement 'B9'
Choice 5
At hexadecimal displacement 'C4' |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
this is the COBOL forum, not the interview forum. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
point 1) any decent organization should setup proper standards and enforce them
point 2) a program not within the standards should not be promoted to production
point 3) the IT people of that organization should be terminated for cause
the question is a moot point
why in &HEAVEN after the first occurrance the program has not been changed to provide ----
a decent error recovery
or at least enough info for problem determination |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
dbzTHEdinosauer wrote: |
this is the COBOL forum, not the interview forum. |
Topic is been moved to "Interview Questions" part of the forum.
-Ad |
|
Back to top |
|
|
|