01rec1.
05 a pic 999v99 value 123.12
05 b pic 99v9 value 45.9
02 rec2.
05 x pic 999v99
05 y pic 99v99
05 z pic x(3) value 'abc'
if rec1 is moved to rec2 then what is the value of rec2?
Answers were Sorted based on User's Feedback
Answer / praveen
REC2 will just contain 12312459 , the code was tested
| Is This Answer Correct ? | 2 Yes | 1 No |
what is filler and what is use of filler
what is level 66 means??
what is the difference between external and global variables?
what is SYNCHRONIZATION?
Can 88 level variable be declared in FD section..?
what is the use of comp2 ? where can we use it with example ?
file status 00 is checked after opening the file or reading the file
What is an explicit scope terminator?
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.