Search found 135 matches

by sainath
Fri Nov 24, 2006 4:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: delete files using ftp
Replies: 3
Views: 1503

hi
Can any one share your idea.how to do the above problem
thks
Sai
by sainath
Fri Nov 24, 2006 7:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: delete files using ftp
Replies: 3
Views: 1503

delete files using ftp

I have to write small ftp script . I have a target file in the below location and it has 2 columns . #outputDir#ETL_FINALIZED_PROPOSAL/EIM_EXTRACTED_PDF_list 1. LocalPath 2. LocalFileName I have to delete the files in the remote location with following parameters if LocalFileName = Remotefilename ft...
by sainath
Thu Nov 23, 2006 12:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ftp
Replies: 5
Views: 2435

Hi
1.My idea is to store the processed files in hash file and comepare with input files and delete those matched records.

2. How can i delete the match files in remote location using ftp.
thks
by sainath
Thu Nov 23, 2006 11:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ftp
Replies: 5
Views: 2435

ftp

Hi I have files in remote location. these files are inserted daily. after that i run the ETL job to process these files. I used ftp to get the files form remote location to datastage location. but i want to process only NEW files daily. IS THERE ANY FTP command which do . please share your thoughts ...
by sainath
Thu Nov 16, 2006 4:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: fttp script
Replies: 6
Views: 1994

hi
Can you explain it more in detail where i have to modify the fttp script
thks
by sainath
Thu Nov 16, 2006 4:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: fttp script
Replies: 6
Views: 1994

ftp script

Hi
mput is there in my code before REmoteFIleName.
how can i mention to move all the files in local location to remote loation
`cd #LocalPath#ETL_FINALIZEDPROPOSAL/; echo 'user #UserName# #PasswordName#\n cd #RemotePath#\n mput #RemoteFileName#' | ftp -n #ServerName#`
thks
by sainath
Thu Nov 16, 2006 3:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: fttp script
Replies: 6
Views: 1994

fttp script

Hi I wrote a following script to move a file to a remote location.i want to move all the files like TD_ORD_SDAO* from local to remote location. but it is giving error SH: mput: not found. `cd #LocalPath#ETL_FINALIZEDPROPOSAL/; echo 'user #UserName# #PasswordName#\n cd #RemotePath#\n mput #RemoteFile...
by sainath
Thu Nov 16, 2006 8:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Phantom problem
Replies: 2
Views: 1278

HI
Thanks for your reply .
if i change the code to "In.YourString[2,40]" to remove first char of a string there is no phantom error.
thks
by sainath
Wed Nov 15, 2006 9:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Phantom problem
Replies: 2
Views: 1278

Phantom problem

Hi I am geting phantom error in transformar stage .IMPROPER DATATYPE. 1.I went into project directory and found the below code in my job trim(Change(XYPGALTNBR, XYPGALTCHAR, " ")) my aim is to trim the first character from the string .so i store in stage variables. XYPGALTNBR - string XYPG...
by sainath
Tue Nov 14, 2006 2:54 pm
Forum: General
Topic: phantom error
Replies: 1
Views: 2890

phantom error

HI I am getting following error. My job design just lookup to hash file and i use stage variable. where can i check the line number.In project directory how i have to search . thks DataStage Job 2983 Phantom 15548 Program "JOB.2107965739.DT.1415539559.TRANS1": Line 233, Improper data type....
by sainath
Tue Nov 07, 2006 10:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: folder stage
Replies: 3
Views: 1828

folder stage

Hi
I am using Folder stage to extract PDF files. and i set fully Qualified parameter as YEs .but i am getting following error.

: DSD_DIROpen Failed to set NLS map ISO8859-1 on directory

Can you share your idea.
thks
by sainath
Tue Oct 17, 2006 7:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Format String
Replies: 8
Views: 4203

HI

Hi
Thanks for your reply.
we have to parce data before using the pivot stage.
but how can we parce data based on delimitor ,.i dont know how many are there.

ex
key column txt
k1 k2 k3 k4 k5 abc,def,ghi.....


o/p

k1 k2 k3 k4 k5 abc
k1 k2 k3 k4 k5 def
k1 k2 k3 k4 k5 ghi
by sainath
Mon Oct 16, 2006 2:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Format String
Replies: 8
Views: 4203

hi
can you guys explain little bit more clear with example.and also I have to delete original record.
pl share your thoughts
thks
by sainath
Mon Oct 16, 2006 1:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Format String
Replies: 8
Views: 4203

Format String

Hi
my o/p is seq file. and i have to search for , in the string.if , is found
then each word will have to be inserted in new line.

ex
int.txt = abc , def,ghi

then
int.txt = abc
int.txt= def
int.txt= ghi

can you share your thoughts.
thks
by sainath
Thu Oct 12, 2006 12:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Null Maping
Replies: 1
Views: 1121

Null Maping

hi I have seq input file and Lkup file in following way and total no of rows is around 10000 seq file lkup file 1 1 null null 2 2 3 3 null null 4 4 when i do match with not(notfound(lkupfile)) i am getting only rows which are not null . but i want to return all the rows. please share your thought sai