What is difference between comp & comp-4?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb
Is It Possible to Update or change in VIEW Mode?
How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.
s9(18) comp-3:: What is the size of memory it takes internally?
if one main program ,n -subprograms are then which call you follow ?why reasonuhg
write a program to eliminate duplicate records in a input file and send them to output file.
State the various causes of s0c1, s0c5 and s0c7.
wht happens if we dnt give scope terminator ?
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
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.