can we display comp-3 variables. if we want to display what
we have to do . give me one example

Answer Posted / craig

You can display them, but they will appear non-numeric.
Move the field to a WS field defined as pic +9('number of
digits') and display the WS field to make the data user-
friendly.

Is This Answer Correct ?    22 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

639


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

815


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

1542


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1644


What is Pic 9v99 Indicates in COBOL?

720






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

683


example for sub strings ? and refernce modifications whit output pls

1843


What are declaratives and what are their uses in cobol?

706


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

652


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

692


What are various search techniques in cobol? Explain.

641


Name the divisions, which are available in a cobol program?

679


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.

2050


) How do u handle errors in BMS macro?

1423


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.

1774