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
When you are working with the project.. once your coding is over what will u do? where u r maintaining your CR(change request) what is the format what are the documents u need to prepare while testing?
We have an output dataset in job with disp parameter as shr.
What is z os in mainframe?
If a ceo wants to see all employees of the company from an online screen. How will be the design of the map from the developer point of view?
Express the distinction between jes2 and jes3?
How do you eliminate the duplicates?
execution of a subordinate module is caused by the use of the cobol verbs ------------in the superior module
What is Comp-2?
Explain foreign keys?
Please send me the real time scenarios in Mainframe Project... i.e., it may be in banking or insurance sector or any other no problem..... please send your mails to krishnaprasadbvs@gmail.com
Explain delete-connected tables?
What is defragmentation?
What is the use of base and index registers in the IBM 360/370 processor?
What is the term “where” for?
What is the difference between version control and debugging tools?