What is wrong with the following data declaration?
01 W-DATE PIC X(6).
05 DD PIC 99.
05 MM PIC 99.
05 YY PIC 99.
(a) Nothing is wrong.
(b) Under W-DATE all level 05 items are having a PIC 99 but
level
01 has PIC X(6).
(c) PIC can't be specified for a group item.
(d) DD, MM, and YY are invalid datanames.
Answer Posted / sachin
We never specified pic clause on group level item.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
how to access the file from prodution from changeman tool and to submit a file to production
Whats the difference between search & search ALL?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
i need a small 3d program using inline and outline.
Write the code implementing the perform … varying.
Explain how to differentiate call by context by comparing it to other calls?
How you can characterize tables in cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Mention the guidelines to write a structured cobol program?
Define static linking and dynamic linking.
how do you define single dimensional array and multidimensional array in your cobol?
what is difference between cobol and cobol/400
What is rmode(24)
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?