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?

Answers were Sorted based on User's Feedback



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

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

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

Answer / ashish

Alphanumeric to numeric movement is possible but not always,
say if it has numeric value then only it is possible o/w if
it contains alphabetic value then it wont b possible

Is This Answer Correct ?    10 Yes 4 No

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

Answer / nidhi

The NUMVAL function returns the numeric value represented by the
alphanumeric character string specified in an argument. The function
strips away any leading or trailing blanks in the string, producing a
numeric value that can be used in an arithmetic expression.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

hai friends ,i have HSBc exam on this sunday,my platform is Mainframe,i have 1 year exp,pls any one send me placement papers of Hsbc and technical questions on mainframe

6 Answers   Citi Bank, CitiGroup, HSBC, iNautix, Wipro,


is it possible to pass an SQL query inside a jcl which is inside a cobol program?

5 Answers   CTS,


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

0 Answers  


I want ALL jcl ERROR cods

1 Answers  


what is rediffine clause?in what situation it can use?give me real time example?

1 Answers   IBM,


if one main program ,n -subprograms are then which call you follow ?why reasonuhg

4 Answers   UHG,


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

0 Answers  


Can we put move statement in COBOL copybook

3 Answers   Global Logic,


how to crack cts interview apps? NOVEMBER 21 2010

2 Answers   CTS,


Write a program to explain size error.

0 Answers  


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

0 Answers  


can any one help -s806

6 Answers  


Categories