Is there a way to remove the beginning and ending single quote from a text string that is to be used in a parameter.
I place information into a *char variable and it is enclosed in quotes. The command I use, cpysplf doesn't like the quotes.
cpysplf file(ODI860P) tofile(*TOSTMF) job(&splinfo) +
tostmf(&filnme) wscst(*PDF)
&splinfo is input from another program and I do not know what it is at the time the CL is run.
I place information into a *char variable and it is enclosed in quotes. The command I use, cpysplf doesn't like the quotes.
cpysplf file(ODI860P) tofile(*TOSTMF) job(&splinfo) +
tostmf(&filnme) wscst(*PDF)
&splinfo is input from another program and I do not know what it is at the time the CL is run.
Comment