What is difference between comp & comp-4?

Answers were Sorted based on User's Feedback



What is difference between comp & comp-4? ..

Answer / satishk

Hi friends,
The above answers are all wrong.
here is the right link for that to know.
try to make use of ibm-mannuals as much as possible, dont
go for all raw-materials, this is my strict warning to all
mainframes learners.
http://ibmmainframes.com/size.html

Is This Answer Correct ?    9 Yes 1 No

What is difference between comp & comp-4? ..

Answer / sachin

COMP-4 and comp is similar to Binary
COMP-5 is for display usage type.. termed as native binary

Is This Answer Correct ?    6 Yes 0 No

What is difference between comp & comp-4? ..

Answer / thoms

comp
comp4
comp5
all of above stated usage clauses are used by cobol prog's
to store numeric values in a binary data formate inorder to
efficiently use memory.

Is This Answer Correct ?    2 Yes 0 No

What is difference between comp & comp-4? ..

Answer / anil prajapati

comp and comp-4 are synonyms

Is This Answer Correct ?    3 Yes 8 No

What is difference between comp & comp-4? ..

Answer / pal

Comp is computational clause
nothing but using the memory in a efficient way
i think there is no comp-4

Is This Answer Correct ?    3 Yes 19 No

What is difference between comp & comp-4? ..

Answer / satya sivaji

Computational clauses allows cobol programe to efficiently
represent the data internally.There are 5 forms of
representing data which are
1).Display(default)
2).Comp
3).Comp-1
4).Comp-2
5).Comp-3.
And there is no Comp-4.

Is This Answer Correct ?    2 Yes 27 No

Post New Answer

More COBOL Interview Questions

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

0 Answers   IBM,


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

1 Answers  


Is It Possible to Update or change in VIEW Mode?

5 Answers   CSC,


How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

7 Answers   CGI, TCS,


s9(18) comp-3:: What is the size of memory it takes internally?

4 Answers  






if one main program ,n -subprograms are then which call you follow ?why reasonuhg

4 Answers   UHG,


write a program to eliminate duplicate records in a input file and send them to output file.

2 Answers   IBM,


State the various causes of s0c1, s0c5 and s0c7.

0 Answers  


wht happens if we dnt give scope terminator ?

4 Answers   TCS,


What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES

7 Answers   TCS,


Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?

12 Answers   T systems, Tech Mahindra,


input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 Answers  


Categories