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 you can characterize tables in cobol?
SSRange is used to do a range check on which of the Following. SUBSCRIPT,INDEX,REFERENCE MODIFICATION,Run-time option.
What should be the sorting order for SEARCH ALL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is reference modification? What is UNION in sql and syntax? What is the difference between GDGS and VSAM? Which is prefer one? What is processing groups in endevor?
What is the maximum data length for Numeric DataType ?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Difference between file status codes 02 and 22.... since both are for duplicate key detection.
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
what is SYNCHRONIZATION?
I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you