Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

File status information in storage dump

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
janmejay
Warnings : 1

New User


Joined: 22 Jun 2007
Posts: 81
Location: bangalore

PostPosted: Tue Oct 28, 2008 3:50 pm    Post subject: File status information in storage dump
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Oct 28, 2008 4:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
janmejay
Warnings : 1

New User


Joined: 22 Jun 2007
Posts: 81
Location: bangalore

PostPosted: Wed Oct 29, 2008 10:35 am    Post subject: File status information in storage dump
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Wed Oct 29, 2008 12:32 pm    Post subject:
Reply with quote

this is the COBOL forum, not the interview forum.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Oct 29, 2008 1:04 pm    Post subject: Reply to: File status information in storage dump
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Oct 29, 2008 1:50 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us