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 / jitinder

The Syntax of Redefine Clause is

Label number data-name-1 REDFINES data-name-2

Here data-name-1 should not contain VALUE clause, but data-
name-2 can contain VALUE clause.

Plz correct me if i m wrong.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2027


Why did you choose to work with ibm mainframe cobol programming?

1050


What is the difference between binary search and sequential search?

1054


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2077


What is a report item?

1104


what is difference between cobol and cobol/400

22769


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5695


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.

4126


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1199


Difference between cobol and cobol-ii?

1204


What is cobol?

1207


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2402


how do you define single dimensional array and multidimensional array in your cobol?

1057


Define static linking and dynamic linking.

1126


Write a cobol program making use of the redefine clause.

1134