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


What are the different types of string function in PL/1?



What are the different types of string function in PL/1?..

Answer / sravan

1.String(item_a||item_b);/*String -> concatenates to
elements*/
2. SUBSTR(item_a,3,5); /* Substring -> returns first item
characters starting from second items count to last items
count, here if item_a = 'algebra' returns substr
contains 'gebra'*/
3.Translate(string,replacement_chars,chars to be replaced)
/*WRK_RQSTDEL_DATE = TRANSLATE
('GH/EF/CD',RQST_DELDATE,'ABCDEFGH'); */
4. verify (x,y); /*DCL MAINSTR CHAR(6) INIT ('ANUK ');
DCL SUBSTRG CHAR(2) INIT ('NA');
RTN = VERIFY(MAINSTR, SUBSTRG); */

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More IBM MainFrame AllOther Interview Questions

which are the following verb can be used to manipulate the value of an index name A) ADD B) MOVE C) SUBTRACT D) SET

4 Answers   Accenture,


what is the role of the is numeric clause?

0 Answers   IBM,


State the maximum number of tables that can be joined?

0 Answers  


Define clustered index?

0 Answers  


How do you interact with your onsite coordinator?

2 Answers  


How many bytes will a s9(8) comp field occupy ?

0 Answers  


PLEASE SEND ME THE DOCUMENTS IF ANY ONE HAVE REGARDING THE IMPACT ANALYSYS,REVIEWS

0 Answers   DELL,


How is next sentence and continue different?

0 Answers  


WHAT IS THE PROCESS OF "CLAIM PROCESSING SYSTEM"

0 Answers   IBM,


can u run online and batch at the same time?

4 Answers   IBM,


execution of a subordinate module is caused by the use of the cobol verbs ------------in the superior module

0 Answers   IBM,


What is database descriptor?

0 Answers  


Categories