Page 1 of 1

Question on precompilation and compilation variables.

Posted: Tue Sep 06, 2016 3:12 pm
by Meera Longe
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?

Re: Question on precompilation and compilation variables.

Posted: Thu Sep 08, 2016 1:55 pm
by Meera Longe
Hi,

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

Re: Question on precompilation and compilation variables.

Posted: Thu Sep 08, 2016 9:28 pm
by zprogrammer
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

Re: Question on precompilation and compilation variables.

Posted: Thu Sep 08, 2016 9:42 pm
by Robert Sample
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.