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

Is the order of the when clause significant in an evaluate statement?

0 Answers  


which is more efficient, level 77 or 01?

0 Answers   IBM,


What is RRange and ARange?

0 Answers  


how can you define a dataarea(DTAARA) IN RPG? Which spec you define it C-spec/D-spec?

0 Answers  


does anybody know about niit technologies ? how is that company ? any body working in that company ? please answer my question.I got selected in NIIT Technologies delhi.

0 Answers  


How do you eliminate the duplicates?

0 Answers  


Can we move alphanumeric incentive to the numeric field?

0 Answers  


If anyone has latest IBM Certification Dumps can you pls forwards it to me

0 Answers  


What is the function of dbctl?

0 Answers  


in RTVMBRD  where you will find no.of records....(i mean in which attribute)?

1 Answers   JDA,


whose product is x-peditor ?

1 Answers  


pic S9(4) results 3 bytes1 A) comp B) comp1 C) display D) comp3

2 Answers   Accenture,


Categories