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?
Answer Posted / kingmanish
Valur of REC2 would be
12312459abc
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What are the pertinent COBOL commands?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the usage of comp fields in cobol?
Which is not true about evaluate statement
) how do u code after getting data?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the different rules for performing sort operation?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is a SSRANGE and NOSSRANGE?
Explain about different table spaces.
how do you reference the variable unblock file formats from cobol programs