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 is binary search?
We have 3 programms A,B,C.In the middle of the program A the controls goes to program B and in the middle of the program B control wants to go program C,after completion of program C again control comes to program B and again after completion of program B control comes to program A.How the process will takes and what are the controls we use for that process.If it is possible anybody of you explain with example?
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
plz,could any one tell me? what about EBCDIC in cobol?briefly?
Can we access the a[0] in the array ?
if someone is using my file,how can i find which user id is using?
01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
in the TIME parameter we r giving hours r minutes
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
Explain about Redefines cluse?
How can you add a particular field/coloumn in copybook?