All, What this below routine will do? what is the purppose of this routine? RoutineName: InputFileList Argument Name: FileName *Ans = "" DFILE = TRIM(FileName) OPENSEQ DFILE TO F.DFILE THEN READSEQ REC FROM F.DFILE ELSE NULL Ans1 = REC Ans = 0 RETURN(Ans1) END ELSE * Could not open the fil...
Explain your job design - basically list the stages used and what role each is playing in the job. ... file1 | | sequential file --> transformer --> aggregation ---> file2 in the transformer , i wrote a constrain like iif fnd_cd <> 'C' then file1 f fnd_cd = 'C' then file2
All, I have created a job which will fetch data from a table and load it in two files. format: fund_id fnd_dt fund_cd qty price i will fetch the above information and store it in two file based on the below logic. 1) If fnd_cd = 'C' then i will aggregate it and store it in a file 2) if fnd_cd <> 'C'...
use a move command in ExecDOS where the second parameter should be <filename>%date:~6,4%%date:~3,2%%date:~0,2%.txt hope this helps. 1) I have declared a variable in the Parameter like Parameter DefaultValue FileName MSDFF 2) I choosed 'ExecDOS' from after subroutine(Transformer stage). 3) I gave th...
chulett wrote:I have no knowledge of this stage, but if you can't find an explicit 'clear/truncate' option for it, you could always use your original job concept to do that using an empty source and then running your new job.
I have created one more job to clear the table and then i ran this job.
After selecting ExecDOS you need to pass the command to execute in the text box in-front of it. so that the routine ExecDOS can execute it. which command will give the current date? My requirement is i have to add the current date at the end of the file. if i run today then today's date, if i run t...
Jillion+1. That method too complicated and too Old School. Get Hip Daddy-O. Use a DSMacro as part of the filename in the sequential stage. <filename>#DSJobStartDate#. Use DSJobStartTimestamp if running more then once in a day. Nah, never happen. I gave like #FileName##DSJobStartDate# but the date d...