i have a string of 80 chars i want to replace 4th char with "a"?
Answer Posted / mchava
first move string 4th position to one variable
ex: string(4:1)=ws-string
then use inspect and replace words
ex: INSPECT STRING REPLACING WS-STRING BY 'a'
BEFORE SPACE/'.'/(end of the sting).
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Describe the various parameters utilized in the creation of a gdg?
What is the difference between the positional and keyword parameters? Give examples.
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
In sms datasets, what is the function of the dd avgrec keyword?
What is the function of dd name parameter with a 2 part structure; audit.report?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
what sort card you will use to copy the data from one dataset to another dataset?
What do you understand by the term job time – out and how can you overcome that?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Explain dfsort utility?
what are the various stages of job processing?
What is the purpose of disp parameter?
Explain about LMQUERY�give a dialog information about a data set
Explain the function of the steplib dd statement?
Define concatenating?