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
What rules are followed by the search verb.
What are all the divisions of a COBOL program?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How many sections are there in data division in COBOL?
Why did you choose to work with ibm mainframe cobol programming?
how do you reference the variable unblock file formats from cobol programs
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
In COBOL, what is the different between index and subscript?
How you can read the file from bottom?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the different types of condition in cobol and write their forms.
What is a scope terminator give example?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..