The following entries appear in the WORKING-STORAGE SECTION:
01 DATE-TODAY.
05 YY PIC XX VALUE "90".
05 MM PIC XX VALUE "12".
05 DD PIC XX VALUE :31".
01 DATE-EDIT PIC XX/XX/XX.
MOVE DATE-TODAY TO DATE-EDIT.
(a) 901231
(b) 90/12/31
(c) 31/12/90
(d) 311290
Answer Posted / varun v
Yes Answer should be (a). I tried the same...
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
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 various search techniques in cobol? Explain.
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is rmode(24)
how do you reference the printer file formats from cobol programs
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?
what happens if parmparameter passes zero bytes to the program
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
In COBOL, what is the different between index and subscript?
Name some of the examples of COBOl 11?
What are declaratives and what are their uses in cobol?
Write a program to explain size error.
example for sub strings ? and refernce modifications whit output pls