In my REXX exec I need to insert a line of data into an ISPF Edit Workarea.
The data in questions contains both single quotes and double quotes that may or may not be matched (as in a comment line).
I have
"ISREDIT LINE_BEFORE 1 = DATALINE" myvar
If myvar has double quotes around it's contents all is fine unless the value contains double quotes. If myvar has single quotes around it's contents all is fine unless the value contains single quotes. In this case the value contains both and I have run out of delimiters for the data.
Is there some way to tell ISPF not to interpret the value of the variable?
These lines could be inserted as DATALINEs or NOTELINEs or INFOLINEs or MSGLINEs so inserting the data and using the Change command to modify it won't work.
Thanks!
The data in questions contains both single quotes and double quotes that may or may not be matched (as in a comment line).
I have
"ISREDIT LINE_BEFORE 1 = DATALINE" myvar
If myvar has double quotes around it's contents all is fine unless the value contains double quotes. If myvar has single quotes around it's contents all is fine unless the value contains single quotes. In this case the value contains both and I have run out of delimiters for the data.
Is there some way to tell ISPF not to interpret the value of the variable?
These lines could be inserted as DATALINEs or NOTELINEs or INFOLINEs or MSGLINEs so inserting the data and using the Change command to modify it won't work.
Thanks!