Search found 60 matches

by khanparwaz
Thu Nov 17, 2005 11:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Every thing Lost from Project
Replies: 3
Views: 1450

Every thing Lost from Project

Hi , i had faced a serious probelm today when i was working on designer, suddenly datastage started thrwoing some error messages 'Directory structure not found' when i checked project directory i found their was nothing except few file how can i solve this problem ,can we restore directory structure...
by khanparwaz
Mon Nov 14, 2005 11:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need Logic in creation of shell script
Replies: 5
Views: 1856

Thanks For all help
i am done with this process its working fine now i am able to calculate my number of tilde in my file & also able to do validation for file.

It was really a great help from dsxchange menbers.
by khanparwaz
Mon Nov 14, 2005 5:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need Logic in creation of shell script
Replies: 5
Views: 1856

Ok fine jest tell me how can i count occurence of each ~ in a file through datastage jobs rest i will try from my own.

if u say i have to use the routine

i have already treid commang grep -c '~' filename

but its not giving me satisfactory results
by khanparwaz
Mon Nov 14, 2005 3:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need Logic in creation of shell script
Replies: 5
Views: 1856

Need Logic in creation of shell script

Hi , I need to create a shell script to perform a validation on a file, ihave a file which is ~ seperated.The File contents Looks like below: HEADER~NFOS-LOH~CIGMA~20051109~124430~ 63893 TRADE_ACTION~TRADE_TYPE~CONTRACT_ID~TRADE_DATE~LOCAL_PRODUCT_TIERA~LOCAL_PRODUCT_TIERB~LOCAL_PRODUCT_TIERC~PUBLIS...
by khanparwaz
Fri Oct 14, 2005 7:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FTP : Unbalanced or unescaped quote character
Replies: 1
Views: 1635

Re: FTP : Unbalanced or unescaped quote character

try removing quote character by specifying 000 in seq file format at quote char txt box.
coz i tried same data but its working for me?
can u also tell us tht wats the delimiter of file?
by khanparwaz
Thu Oct 13, 2005 9:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHECKING STRING AT FTP SERVER
Replies: 7
Views: 1484

its ok you mean i have to create a batch file & feep that at mt FTP server NT machine & i dont know then how to access that .bat file how i will run that to get last line of file coz again the problem would be how to run .bat file to get the result . Can u tell me how can i use rlogin or ftp...
by khanparwaz
Thu Oct 13, 2005 9:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHECKING STRING AT FTP SERVER
Replies: 7
Views: 1484

is it possible any how if i can do it through shell script coz i am having option of that only in here.
by khanparwaz
Thu Oct 13, 2005 9:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHECKING STRING AT FTP SERVER
Replies: 7
Views: 1484

Hi Kenneth Bland , Thanks for reply. you have exactly understood my problem actually in our previous release we did the same ie; taking the file to unix box then used a routine which were searching for string 'TRAILER' so if the string is present then only we process file. now as we know that size o...
by khanparwaz
Thu Oct 13, 2005 8:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CHECKING STRING AT FTP SERVER
Replies: 7
Views: 1484

CHECKING STRING AT FTP SERVER

Hi, I have an a scenario where i have to check for a string 'TRAILER' at FTP server Which is a NT server my datastage server is a unix server. i want to load a file from Nt FTP server only when i get that string in that file, so how can i check for the string as no command available at ftp to check ...
by khanparwaz
Tue Oct 11, 2005 9:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduling Sequencer
Replies: 13
Views: 4547

Try utilityrunjob utility to pass parameters.

Khan
by khanparwaz
Fri Oct 07, 2005 9:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Changing file Permission through shell script by Ftp process
Replies: 14
Views: 6346

I have seen some ftp that suppport umask for the target files. But most ftp implementations support some kind of local shell capability, so you can say something like this in your ftp script after the files have been recieved. .... get $filename .... ! chmod 111 $filename .... Check the documentati...
by khanparwaz
Thu Oct 06, 2005 4:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Changing file Permission through shell script by Ftp process
Replies: 14
Views: 6346

you can use command stage in server jobs See the exact problem of mine in the beginning :oops: i know i can use command stage for shell script my problem is that how can i change file permission if i archieve a file to some other folder i want to make it read only after successful transfer. can any...
by khanparwaz
Thu Oct 06, 2005 2:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Changing file Permission through shell script by Ftp process
Replies: 14
Views: 6346

Hi ketfos, Archieving i am doin just by Ftp>ftp stage so its just creating a similar copy to another folder then after completing this job i am deleting the file from original location by using shell script ,in that i am using delete command to delete the file [#!/bin/sh HOST=$1 USER=$2 PASSWD=$3 ft...
by khanparwaz
Wed Oct 05, 2005 9:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Changing file Permission through shell script by Ftp process
Replies: 14
Views: 6346

The same series of steps you would have to do if you were telnet'ing into the box after the ftp and changing the permissions yourself. But the problem here is when i try to telnet that server from command prompt its says Could not open a connection to host: Connect failed. Might be server was not c...
by khanparwaz
Wed Oct 05, 2005 8:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Changing file Permission through shell script by Ftp process
Replies: 14
Views: 6346

As long as the remote server allows it, there are the 'Telnet before' and 'Telnet after' commands available inside the FTP stage. Setup the 'after' session to log in and issue the chmod command. Hi craig can u tell me exactly wat should i specify in that option to change the permission or should i ...