View previous topic :: View next topic
|
Author |
Message |
trushant.w
New User
Joined: 22 Sep 2013 Posts: 81 Location: pune india
|
|
|
|
Hi All,
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
|
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3051 Location: NYC,USA
|
|
|
|
Trushant,
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... |
|
Back to top |
|
|
trushant.w
New User
Joined: 22 Sep 2013 Posts: 81 Location: pune india
|
|
|
|
Hi Rohit
Thanks for Input !!!
I did search in forum and elsewhere but cuold not found any concrete answer of below question.Please check if you can help.
Why CICS programe is always compiled with NODYNAM compiler option? |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3051 Location: NYC,USA
|
|
|
|
Trushant,
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...
ibmmainframes.com/about43804.html
ibmmainframes.com/about50153.html
publib.boulder.ibm.com/infocenter/ratdevz/v7r1m1/index.jsp?topic=/com.ibm.ent.cbl.zos.doc/topics/tpenv03b.htm
pic.dhe.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=%2Fcom.ibm.entcobol.doc_4.1%2FPGandLR%2Ftasks%2Ftpenv04.htm |
|
Back to top |
|
|
|