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 |
Which mode is used to operate the sequential file?
Can a Search can be done on a table with or without Index?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
What is the difference between SEARCH and SEARCH ALL? What is more efficient?
How you can read the file from bottom?
comp-3 field occupy?
What is rmode(any) ?
what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?