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
Answers were Sorted based on User's Feedback
Answer / chandrakant sinha
90 will be the output
No error will be generated.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / 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 |
01 b pic +9(4) How many bytes it will take for storage???
WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??
What are the different open modes available in cobol?
How do you submit JCL via a Cobol program?
what is the difference between Normal vaiable and comp variable.
What is the difference between goback, stop run and exit program in cobol?
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
which one is the best of com and com-3.using of real time ?
what is record label is empty or standard in file description of data division?
Can printer files (having 133 characters) be of variable length?
What R 2 of the common forms of the EVALUATE STATEMENT ?
What is the difference between SEARCH and SEARCH ALL?