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 can i see junk values in dclgen or in hostvariable of comp ?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
what happens if parmparameter passes zero bytes to the program
When is inspect verb is used in cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How do define dynamic array in cobol.
Write some characteristics of cobol as means of business language.
Whats the difference between search & search ALL?
Define cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
what is the use of outrecord?
What is the utilization of copybook in cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?