how to pass 100 to s9(4) how r they inserted ?
Answer Posted / rags
we can pass 100 to S9(4) field, S9(4) can store a value
upto 9999.
If the field is S9(4) Comp then it uses 2 bytes
If the field is S9(4) Comp-3, it uses 3 bytes.
This is a Special scenario: here Comp is prefered over comp-
3 due to less space it occupy ( though Comp-3 generally
occupies less space than comp fields)
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
how do you reference the variable unblock file formats from cobol programs
Why occurs cannot be used in 01 level in COBOL?
What is a report item?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
A table has two indexes defined. Which one will be used by the SEARCH?
Explain how to differentiate call by context by comparing it to other calls?
What is amode(24)?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How can you get the ksds file records into your cobol program?
How to print 10 to 1 if the input have only 10 digit number?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are the pertinent COBOL commands?
What is link edit in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the use of intialize verb?