i have a string of 80 chars i want to replace 4th char with "a"?

Answer Posted / deepak dada, jaipur

not sure but

inspect string replacing string(4:1) by 'a'


might work

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of the dd dcb keyword?

952


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

1023


How do you create a temporary dataset?

894


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1043


What is the function of the dd mgmtclas keyword in sms datasets?

1015


What is jcl in mainframe, and how many types of jcl statements are there for a job?

912


Name a few IBM utility programs, and explain its function.

4704


What are s0c1, s0c4, s0c5, s0c7 and socb?

948


is there any way to execute more than one proc in the same exec statement at the same time..?

2376


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1091


How does jcl specify the job to the operating system?

973


Is their any limit for data sets?

901


can any one plzzzzzz tell the jcl code for creating ps using idcams

11124


What are hierarchy levels in jcl?

1263


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1242