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

Write a cobol program making use of the redefine clause.

731


what is the difference between COBOL2 AND COBOL390?

2453


Difference between array and sub-script ?

1164


What is the problem of ordered sequential files access?

697


Why would you use find and get rather than to obtain?

683






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

642


What is rmode(any) ?

686


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3715


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2658


How you can characterize tables in cobol?

716


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

932


Are you comfortable in cobol or jcl?

643


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

684


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

1588


What is amode(24)?

682