DIR (gcDelimName+'*.*')to see if you receive an error, and if so, which error.
>COPY fields num,Msisdn,date,flag TO (gcDelimName) xls >>thanks
>>>USE main1 >>>gcDelimName = ALIAS( ) + '.xls' >>>gcPath = [\\Jtchp58544\new smd\Training\Quality Test 01\] >>>gcDelimName = gcPath + ALIAS() + [.XLS] >>>COPY fields num,Msisdn,date,flag TO (gcDelimName) XL5 >>>SET DEFAULT TO [\\Jtchp58544\new smd\Quality Test 01\] >>>brow >>>>>>thanks.
>>>USE main1
>>>gcDelimName = ALIAS( ) + '.xls'
>>>gcPath = [\\Jtchp58544\new smd\Training\Quality Test 01\]
>>>gcDelimName = gcPath + ALIAS() + [.XLS]
>>>COPY fields num,Msisdn,date,flag TO (gcDelimName) XL5
>>>SET DEFAULT TO [\\Jtchp58544\new smd\Quality Test 01\]
>>>brow
>>>
>>SNIP---