Posted: Tue Sep 17, 2013 11:28 pm Post subject: Ucopy using JCL
Hi All - Need help in ucopy
i am doing the ucopy jcl.. that is copying file from source to destination..
In the source location at each 1hr i will be getting one txt file that is for eg : txtFile.txt.. i need to copy txtFile.txt from source location and rename as txtFile_01_Date.txt to destination location.. again after 1hr i will be getting another txtFile.txt in source location which need to be copied to destination location as txtFile_02_Date.txt.. in the same day i will be getting 5 txt will the same name in source location which i need to copy to destination location with txtFile_01_Date.txt, txtFile_02_Date.txt so on.. please help me in JCL for above condition.
I need to copy similar .txt file from source location to destination location and rename the copied file..
Eg : SourceLocation/Customer.txt to DestinationLocation/Customer_01_18092013.txt
After 1hr i will be getting another Customer.txt in the same SourceLocation which need to be copied to destination location again
Eg : SourceLoation/Customer.txt to DestinationLocation/Customer_02_18092013.txt
Since In coming file Customer.txt is not fixed, depending on customer.txt coming per day in the source location we need to copy to destination location with _01_date.txt, _02_date.txt so on..
Joined: 24 Jul 2011 Posts: 651 Location: Down on the pig farm
Posted: Fri Sep 20, 2013 1:25 am Post subject:
Your same topic posted on another forum was locked because you did not provide the information required to help you. This topic was posted with what appears to be exactly the same text so you are going to be asked the same questions and, unless you give the required answers, you are not going to get anywhere here, either. _________________ Regards
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum