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 |
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Which mode is used to operate the sequential file?
Which Search verb is equivalent to PERFORM…VARYING?
How can we increase the size of an existing PDS to include more no. of modules.
What are the divisions in a cobol program?
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
Is It Possible to Update or change in VIEW Mode?
If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
What is SET TO TRUE all about, anyway?
How To move a value to an array using move verb?