how to pass 100 to s9(4) how r they inserted ?
Answers were Sorted based on User's Feedback
Answer / chandru
Numeric data are right justified. So that the value inserted
will be 0100.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / 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 |
what is soc7 abend?how u can trace it?
How to define a array dynamically.....
Why we need to use redefine clause when we can define the variable seperately... what is actual need....
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the difference between Call and a Link?
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?
What is the difference between Perform para and perform asaection in cobol?
What is difference between static and dynamic call in cobol?
What is the LINKAGE SECTION used for?
i want to learn mainframes. i completed MCA ,whats the future of mainframes
How can I tell if a module is being called DYNAMICALLY or STATICALLY?
which one is the best of com and com-3.using of real time ?