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 a variable is declared as below..
Explain with an example?

Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).

Answer Posted / ankur

after redefining we can also move alphabetic to numeric or
numeric to alphabetic field . mathematical operation is
different . if we go for that it will give s0c7.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1258


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

1210


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2444


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

1425


What are the different rules of SORT operation?

1202


what is the difference between COBOL2 AND COBOL390?

3113


What is the problem of ordered sequential files access?

1207


What are the pertinent COBOL commands?

3235


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17930


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

920


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4211


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

1279


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

1154


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1501


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

1299