In a string " SEMINAR" .Replace "A" by 123. will this
replacement will happen ot will it give error? If not , den
what will be the output?

Answers were Sorted based on User's Feedback



In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / nishant kumar

It will throw a compilation error.

We can't replace 1 Char with multiple one using inspect.

Please correct me if I am wrong

Is This Answer Correct ?    8 Yes 0 No

In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / anonymous

INSPECT test-string REPLACING ALL 'A' BY '123'

Is This Answer Correct ?    0 Yes 3 No

In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / molay paul

The output will be SEMIN123R . Its verified.

Is This Answer Correct ?    1 Yes 7 No

In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / howa

If in the string " SEMINAR" "A" is replaced by 123 the
results would be " SEMIN{R" since the ascii for 123 is the
left curly brace.

Is This Answer Correct ?    4 Yes 11 No

In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / vijay

we cant able to replace char by a numeric values....

Is This Answer Correct ?    3 Yes 10 No

Post New Answer

More CICS Interview Questions

Are sequential files supported by CICS?

1 Answers  


What is the common systems area (CSA)?

0 Answers   IBM,


What is the meaning of the deq command?

0 Answers  


how can we establish a link between two maps using a cobol application program....lets say how can u use 'back' in a map ..to come back on previous .

5 Answers   Attra Infotech,


How ENQ and DEQ used in CICS?

0 Answers  






What is the error condition that is set when the file specified in the NAME option is not in the FCT?

1 Answers   UHG,


difference between tsq and tdq?

0 Answers   IBM,


How can we code a program such that we will never get a MAPFAIL error?

1 Answers   Accenture,


Can you define multiple maps in a BMS mapset?

6 Answers   CTS,


COMMIT & ROLLBACK WE WILL NOT USE IN CICS PROGRAMMING INSTEAD OF COMMIT WE USE SYNC POINT THEN WT WE USE FOR ROLL BACK?

3 Answers  


If TDQs are selfdestructive then why they are used? AND Why TSQs are preferred over TDQs?

5 Answers   IBM,


What is CEDF?

3 Answers   IBM,


Categories