COMP field occupy ?
Answers were Sorted based on User's Feedback
Answer / anil prajapati
internally it will store space like as
s9(n) comp where n is as
0-4 --->2 bytes
5-9 --->4 bytes
10-18 ---> 8 bytes
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / prakash shrivastava
comp is a binary storage format.....
0-4 2 bytes-1/2 word
comp is binary storage format...
it occupy--
0-4 2 bytes-1/2 word
5-9 4 bytes-1 word
10-18 8 bytes-2 word
| Is This Answer Correct ? | 4 Yes | 0 No |
I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?
Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)
3 Answers Cap Gemini, Mind Tree,
In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
What is SSRANGE, NOSSRANGE ?
can we write paragraph in area B .....
example for sub strings ? and refernce modifications whit output pls
0 Answers College School Exams Tests, IBM,