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

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

1306


What is the difference between PIC 9.99 and PIC9v99?

1319


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5357


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1135


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

1130


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

2225


Difference between array and sub-script ?

1634


What is the difference between next sentence and continue in cobol programing language?

1195


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1276


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

1357


Which mode is used to operate the sequential file?

1180


How do you get the data to code the BMS macro?

1950


Name the sections present in data division.

1219


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

9843


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

1215