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 |
can I copy book which contain db2 statment in procedure divion?
using redefine can you redefine lower variable size to higher variable size?
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
What are the various section in data division and briefly explain them.
how will u code parm parameter and where pls ?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
What is the meaning of 'Eject' verb in cobol?
What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?
What will happen if we generate GDG (+2) version without generating (+1) version?
For rewrite, why is it mandatory that file needs to be opened?