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 |
How to increase the logical record length of existing PS file?
what is soc7 abend?how u can trace it?
What are the pertinent COBOL commands?
what is the maximum error code in mainframe
What is the difference between Perform para and perform asaection in cobol?
COMP?
Write the syntax of a two dimensional array?
suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?
COMP field occupy ?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10
what are decleratives in cobol?