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 u code a copy book in ur pgm ?

1 Answers   IBM,


What is the difference between version control and debugging tools?

0 Answers  


what is the use of overlay keyword

0 Answers  


What is meant by an isolation level?

0 Answers  


What is Framework & How it work?

0 Answers   IBM,


My program has an array defined to have 10 items. Due to a bug, I find that even if the program access the 11th item in this array, the program does not abend. What is wrong with it?

0 Answers  


Explore the syntax of the evaluate statement?

0 Answers  


how would find total records in files using sequential?

0 Answers   IBM,


how do u start your process after conducting impact analysis ?

0 Answers   TCS,


In a test environment, is there a need to run a runstats?

0 Answers  


Categorize the mainframe manual testing?

0 Answers  


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

0 Answers  


Categories