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

How do you eliminate the duplicates?

0 Answers  


Explain delete-connected tables?

0 Answers  


What is the meaning of a (new, catalog, keep) disposition mean?

0 Answers  


Explain referential integrity?

0 Answers  


How joinkeys helps in sort?

0 Answers  


how to get the last record in vsam file in cluster? And how can u get the ksds file records into ur cobol program?

0 Answers   IBM,


What is basic difference between directory and pds in ibm mainframe?

0 Answers   IBM,


What is the distinction amongst include and copy?

0 Answers  


Why we use  "OCCUR"  with multiple occurence DS(Data Structure)?

1 Answers  


Have you caused any huge mistakes for the bank?

0 Answers  


Define where and its usage?

0 Answers  


what is the other verb for release and write ?

0 Answers   IBM,


Categories