What is difference between com and com3? Eg. s9(4) so what
is the memory it will occupy com and com3.
Answers were Sorted based on User's Feedback
Answer / rekha
comp | comp-3
___________________________|__________________________________1>it
will store the data | it will store the data in PACKED in
BINARY FORMAT | DECIMAL FORMAT
2>s9(1)-s9(4) --> 2byts | s9(n)
s9(5)-s9(9) --> 4bytes | if n --> even occupies (n/2)+1b
s9(10-s9(18) -->8bytes | if n --> odd occupies (n+1)/2b
3> it will occupies the | it will occupy less memory
memory based on the range |
____________________________________________________________ex
- s9(4) occupies 2bytes for comp
s9(4) occupies 3bytes for comp-3
| Is This Answer Correct ? | 7 Yes | 1 No |
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
What is ASKTIME, SUSPEND
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?
how would you resolve sb37 and SE37?
s9(18) comp-3:: What is the size of memory it takes internally?
What are various search techniques in cobol? Explain.
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?