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 / rookie
if you perform any arithmetic operation than comes the
question of any abend
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is report-item in COBOL?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How do get the result of your program directly on your pc?
Which is not true about evaluate statement
How do you reference the fixed block file formats from cobol programs
Explain what you understand by passing by value.
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.
What is the difference between external and global variables in COBOL?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is the difference between Global and External Variables?
Can we change the password using ALTER? anyone tried and changed?
what are decleratives in cobol?
What are the cobol coding sheets?
How arrays can be defined in COBOL?
What guidelines should be followed to write a structured cobol prgm?