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 |
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
I want ALL ERROR codes in VSAM
3 Answers American Express, TCS,
How many bytes S(8) comp field occupy and its maximum value?
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
Why there is no questions in this column?
) what is the difference between AID and HANDLE AID?
What is the Purpose of POINTER Phrase in STRING command
How you can read the file from bottom?
how to display the dataset information?
what will happen if pass values more than 100 using PARM parameter?
How many maximum number of procedures can we write in one COBOL program?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.