Rename the txt file
Posted: Thu Dec 07, 2006 7:27 am
Hi,
I am trying to rename the ppff1206.txt to ppff1206.txt.bak and I wrote following code.
Call DSExecute ("NT", mv "/ss/ppff":FileNameSuffix:".txt" to "/dd/ppff":FileNameSuffix:".txt.bak" )
when I compile it it gives following error
Compiling: Source = 'RT_BP1572/JOB.942475120.DT.1422056425', Object = 'RT_BP1572.O/JOB.942475120.DT.1422056425'
*****************************************************************************************************************
WARNING: Variable 'mv' never assigned a value.
WARNING: Variable 'to' never assigned a value.
Compilation Complete.
(Batch::CopyOfMain_Paycode_Extraction)
Can somebody suggest me what is the right command to do that.
thanks
I am trying to rename the ppff1206.txt to ppff1206.txt.bak and I wrote following code.
Call DSExecute ("NT", mv "/ss/ppff":FileNameSuffix:".txt" to "/dd/ppff":FileNameSuffix:".txt.bak" )
when I compile it it gives following error
Compiling: Source = 'RT_BP1572/JOB.942475120.DT.1422056425', Object = 'RT_BP1572.O/JOB.942475120.DT.1422056425'
*****************************************************************************************************************
WARNING: Variable 'mv' never assigned a value.
WARNING: Variable 'to' never assigned a value.
Compilation Complete.
(Batch::CopyOfMain_Paycode_Extraction)
Can somebody suggest me what is the right command to do that.
thanks