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 / elite group
c) PIC clause can't be specified the group item
Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
Write a program to enter and display the names of students in a class using the occurs clause.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Why did you choose to work with ibm mainframe cobol programming?
What are the different data types in cobol?
what happens if parmparameter passes zero bytes to the program
What is a scope terminator give example?
How do we get current date from system with century in COBOL?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
) how do u code after getting data?
how do you reference the esds vsam file formats from cobol programs
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
) what is the difference between AID and HANDLE AID?
What are all the divisions of a COBOL program?