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

Can you name a few software running under the mainframe?

0 Answers  


write a query to get  RRN  value from rpg?

1 Answers  


how do u code a copy book in ur pgm ?

1 Answers   IBM,


Name the various types of tables spaces.

0 Answers  


How will u give input data to cobol program apart from PARM & Instream data?

6 Answers  


what is the msg id for   OPNQRYF?

1 Answers  


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

1 Answers   JDA,


pls send the docs of any telecommunication mainframe project

0 Answers   Accent,


have you ever know what is the meaning of Packed Decimal  

0 Answers  


If an array is multi-dimensional dynamic array how do you deal with it & provide me some examples?

0 Answers   CTS, IBM,


How are composite and multiple indexes different?

0 Answers  


What is a configuration management system, give examples?

0 Answers  


Categories