Search This Blog

Friday, 6 January 2012

Mainframe developer Questions?

This is Sahasra, I am trying for a job as a Mainframe developer. I am attending the interview as a 3+ candidate. The real time questions like: 1)Tell me about your project 2)tell what is the recent change request you have got? 3)what are the difficulties you faced? 4)what are the abend codes you got and how you resolved them

 1)Tell me about your project
Ans: Explain about your project (client location, business requirement, team size and roles and responsibilities).

2)Tell what is the recent change request you have got?
Ans: Tell one business requirement, which is related to the your code. How could you code, what cycle process you implemented your code. From the FRD to End everything you should explain step by step.

3)What are the difficulties you faced?
Ans: If any requirement you didn't understand (or) If existed code is very difficult to understand etc....

4)What are the abend codes you got and how you resolved them
Soc4, Soc7, Space abend (SB37, SD37, SE37), 811, 803, S322 etc....


Explain the process of resolving soc4& soc7 errors?

 

Steps taken to resolve to resolve S0C7
1. Get the offet of the abend from sysout
e.g lets say the offset is 0005DA
2. Go the compile listing and locate the offset. This will be present in the assembly listing of the program.
000067  MOVE                                                                  
   0005D6  4820 8018               LH    2,24(0,8)               WS-COMP      
   0005DA  4E20 D100               CVD   2,256(0,13)             TS2=0        
   0005DE  F332 8020 D105          UNPK  32(4,8),261(3,13)       WS-DEST      
   0005E4  96F0 8023               OI    35(8),X'F0'             WS-DEST+3    
000068  DISPLAY                                                               
   0005E8  5820 905C               L     2,92(0,9)               TGTFIXD+92   
   0005EC  58F0 202C               L     15,44(0,2)              V(IGZCDSP )  
   0005F0  4110 A1F6               LA    1,502(0,10)             PGMLIT AT +490
   0005F4  05EF                    BALR  14,15                                
000069  DISPLAY                                                               
   0005F6  58F0 202C               L     15,44(0,2)              V(IGZCDSP )  
   0005FA  4110 A1E0               LA    1,480(0,10)             PGMLIT AT +468
   0005FE  05EF                    BALR  14,15                                  

3. Get the statement number from the listing, here the offet 0005DA is the expansion for the statrement number 000067.
4. Using the statement number obtain the statement.
which would be something like this:
000067                       MOVE WS-COMP TO WS-DEST. 
Now this is the problematic statement.
Look in to this to resolve the abend.
Hope this helps.
 Regards,
SRISAN DUKKA

ANS)Steps taken to resolve to resolve S0C4
S0C4 may be due to 1.Missing Select statement(during compile)
2.Bad Subscript/index
3.Protection Exception
4.Missing parameters on called subprogram
5.Read/Write to unopened file
6.Move data from/to unopened file
6. Trying to delete a file which is in production (or to be more precise - trying to delete a dataset which has no access by the user to delete that particular dataset)

No comments:

Post a Comment