If i have a variable
A pic 9(2) value 10
Compute A = a - 100
what will be the value of A and will there be any error
becoz of the Negative value
Answer Posted / chandrakant sinha
90 will be the output
No error will be generated.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Why did you choose to work with ibm mainframe cobol programming?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Difference between array and sub-script ?
HOw can I get the negative sign while deduct high value from low value
What is the difference between perform … with test after and perform … with test before?
What rules are followed by the search verb.
Can a Search can be done on a table with or without Index?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between PIC 9.99 and 9v99 in COBOL?
how do you define single dimensional array and multidimensional array in your cobol?
What is difference between static and dynamic call in cobol?
How you can read the file from bottom?
Why would you use find and get rather than to obtain?