When the working storage variables get allocated?
a.At Compile time
b.At starting of the run time
c.At end of the run time.
d.None of these
Answers were Sorted based on User's Feedback
Answer / shiva
in working-storage section...
we declare temporary variables...which are used in progam...
so all temporary variables get resolved during compilation...
where as fields declared in linkage-section..get allocated
during execution time r runtime
Is This Answer Correct ? | 6 Yes | 1 No |
Working storage variables will get allocated when the
program is start running.
so answer would be B. At starting of the run time.
Is This Answer Correct ? | 1 Yes | 1 No |
What are the steps you go through while creating a COBOL program executable?
how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0
what happens if parmparameter passes zero bytes to the program
tell me about examine inspect and evaluate ?
How many sections are there in data division?.
WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
how do you reference the printer file formats from cobol programs
hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
What is the Purpose of POINTER Phrase in STRING command in COBOL?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc