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

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

Answer Posted / vivekananda

We can't display COMP-3 directly so we have to move the value into another variable, check this given example.

01 A1 PIC S9(4) COMP-3 VALUE 1234.
01 A1-NUM PIC S9(4) VALUE ZEROES.
01 B1 PIC X(4).

MOVE A1 TO A1-NUM.
MOVE A1-NUM TO B1.
DISPLAY B1.

Is This Answer Correct ?    25 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by psb and acb?

1054


Give some examples of command terminators?

1195


How are the next sentence and continue different from each other?

1224


How to know whether the module is dynamical or statistical?

1080


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2479


What are the different data types in cobol?

1322


What is cobol?

1191


What is a report item?

1093


State the various causes of s0c1, s0c5 and s0c7.

1025


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2327


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1314


What is the difference between binary search and sequential search?

1043


What are the different rules of SORT operation?

1082


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1449


What is perform what is varying?

1111