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 |
Is the order of the when clause significant in an evaluate statement?
which is more efficient, level 77 or 01?
What is RRange and ARange?
how can you define a dataarea(DTAARA) IN RPG? Which spec you define it C-spec/D-spec?
does anybody know about niit technologies ? how is that company ? any body working in that company ? please answer my question.I got selected in NIIT Technologies delhi.
How do you eliminate the duplicates?
Can we move alphanumeric incentive to the numeric field?
If anyone has latest IBM Certification Dumps can you pls forwards it to me
What is the function of dbctl?
in RTVMBRD where you will find no.of records....(i mean in which attribute)?
whose product is x-peditor ?
pic S9(4) results 3 bytes1 A) comp B) comp1 C) display D) comp3