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 you pass some input from JCL to PL1?
WHAT IS THE PROCESS OF "CLAIM PROCESSING SYSTEM"
What is next sentence and continue unique?
What is defragmentation and what is its advantage?
what is the right time for using in-line perform?
what does the keyword SFLRCDNBR?
1) What is ONCODE (Return code) in PL/1? 2) How to handle the ONCODE in PL/1? Please give me some examples?
What is the mainframe computer?
HOW to change the coloumns in XREF?
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???
What is the difference between version control and debugging tools?
If a=1 or 2 or 3 NEXT SENTENCE ELSE move a to b. a) if A not = 1 or 2 or 3 move A to B b) if not A = 1 and 2 and 3 move A to B c) if A Not = 1 and 2 and 3 move A to B d) if A NOT = 1 or NOT=2 or NOT =3 move A to B