can we print comp 3 stmts how ?

Answers were Sorted based on User's Feedback



can we print comp 3 stmts how ?..

Answer / kaarthik


1. Redefine the comp-3 with a numeric field and then move
the numeric value to an Alphanumeric value and then Display
it.

Regards,
Kaarthik

Is This Answer Correct ?    7 Yes 1 No

can we print comp 3 stmts how ?..

Answer / amarnadh reddy

Another way is,

Use File-Aid, we can possible to see comp 3 stmts.

Ex: open File-Aid, 1st option means browse option. give
data set name and copy book layout and open F mode.

Is This Answer Correct ?    5 Yes 3 No

can we print comp 3 stmts how ?..

Answer / saravana

Move it to other x() or 9() variable and display that variable

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is a SSRANGE and NOSSRANGE?

0 Answers  


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?

3 Answers   Xansa,


what is index and how to use two tables using index?

1 Answers  


What is the difference between a binary search and a sequential search?

10 Answers  


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?

3 Answers   TCS,






CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


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

0 Answers  


How is sign stored in Packed Decimal fields and Zoned Decimal fields?

6 Answers   ABC, HCL, TCS,


I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..

3 Answers   iGate,


What is the size of s9(19)comp3? explain

8 Answers  


SIGN TRAILING SEPARATE field occupy ?

3 Answers  


In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?

5 Answers  


Categories