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

Are you comfortable in cobol or jcl?

0 Answers  


In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference

3 Answers   IBM,


i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast

4 Answers   L&T,


Explain Restart Logic in Cobol?

1 Answers   L&T, Syntel,


How you can delete a record from a ps file in cobol?

1 Answers  






db2 variable decimal(15,2) what is the equalent size of cobol variable

2 Answers   Syntel,


If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?

8 Answers   UST,


What are 77 levels used for?

0 Answers  


How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?

4 Answers   CSC, TCS,


What is the maximum length of a field you can define using COMP-3 in COBOL?

1 Answers   UGC Corporation,


what are the steps to sort in a cobol program?

2 Answers   Patni,


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

0 Answers  


Categories