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(10) VALUE 'ABCDEFGHIJ'.
01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'.

What will happen I want Display WS-VARX and WS-VARN?

Answer Posted / reena

The Redefined clause cannot contain a Value Clause.
i.e. it should only be WS-VARN REDEFINES WS-VARX PIC 9(5).

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1209


What are the pertinent COBOL

2520


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1470


how do you reference the variable block file formats from cobol programs

1199


How many sections are there in data division in COBOL?

1097


) how do u code after getting data?

2101


How do you define a variable of comp-1 and comp-2?

1158


Can you please let me know the centre name of INS certification in Kolkata.

2203


) what is the difference between AID and HANDLE AID?

2110


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1054


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6485


what happens if parmparameter passes zero bytes to the program

2095


What are the different open modes available in cobol?

1165


example for sub strings ? and refernce modifications whit output pls

2280


What is the difference between comp and comp-3?

1140