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

What are INPUT PROCEDURE and OUTPUT PROCEDURE?

912


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2325


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2131


How to remove 2 duplicate records and copy only one using job control language?

965


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

11490






Which Search verb is equivalent to PERFORM…VARYING?

845


How do u write test cases?

1808


What is the Purpose of POINTER Phrase in STRING command in COBOL?

952


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

1027


How do you differentiate between cobol and cobol-ii?

839


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

989


what is amode(24), amode(31), rmode(24) and rmode(any)?

882


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

1813


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8656


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1999