I HAVE FOLLOWING DECLARATION.
02. A PIC X(10) VALUE 'XXXXXXXXXX'.
02. B REDEFINES A.
05. C PIC X(3).
05. D PIC X(3).
05. E PIC 9(3).
IN MY PROG, I HAVE
MOVE 1 TO E.
DISPLAY A.
WHAT WILL BE DISPLAYED AS A RESULT OF THIS?
PLEASE EXPLAIN THE ANSWER. THANKS.
Answer Posted / garry
Correct answer is : (As already explained and corrected by Duboisa )
C = xxx
D = xxx
e = 001
So A = xxxxxx001x
100% assured!!
Any difference can be routed or discussed at : thespider390@hotmail.com
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is the use of outrecord?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Write a program to enter and display the names of students in a class using the occurs clause.
Explain about different table spaces.
What are all the divisions of a COBOL program?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is link edit in cobol?
What guidelines should be followed to write a structured cobol prgm?
Write some characteristics of cobol as means of business language.
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How do you define a variable of comp-1 and comp-2?
What are 77 levels used for?
What type of SDLC u followed? Why?
How to remove 2 duplicate records and copy only one using job control language?