01 a pic x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.
Answer Posted / amjith pillai
01 a pic x(4) value 'abcd'
01 b pic 9(3)
Yes, you can move. Try just a move and display B. you will
get abc.
But if you go for an operation (add, move to comp variable
etc) then you will hit SOC7
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are literals?
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.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Can we change the password using ALTER? anyone tried and changed?
What is amode(31)
Write a cobol program making use of the redefine clause.
What are 77 levels used for?
Have you used comp and comp-3 in your project? And how?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are the rules of the move verb?
What is cobol?
How do get the result of your program directly on your pc?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Why would you use find and get rather than to obtain?
How can you get the ksds file records into your cobol program?