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) OR 9(9) to X(9)? If yes what are
the ways for doing this?

Answer Posted / varun v

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

Move X(9) to 9(9):-

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.

Similarly viceversa..

Is This Answer Correct ?    18 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the sections present in data division.

1251


) How do u handle errors in BMS macro?

1976


what is search and searchall?what is the diffrence between them?give an best example?

6837


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1117


When is inspect verb is used in cobol?

1258


What is the difference between PIC 9.99 and PIC9v99?

1342


What is the compute verb? How is it used?

1149


how to access the file from prodution from changeman tool and to submit a file to production

7551


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1145


In which area will you utilize 88 level items in cobol?

1165


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

2113


What is the utilization of copybook in cobol?

1198


What are literals?

1141


How you can read the file from bottom?

1159


In COBOL programming, what is PERFORM? What is VARYING?

1152