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 / paray2x
1. you will get data exception as you cannot move 'XXX' to
a 9(3) field.
2. Since you have not initialised C,D it will be '......001'
Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the difference between PIC 9.99 and PIC9v99?
What is rmode(any) ?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What type of SDLC u followed? Why?
What are the pertinent COBOL commands?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
How you can read the file from bottom?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the compute verb? How is it used?
What is the utilization of copybook in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is static and dynamic call in cobol?
Write a program that uses move corresponding.