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


Please Help Members By Posting Answers For Below Questions

How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

706


How do we get current date from system with century in COBOL?

805


What is a scope terminator give example?

655


What is the difference between PIC 9.99 and PIC9v99?

778


Discuss about changing dataset name in proc.

759






In which area will you utilize 88 level items in cobol?

720


Why did you choose to work with ibm mainframe cobol programming?

629


What are declaratives and what are their uses in cobol?

710


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1612


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17031


What is the difference between next sentence and continue in cobol programing language?

708


) How do u handle errors in BMS macro?

1427


What is the difference between comp and comp-3 usage?

678


What is the problem of ordered sequential files access?

694


How can you get the ksds file records into your cobol program?

642