IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

File status information in storage dump


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

New User


Joined: 22 Jun 2007
Posts: 85
Location: bangalore

PostPosted: Tue Oct 28, 2008 3:50 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Oct 28, 2008 4:47 pm
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: 85
Location: bangalore

PostPosted: Wed Oct 29, 2008 10:35 am
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: 6966
Location: porcelain throne

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

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 29, 2008 1:04 pm
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

Superior Member


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

PostPosted: Wed Oct 29, 2008 1:50 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top