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 |
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
What is the use of base and index registers in the IBM 360/370 processor?
hi provide info about any real time requirement in health care and banking services mainframe applications. pls send immediate reply to me.
Are scope terminators compulsory? If they are, when?
Name all the file-open modes
hi.... anybody send real time project related questions & answers whatever will ask in interview plz.....help me? advanced thanks....
how do we prepare test data using file-aid tool?
hi provide info about any real time requirement in health care services mainframe applications bye ramya
in options (main) , what is meaning of main . if u not used main what will happen? After compiling, os will not understand where to load and execute from
how do u start your process after conducting impact analysis ?
List the type of locks?
What is meant by deadlock in db2?