Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

how can i see junk values in dclgen or in hostvariable of comp ?

3005


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1359


what happens if parmparameter passes zero bytes to the program

2142


When is inspect verb is used in cobol?

1260


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1161


How do define dynamic array in cobol.

1145


Write some characteristics of cobol as means of business language.

1149


Whats the difference between search & search ALL?

6549


Define cobol?

1414


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

868


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

1244


what is the use of outrecord?

2226


What is the utilization of copybook in cobol?

1203


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?

1209


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2479