What are the different types of string function in PL/1?
Answer Posted / 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 View All Answers
Differentiate between hdam and the hidam databases?
Why are you looking for a change?
What is the mainframe testing? Categorize the mainframe manual testing?
Can min or max be used with alphanumeric data?
How to declare host variables?
What is defragmentation?
How is next sentence and continue different?
What is difference between static call and dynamic call?
Write in brief about clusters?
pls send the docs of any telecommunication mainframe project
How do you write from PL/1 code to JCL?
Explain the use of the where?
Name and explain the type of locks?
What is the function of iebgener?
Hello, I have 3 years of exp as a mainframes tester in a leading IT company, now am looking to change my company. Could you please let me know, what are the interview questions/topics i should prepare. Your suggestions are truly valuable for me :) Thanks !!