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
Write a cobol program making use of the redefine clause.
What are declaratives and what are their uses in cobol?
Write some characteristics of cobol as means of business language.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Write the code to count the sum of n natural numbers.
IF I mention stop run in CICS what happens?
What is link edit in cobol?
example for sub strings ? and refernce modifications whit output pls
Explain how to differentiate call by context by comparing it to other calls?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the Purpose of Pointer in the string?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the difference between next sentence and continue in cobol programing language?