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 can I get the negative sign while deduct high value from low value

2210


What is the LINKAGE SECTION used in COBOL?

1466


What is the difference between comp and comp-3 usage?

1122


What are the different open modes available in cobol?

1142


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1601


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9740


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1063


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

1284


What is comp-1 and comp-2?

1181


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1193


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2011


how do you reference the printer file formats from cobol programs

1138


How do we get current date from system with century in COBOL?

1316


Define cobol?

1306


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

1224