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 |
Can you name a few software running under the mainframe?
write a query to get RRN value from rpg?
how do u code a copy book in ur pgm ?
Name the various types of tables spaces.
How will u give input data to cobol program apart from PARM & Instream data?
what is the msg id for OPNQRYF?
in RTVMBRD where you will find no.of records....(i mean in which attribute)?
pls send the docs of any telecommunication mainframe project
have you ever know what is the meaning of Packed Decimal
If an array is multi-dimensional dynamic array how do you deal with it & provide me some examples?
How are composite and multiple indexes different?
What is a configuration management system, give examples?