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

how do you move only numeric data from A to B
01 A pic x(10) value 'a1b2c34d5e'.
01 B pic x(5).

Answer Posted / ravi krian j

using reference modification move & isnumeric


PERFORM VARYING I FROM 1 BY 1 UNTIL I>10

IF A(I:1) IS NUMERIC
MOVE A(I:1) TO B(I:1)
END-IF
END-PERFORM.

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1923


Difference between array and sub-script ?

1605


What is length is cobol?

1061


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

1232


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

1068


What are the different rules to perform a Search?

1050


Define static linking and dynamic linking.

1113


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2081


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

820


What is the difference between perform … with test after and perform … with test before?

1373


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

1110


What rules are followed by the search verb.

1051


Explain how to differentiate call by context by comparing it to other calls?

1130


What is the difference between comp and comp-3 usage?

1132


Explain what you understand by passing by value.

1100