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
what is use of dsn parameter in dd statement?
Explain the jcl exec statement?
how JCL works?
what is the difference between JES3 and JES2?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
How gdg are concatenated?
what is a jcl?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Can I send output of job to my remote device careerride123?
Explain the function of the dd dcb keyword?
What are steplib and joblib?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
In job processing, what happens in execution stage?
How to override loadlib?
How is the record format of an output dataset specified?