How to substitute a varible in script having value including quotes?

Hi All,
We need to run a Connect direct script on Unix server to send a file to Mainframe server and at mainframe end there need to run another job through Runtask with some parameters need to be passed from C:D (unix) to mainframe.
My question is I have to pass parameters like DSN and FNAME as included in SYSOPTS to mainframe, but the FNAME should get value from variable FNM defined above including quotes.
FNM='Myfile.txt'
SYSOPTS="'DSN=TCT.IBN.SHR','FNAME=&FNM'&q uot;

i.e. I want like this
SYSOPTS="'DSN=TCT.IBN.SHR','FNAME='Myfile.txt ''"

But my problem is, this script is giving error i.e. it is not substituting value of FNM with quotes.

Please help to resolve my query.

Thanks in advance.
Vijay

Hi
In place of &, put $.

SYSOPTS="'DSN=TCT.IBN.SHR','FNAME=$FNM'

Guru

FNM=Myfile.txt
SYSOPTS="'DSN=TCT.IBN.SHR','FNAME=$FNM'"