What will happen if a variable is declared as below..
Explain with an example?
Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Answer Posted / ankur
after redefining we can also move alphabetic to numeric or
numeric to alphabetic field . mathematical operation is
different . if we go for that it will give s0c7.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What the difference is between continue and next sentence?
Name some of the examples of COBOl 11?
) what is the difference between AID and HANDLE AID?
how do you reference the rrds file formats from cobol programs
What is redefines clause in COBOL?
Write down the divisions of cobol program?
Difference between array and sub-script ?
How do we get current date from system with century in COBOL?
What is comp-1 and comp-2?
Discuss about changing dataset name in proc.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What are 77 levels used for?
Define static linking and dynamic linking.
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.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning