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 |
how do u code a copy book in ur pgm ?
What is the difference between version control and debugging tools?
what is the use of overlay keyword
What is meant by an isolation level?
What is Framework & How it work?
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?
Explore the syntax of the evaluate statement?
how would find total records in files using sequential?
how do u start your process after conducting impact analysis ?
In a test environment, is there a need to run a runstats?
Categorize the mainframe manual testing?
Is the order of the when clause important in an evaluate statement? Is the order of the when clause significant in an evaluate statement?