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...

What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?

Answer Posted / ram.g

ans to last ans

anything you can move to alpha...provided ..ur input is w/n
quotes...


ans to ur qn...

its quite possible by using redefine command...

the field will be sharing same memorylocation..

eg: 05 ws-num pic 99
10 ws-char redefines ws-num pic x(2)

move 12 to ws-num
move 'ab' to ws-char

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you differentiate between cobol and cobol-ii?

1224


What is the difference between structured cobol programming and object alternativelyiented cobol?

1258


Difference between cobol and cobol-ii?

1286


For rewrite, why is it mandatory that file needs to be opened?

1124


What is a report item?

1153


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2600


How many bytes S(8) comp field occupy and its maximum value?

2152


What is the compute verb? How is it used?

1156


What are the rules of the move verb?

1278


Difference between array and sub-script ?

1671


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2290


How you can characterize tables in cobol?

1212


How are the next sentence and continue different from each other?

1310


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1370


What are the different types of condition in cobol and write their forms.

1125