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
for me you have
c = 'XXX'
d = 'XXX'
e = 001
and A = 'XXXXXX001'
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How to know whether the module is dynamical or statistical?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Can a Search can be done on a table with or without Index?
How do get the result of your program directly on your pc?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is the utilization of copybook in cobol?
what is difference between cobol and cobol/400
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Which division and paragraphs are mandatory for a COBOL program?