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

by using xpeditor if i want to debug the sub pgm ? how canu code in xped for main pgm and sub pgm ? wht is the debugging process ?

1 Answers   Syntel,


Is it rquired any server for Ibm framework? Give me list of Ibm framework & recent version IBm framework?

0 Answers   IBM,


List the type of locks?

0 Answers  


Explain identify whether a call statement is a static or dynamic call?

0 Answers  


can any body give me any website for getting help on mainframe projectts in banking domain.

0 Answers  


whose product is x-peditor ?

1 Answers  


At what point are extension eliminators mandatory?

0 Answers  


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

0 Answers   DELL,


Is it possible to move an alphanumeric incentive to a numeric field?

0 Answers  


What is the distinction amongst include and copy?

0 Answers  


what error do we get in prodution support and questions on production support

2 Answers  


What is the difference between version control and debugging tools?

0 Answers  


Categories