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

01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

2 Answers   IBM,


consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.

5 Answers  


how would you resolve sb37 and SE37?

2 Answers   Hewitt,


HELLO FRIENDS, THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER

7 Answers   Patni,


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,






1)what is use of linkage section? 2)what is difference between comp and comp-3

1 Answers   Cap Gemini,


If we use GO BACK instead of STOP RUN in cobol?

1 Answers   Temenos,


Which is not true about evaluate statement

0 Answers  


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

2 Answers  


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,


can we declare occurs in 01 level?

2 Answers   Temenos,


What are decleratives in COBOL ?

1 Answers   Xansa,


Categories