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 scary is it to write code for a bank?
how do u debug without using xpeditor ?
suppose I have two tables a and b. Both tables are connected with ssn number as foreign key. I want to retrieve a column data from b table. How will you write a query?
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.
Describe the benefits of drda?
Is the order of the when clause significant in an evaluate statement?
in RTVMBRD where you will find no.of records....(i mean in which attribute)?
what is the meaning, the advantages and which are the types of evaluate statement?
How do you pass pointer PL/1 main procedure to sub procedure?
Can we give +2 instead of +1 while creating a new gdg file?
how are start and xctl different?
I would like to know some real time questions.. please any one help me.. If the changes made by you .. lead to system inconsistency how others will know its cause???