How do you define a variable of COMP-1? COMP-2?

Answers were Sorted based on User's Feedback



How do you define a variable of COMP-1? COMP-2?..

Answer / pal

77 A COMP-1.
77 B COMP-2.

because we can't use PIC clause in comp-1 & comp-2

Is This Answer Correct ?    42 Yes 8 No

How do you define a variable of COMP-1? COMP-2?..

Answer / paddu

01 a usage comp-1.
01 b usage cpmp-2.
this way to define

Is This Answer Correct ?    12 Yes 1 No

How do you define a variable of COMP-1? COMP-2?..

Answer / vampire

01 a comp-1
01 b comp-2

Is This Answer Correct ?    9 Yes 4 No

Post New Answer

More COBOL Interview Questions

What are the pertinent COBOL commands?

0 Answers   Satyam,


Can we use goto statement in inline_perform ?

5 Answers   IBM,


.How to add one input & one Out file in existing cobol program. how approach tell me step by step.

2 Answers   Syntel,


created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?

3 Answers   Cap Gemini, CTS,






if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.

1 Answers   IBM,


Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb

1 Answers  


How does IDMS communicate with CICS?

1 Answers   Covansys, Satyam,


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

0 Answers   HSBC, Quest,


what is the result of the following? DIVIDE A INTO B GIVING C. a.C=A/B b.the reminder of B/A is stored in C c.C=B/A d.the reminder of A/B is stored in C

3 Answers   TCS,


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

3 Answers   TCS,


How do you reference the fixed block file formats from cobol programs

0 Answers  


Categories