Joined: 22 Sep 2013 Posts: 81 Location: pune india
Below are questions i faced in interview at IBM
1. How to find the dataype of variable without looking at its declaration?
MY answer was
2. Why we sometiomes prefer queue even we want too transfer data less than 65k ?
My answer was
DFHCOMMAREA cannot be transferred between different transaction (can only be transferred only within programs of same transaction) while queue can.We cannot retrieve data once transaction is terminated in DFHCOMMAREA while in queue we can.
Was i correct and what we can add more to this answer.
3.Why CICS programe is always compiled with NODYNAM compiler option?
My answwer was
4. Tell me 5 ways from where we can find whether file is in ascending or descending order ?
My answer was
looking at declaration,
5. What additional thing we need to specify in JCL while using alternate index in VSAM
Answers to all the questions are present on this forum or elsewhere as well. However, some questions doesn't make sense for e.g. 1,4 so if I ware you then I could have asked for more counter questions to clear to they exactly want...
it is recommended and advised as per Compiler options required for the integrated CICS translator and with below so far reasons and discussion,
"DYNAM" in this context is the COBOL compiler option that instructs the COBOL compiler to generate a dynamic call instruction sequence for --every-- occurrence of a CALL verb. When a COBOL program is compiled with the DYNAM option specified, it will NOT perform ANY static calls. Compiling with the DYNAM option is what is not supported in the CICS environment.
The opposite of the DYNAM option is NODYNAM. When a program is compiled with the NODYNAM option, CALL statements of the form CALL 'PROGRAM' (with the program name between apostrophes) will generate a STATIC call sequence of instructions: L R15,=V(PROGRAM) followed by BALR R14,R15. CALL statements of the form CALL PROGRAM-NAME (where PROGRAM-NAME is a variable defined in Working Storage which may or may not contain a VALUE specified at compile time, and to which a program name can be MOVEd at run time) will generate a dynamic call instruction sequence that begins with invoking a LE module (I don't recall the name of that LE module).
Thus, when a program is compiled with NODYNAM it can issue BOTH static and dynamic calls, and with NODYNAM specified at compile time CICS will support both static and dynamic calls at run time.
Also you can look for below links, and please let us know in case if it still confuses...