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 JCL Procedures?
what is use of dcb parameter in dd statement?
which parameter is use to declare the name of dataset in dd statement?
What is the purpose of dd * statement in jcl?
Explain dfsort utility?
List the various advantages of using jcl language?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
what is the difference between JES3 and JES2?
What parameter of the job statement is used to limit the cpu time consumed by the job?
What is catelog procedure and how many catelog procedure to use in one job?
Explain the function of //cntl statement?
How do you access an uncatalogued dataset in a jcl?
What is the difference between run mode and addressing mode?
Explain how can return codes be tested before execution of a job step?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?