Question on precompilation and compilation variables.

All sort of Mainframes Interview Questions.
Previous topicNext topic

Topic Author
Meera Longe
New Member
Posts: 5
Joined: Tue Jan 19, 2016 10:32 am

Question on precompilation and compilation variables.

Post by Meera Longe » Tue Sep 06, 2016 3:12 pm

Hi,

I have an interview question to ask which has left me like statue.

Give some example of compilation and pre-compilation variables in COBOL?

And what should we call "bind" variables for a COBOL-DB2 program?




Topic Author
Meera Longe
New Member
Posts: 5
Joined: Tue Jan 19, 2016 10:32 am

Re: Question on precompilation and compilation variables.

Post by Meera Longe » Thu Sep 08, 2016 1:55 pm

Hi,

Do you want to me supply some more details for the questions? Please tell me.




zprogrammer
Global Moderator
Global Moderator
Posts: 603
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars
Zodiac: Libra

Re: Question on precompilation and compilation variables.

Post by zprogrammer » Thu Sep 08, 2016 9:28 pm

Meera Longe wrote: I have an interview question to ask which has left me like statue.Give some example
I think interviewer was trying to frame a different question and fumbled


zprogrammer

User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1328
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Question on precompilation and compilation variables.

Post by Robert Sample » Thu Sep 08, 2016 9:42 pm

Pre-compile, compile, and bind are processes that are used to convert a source program into executable code. None of them really have "variables" -- options, yes but no variables are involved (where a variable allows the value to change during the pre-compile / compile / bind process and options are fixed once the pre-compile / compile / bind starts). Plus there can be different types of pre-compile; there is not just one type of pre-compile (CICS used to require a pre-compile but now for COBOL it is integrated into the compiler, for just one example). If you're wanting to know the options, those are easy enough to look up in the manuals. If something else was meant by variables, you would have to explain more about what was meant for any kind of meaningful answer to be provided.



Previous topicNext topic

Return to “Interview Questions.”