Question on precompilation and compilation variables.

All sort of Mainframes Interview Questions.
Post Reply
Meera Longe
Registered Member
Posts: 12
Joined: Tue Jan 19, 2016 10:32 am

Question on precompilation and compilation variables.

Post 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?
Meera Longe
Registered Member
Posts: 12
Joined: Tue Jan 19, 2016 10:32 am

Re: Question on precompilation and compilation variables.

Post by Meera Longe »

Hi,

Do you want to me supply some more details for the questions? Please tell me.
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: Question on precompilation and compilation variables.

Post 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
zprogrammer
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Question on precompilation and compilation variables.

Post 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.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”