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

Answers were Sorted based on User's Feedback



The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VAL..

Answer / mftesh

b

Is This Answer Correct ?    8 Yes 2 No

The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VAL..

Answer / sakthivel kannan

The answer is (a) only

Is This Answer Correct ?    3 Yes 1 No

The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VAL..

Answer / varun v

Yes Answer should be (a). I tried the same...

Is This Answer Correct ?    2 Yes 1 No

The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VAL..

Answer / shubham

A

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

which one is the best of com and com-3.using of real time ?

7 Answers   Cap Gemini,


Can anybody give me example of subscript and index

5 Answers  


If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

1 Answers   HCL,


Why occurs can not be used in 01 level ?

2 Answers   TCS,


How may divisions are there in JCL-COBOL?

5 Answers   IBM,






Can we redefine the field of x(200) to less than 200?

0 Answers  


can any one give good example for cond 88 level number and for renames pls urgent dudes ?

3 Answers   DELL,


how to display the dataset information?

2 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

3 Answers   TCS,


what is a load module ?

3 Answers   TCS,


What will happen if we generate GDG (+2) version without generating (+1) version?

2 Answers   IBM, T systems,


How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?

3 Answers   Cap Gemini, CTS,


Categories