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

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

0 Answers  


How to read a record from bottom of a file which is indexed by 'A'.

4 Answers   Oracle,


Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?

5 Answers  


i need a small 3d program using inline and outline.

0 Answers  


how many bytes do SPPPP999 will store?

18 Answers  


if we have a 10 steps how to override the 4th step in jcl?

2 Answers   Hewitt,


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

0 Answers  


what is meant by binary search?

4 Answers  


I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


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

0 Answers   IBM,


how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?

2 Answers   TCS,


What is the difference between Perform para and perform asaection in cobol?

3 Answers   TCS,


Categories