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

Interview Questions asked in IBM


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
trushant.w

New User


Joined: 22 Sep 2013
Posts: 81
Location: pune india

PostPosted: Fri Apr 18, 2014 9:33 am
Reply with quote

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 icon_eek.gif


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 icon_eek.gif

4. Tell me 5 ways from where we can find whether file is in ascending or descending order ?
My answer was
looking at declaration, icon_sad.gif


5. What additional thing we need to specify in JCL while using alternate index in VSAM
icon_eek.gif
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Fri Apr 18, 2014 12:31 pm
Reply with quote

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... icon_smile.gif
Back to top
View user's profile Send private message
trushant.w

New User


Joined: 22 Sep 2013
Posts: 81
Location: pune india

PostPosted: Wed Apr 23, 2014 9:34 am
Reply with quote

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

Global Moderator


Joined: 21 Sep 2010
Posts: 3051
Location: NYC,USA

PostPosted: Wed Apr 23, 2014 11:48 am
Reply with quote

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... icon_confused.gif

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
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 Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top