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...

01 a pic s9(5) value -12345,
if we disply a , the sign will overpunched with last digit
but i need to get the miuns sign in the result?

Answer Posted / saravana

01 A pic s9(5) value -12345
01 B pic -9(5)
PROCEDURE DIVISION
MOVE A TO B
DISPLAY B
STOP RUN

o/P:
-12345

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of outrecord?

2275


What is the use of intialize verb?

1300


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1211


What are the different open modes available in cobol?

1249


How do you differentiate between cobol and cobol-ii?

1285


Discuss about changing dataset name in proc.

1296


What is the LINKAGE SECTION used in COBOL?

1603


How to know whether the module is dynamical or statistical?

1213


) what is the difference between AID and HANDLE AID?

2200


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1185


When is inspect verb is used in cobol?

1315


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1397


What is the Purpose of Pointer in the string?

1126


What are the different data types in cobol?

1515


) How do u handle errors in BMS macro?

2018