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

Can printer files (having 133 characters) be of variable length?

3 Answers  


What is EIBCALEN? Why it is used?

9 Answers   ADP,


Difference between cobol and cobol-ii?

0 Answers  


When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these

6 Answers   Wipro,


Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .

4 Answers   IBM, Syntel, TCS,






what are the error codes in cobol, db2, cics, vsam , and jcl

2 Answers   TetraSoft,


what is MSGLEVEL?

1 Answers   IBM,


How many maximum number of procedures can we write in one COBOL program?

6 Answers  


If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.

3 Answers   CTS,


In an array processing what is the thing that can be done by using subscripts but not by using index

4 Answers   JPMorgan Chase,


77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?

9 Answers   TCS,


sample code for read a 2nd record from last in flatfile how can do?

4 Answers   iNautix,


Categories