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...

Can we move X(9) to 9(9). If yes what are the ways for
doing this?

Answer Posted / varun v

yes you can..use REDEFINES for the same purpose.

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

Now you can move X(9) variable to WS-VARX.Eventually it is
moved to the 9(9) variable WS-VARN.

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a cobol program making use of the redefine clause.

1185


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

17881


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2222


Name some of the examples of COBOl 11?

3143


What are the different data types in cobol?

1448


Difference between cobol and cobol-ii?

1280


What the difference is between continue and next sentence?

1172


how to move the records from file to array table. give with code example

2678


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2551


What are declaratives and what are their uses in cobol?

1205


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1349


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1351


i want a program using by if, evaluate , string, unstring, perform, occurs?

4723


How many sections are there in data division in COBOL?

1138


What is inspect in cobol ?

1304