Search found 149 matches

by raji33
Mon Nov 15, 2010 9:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parse file
Replies: 13
Views: 5525

I mean there are more then 10 fields but some times may be only 5 or 6 fields may be present like nsert_job: template job_type: c box_name: box1 command: ls -l machine: localhost owner: lyota01@TANT-A01 permission: gx,ge,wx,we,mx,me date_conditions: 1 and i want to accomplish my o/p as insert_job jo...
by raji33
Mon Nov 15, 2010 9:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parse file
Replies: 13
Views: 5525

In autosys we scheduled the jobs and jill file is job information language which consists of details of job scheduled below is sample jil file insert_job: template job_type: c box_name: box1 command: ls -l machine: localhost owner: lyota01@TANT-A01 permission: gx,ge,wx,we,mx,me date_conditions: 1 da...
by raji33
Mon Nov 15, 2010 8:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parse file
Replies: 13
Views: 5525

parse file

Hi All, I have to parse jill file and load the data into table previously i have used one filter command tr -s '\n' ',' in sequential file and is working fine as i have only one format but now the structure of it is varying from job to job how can i make it generic so that it can be used for any str...
by raji33
Tue Nov 09, 2010 4:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

Thanks All i got to know that i missed to mention /usr/bin/tr -s '\n' ','
istead i placed just command tr -s '\n' ',' in filter command which is causing the above error.
by raji33
Tue Nov 09, 2010 9:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

this problem is not resolved can any one help on this iam getting the following error when i try to view data in the source sequential file, an i checked in the command prompt its working fine... load_job__test..Sequential_File_0.DSLink3: ds_seqopen() - Error in filter command "tr -s '\n' ','&q...
by raji33
Tue Nov 09, 2010 8:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: error in viewing the data
Replies: 2
Views: 1721

Re: error in viewing the data

when i checked in the command prompt the command is working fine
by raji33
Tue Nov 09, 2010 7:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: error in viewing the data
Replies: 2
Views: 1721

error in viewing the data

Hi All, Iam getting the following error when i try to view the data. Load_job..Sequential_File_0.DSLink3: ds_seqopen() - Error in filter command "tr -s '\n' ','" - Load_job..Sequential_File_0.DSLink3: ds_seqopen() - Error in execv() - No such file or directory. any suggestions appreciated.
by raji33
Mon Nov 08, 2010 12:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

you may be right but iam idea was i want complete input to come in oneline saylike this Job type command machine nsert_job: template job_type:c command: ls -l machine: localhost now in transformer Field(inputcolumn,':',2) this will be iam derivation and i have implemented in 8.01 version but i dnt k...
by raji33
Mon Nov 08, 2010 12:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

yes anbu that what exactly i want then in transformaer i will use field function and pick the 2nd field
by raji33
Mon Nov 08, 2010 12:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

sorry for the confussion nitkaur newline is not , i dont know exactly what it is but what ever it may be iam converting that to , by using that command in filter
by raji33
Mon Nov 08, 2010 12:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

ya your right my input is jill file insert_job: template job_type:c command: ls -l machine: localhost owner: lyota01@TANT-A01 days_of_week: all description: "description field" std_err_file: /tmp/std_err this by filter commnad iam changing,nelinw as , with filter command in sequential file...
by raji33
Mon Nov 08, 2010 12:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

ya your right my input is jill file insert_job: template job_type:c command: ls -l machine: localhost owner: lyota01@TANT-A01 days_of_week: all description: "description field" std_err_file: /tmp/std_err this by filter commnad iam changing,nelinw as , with filter command in sequential file...
by raji33
Mon Nov 08, 2010 11:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

, is my record delimiter
by raji33
Mon Nov 08, 2010 9:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

Hi craig,

I have actually used the filter command in sequential file i used this command

tr -s "\n" ','

but it is saying error in command
by raji33
Sun Nov 07, 2010 5:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: new line character as deimiter
Replies: 19
Views: 8976

new line character as deimiter

Hi,

Can we use new line character as delimiter?

If yes, can anyone please suggest me how to use the \n as delimiter.

Thanks in advance