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 / kiran
90 ill come "-" sign wont come bcoze we didnt mention A as a
signed variable
ex
A pic s9(2)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the different rules for performing sort operation?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between goback, stop run and exit program in cobol?
How do we get current date from system with century in COBOL?
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.
What is report-item in COBOL?
What is a report item?
how do you reference the ksds vsam file formats from cobol programs
What is the difference between PIC 9.99 and PIC9v99?
Can we redefine the field of x(200) to less than 200?
What are literals?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?