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

Answer Posted / krishna

Move the sting in to a variable Eg to WS-String
then

Move 'a' to ws-string(4:1)

hope this will work

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What statement can be used to send data to another mvs jes3 node?

801


What is the syntax of JCL statement?

679


what is use of dsn parameter in dd statement?

657


which parameter is use to declare the name of dataset in dd statement?

715


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2040






What are steplib and joblib?

708


what sort card you will use to copy the data from one dataset to another dataset?

713


how to run batch program without jcl?

10037


how JCL works?

784


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

726


List in order the hierarchical levels of jcl?

656


How can the attributes of one sms dataset be copied to another dataset?

838


What is timing concept in mainframe?

1646


what is “Cond= even” and “Cond=only”?

728


What are the rules employed while naming the steps in a job?

643