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 / duboisa

no you have
A = 'XXXXXX001X'

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is redefines clause in COBOL?

851


What is the Purpose of POINTER Phrase in STRING command in COBOL?

723


Mention the guidelines to write a structured cobol program?

621


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1958






i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1774


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

934


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5379


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748


Have you used comp and comp-3 in your project? And how?

2011


What is the difference between perform … with test after and perform … with test before?

885


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

644


How do you reference the fixed block file formats from cobol programs

709


Explain the configuration section of a cobol program with examples of syntax.

661