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
Which is not true about evaluate statement
What is link edit in cobol?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
how to refer the data field?
how can i see junk values in dclgen or in hostvariable of comp ?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
i need a small 3d program using inline and outline.
What are all the divisions of a COBOL program?
How are the next sentence and continue different from each other?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Are you comfortable in cobol or jcl?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
How you can characterize tables in cobol?