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 do you reference the variable unblock file formats from cobol programs
what are difference organizations in cobol and access mode in cobol? can you expalin what organization means while declaring for ksds,esds,rrds?
what is the difference between external and global variables?
hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps
Can we redefine the field of x(200) to less than 200?
I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?
wht is structured cobol pgm and non structred cobol pgm ?
What is an index for tables?
What guidelines should be followed to write a structured Cobol program?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
0 Answers TryTechnicals Pvt Ltd,
What is COMP SYNC?
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,