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

you will need two variables. Variable A where you put your
computation and variable B which will be displayed:

01 a pic s9(5) value -12345.
01 b pic -9(5).
or 01 b pic -zzzz9.
or 01 b pic 99999-.
or 01 b pic z(5)-.
or 01 b pic ----9.

MOVE A TO B.
DISPLAY B.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2435


) How do u handle errors in BMS macro

2057


What is the difference between comp and comp-3?

1189


Write a program that uses move corresponding.

1153


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2084


Are you comfortable in cobol or jcl?

1052


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2227


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

1209


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

1115


Can we change the password using ALTER? anyone tried and changed?

2021


how to access the file from prodution from changeman tool and to submit a file to production

7551


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2477


What is the difference between perform … with test after and perform … with test before?

1460


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2474


What kind of error is trapped by on size error option?

1250