Question on precompilation and compilation variables.

All sort of Mainframes Interview Questions.

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

Question on precompilation and compilation variables.

Postby 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.

Postby 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
Has thanked: 7 times
Been thanked: 7 times

Re: Question on precompilation and compilation variables.

Postby zprogrammer » Thu Sep 08, 2016 9:28 pm

Meera Longe wrote:Source of the post 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

Online
User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1275
Joined: Fri Jun 28, 2013 1:22 am
Location: East Dubuque Illinois
Has thanked: 2 times
Been thanked: 90 times

Re: Question on precompilation and compilation variables.

Postby 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.




Return to “Interview Questions.”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests