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 to change the coloumns in XREF?
A word in the computer memory is identified by_________
where will u see joblog ?
what is the meaning of a (new, catlg, keep) disposition mean?
what is use of linkage section?
what is the meaning, the advantages and which are the types of evaluate statement?
In a test environment, is there a need to run a runstats?
what are the commands that frequently used in cl?
how can we describe comp sync?
Can I redefine an x(200) field with a field of x(100) ?
hi.... anybody send real time project related questions & answers whatever will ask in interview plz.....help me? advanced thanks....
Express the distinction between jes2 and jes3?