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 |
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.
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how to convert the recors form vsam file to db2 table tru file aid
What is amode(24)?
SIGN TRAILING SEPARATE field occupy ?
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
What do you do to resolve SOC-7 error?
How can you add a particular field in copybook?
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
What is Static and Dynamic linking ?
If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.
Write the syntax of a two dimensional array?