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

)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1990


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1276


What is perform what is varying?

1138


What is the local-storage section?

1130


how do you reference the printer file formats from cobol programs

1191


What are different data types in cobol?

1289


What is the difference between PIC 9.99 and PIC9v99?

1319


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

4700


What are the different types of condition in cobol and write their forms.

1097


How do u write test cases?

2051


What is the difference between binary search and sequential search?

1070


What is rmode(24)

1119


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1068


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2449


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

1166