a pic s9(4) comp
b pic s9(4) comp-3
c ????????????????
d ????????????????
move a to c
add a+B giving d.
what is ur declaration for c,d?
Answer Posted / vinodquestion
I dont know what you need mr. LU. My question is in place of '?' what do you code for that manipulations.. i.e give declarations for c,d and it satisfies both move,add operations.. if it is not possible give me your conclusion...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
) how do u code after getting data?
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between comp and comp-3 usage?
What are the different rules of SORT operation?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the Purpose of Pointer in the string?
Write a program to enter and display the names of students in a class using the occurs clause.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
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.
HOw can I get the negative sign while deduct high value from low value
What is cobol?
Are you comfortable in cobol or jcl?