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
How are the next sentence and continue different from each other?
Write a program to enter and display the names of students in a class using the occurs clause.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
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.
What are the cobol coding sheets?
How can you get the ksds file records into your cobol program?
For rewrite, why is it mandatory that file needs to be opened?
How to remove 2 duplicate records and copy only one using job control language?
What are the different open modes available in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Define cobol?
Why did you choose to work with ibm mainframe cobol programming?