Showing posts with label Dynamic Target File Names in BODI. Show all posts
Showing posts with label Dynamic Target File Names in BODI. Show all posts

Thursday, December 11, 2008

Dynamic Target File Names in BODI

Pre-Requisites :

In Data Files Section Set the properties like

Root Directory : D:\
File Location : $Dynamic_Name

Code in the Script File :

$Dynamic_Name='DYNAMIC_'to_char(sysdate(),'YYYY.MM.DD.HH.MI.SS')'.txt';

exec('D:\dy.bat',$Dynamic_Name,8);

Code in Batch File :

d:

echo %1 > d:\z.txt

type k.txt > %1

ATL Downloadable Link :

http://www.divshare.com/download/6199552-ba0