Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / garry

From above you will get answer as :

90 (without any sign'-').

If you Code S9(02).
Result : 9} (-90)
To get -90 properly, use SIGN is Leading or trailing.

Any difference, please write at : thespider390@hotmail.com

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For rewrite, why is it mandatory that file needs to be opened?

1104


Explain how to differentiate call by context by comparing it to other calls?

1180


What are the various section in data division and briefly explain them.

1172


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1293


example for sub strings ? and refernce modifications whit output pls

2315


how to refer the data field?

2266


how do you reference the variable block file formats from cobol programs

1246


Explain the configuration section of a cobol program with examples of syntax.

1193


What is inspect in cobol ?

1293


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2426


What rules are to be followed while using the corresponding options?

1058


Which is not true about evaluate statement

2451


Can we redefine the field of x(200) to less than 200?

1367


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2371


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

1159