01 x pic s9(8) comp.
How will the following value be internally allocated
'18787'
Answer Posted / kapil arya
Basically Comp Makes the word boundary.
(0 - 4) 2 Bytes (Half Word boundary)
(5-9) 4 Bytes (Full Word Boundary)
(10-18) 8 byte Double word Boundary
Because it is s9(8) Comp..
So I will take 4 byte to store the date.
And it will allocated like:
01 87 87 , will store in 3 byte and one byte will be free
or unused..
Guys or Girls i have one question...
Related to JCL
I have a jcl where in a step i have one DD statement where
i am concatinating the 3 dataset..so in next step i want to
override the 3rd dataset only.. So how can i override the
3rd dataset.. Please let me know the answer...
Thanks to All..
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Explain how to differentiate call by context by comparing it to other calls?
How do define dynamic array in cobol.
What are the different rules to perform a Search?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Why would you use find and get rather than to obtain?
Write a cobol program making use of the redefine clause.
What is the difference between Call and a Link?
What is the difference between perform … with test after and perform … with test before?
What are the different data types in cobol?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is perform what is varying?
Can a Search can be done on a table with or without Index?
what happens if parmparameter passes zero bytes to the program
i need a small 3d program using inline and outline.