Search found 77 matches

by pongal
Fri Apr 22, 2005 10:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential file in parallel job
Replies: 3
Views: 852

Thanks ArndW....
I have changed char to varchar datatype, now the data is loading correctly.
I have been trying this for 2 hrs.. but i could not get an idea you are really great hats offfffffff :D
by pongal
Fri Apr 22, 2005 10:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential file in parallel job
Replies: 3
Views: 852

sequential file in parallel job

Hi, Spaces have been identified between the column values when the data is loading into sequential file file name SYD.csv. actual file format should load like this "00089","klllllllll","00089 klllllll" "78909","iiooolllllll","78909 iioooiiiiiii&...
by pongal
Tue Apr 19, 2005 2:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to convert from julian date to date(mm/dd/yyyy) ?
Replies: 4
Views: 2285

how to convert from julian date to date(mm/dd/yyyy) ?

Hi, Is there any built in function that how to convert from julian date format to date(mm/dd/yyyy) source field julian date value TaxDate 103127 target= sequential file target field datatype value TaxDate Date <<mm/dd/yyyy>> i have tried OConv(TaxDate,"D/MDY[2,2,4]"), but not converted exa...
by pongal
Sat Apr 16, 2005 6:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to call the shell script program through a routine
Replies: 6
Views: 3288

this is the routine i am writing down here ************************************************************ **does the following things **1) write a sequential file containing date,inputrowcount and output **rowcount **2) calling shell script file ********************************************************...
by pongal
Fri Apr 15, 2005 2:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to call the shell script program through a routine
Replies: 6
Views: 3288

hi tony, my intention is already ExecFTP.sh contains the following parameters ip=$1 username=$2 password=$3 localDir=$4 remoteDir=$5 strfilename=$6 the above parameters i need to call from a afterjobroutine as 6 input arguments. here MY routine is like EXFTP001(ip,username,pwd,localdir,remotedir,str...
by pongal
Fri Apr 15, 2005 1:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to call the shell script program through a routine
Replies: 6
Views: 3288

how to call the shell script program through a routine

Hi, I need calll the file ExecFTP.sh (contains korn shell script) through a routine. and that routine i need place it in afterjob routine and run it with by passing arguments in input values of that routine. here i have two doubts. 1) shell script containts 6 arguments like ipadress,username,pwd,rem...
by pongal
Fri Apr 15, 2005 9:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while running the parallel job
Replies: 5
Views: 2184

Error while running the parallel job

Hi, what does this error says main_program: Warning: the value of the PWD environment variable (/apps/Ascential/Projects) does not appear to be a synonym for the current working directory (/apps/Ascential/Projects/TIP). The current working directory will be used, but if your ORCHESTRATE job does not...
by pongal
Thu Apr 14, 2005 10:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: could not find Ascii function in parallel job inTransformer
Replies: 1
Views: 1346

could not find Ascii function in parallel job inTransformer

Hi,

I could not find Ascii function in functions in Type Conversions as i need to convert EBCIDIC to Ascii.

But i have seen the same Ascii function in Server job conversion functions.

Is there any alternative function for converting from EBCIDIC to Ascii in Server Jobs?

Thanks in advance....
by pongal
Thu Apr 07, 2005 9:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Error
Replies: 4
Views: 1408

Routine Error

Function(ExtRowCount,LoadRowCount) Ans = ExtRowCount LdRowCount = 0 OPENSEQ '/apps/Extract.txt' TO SeqFilePtr THEN NULL ELSE NULL WEOFSEQ SeqFilePtr ; INPUTDATE = OConv(@DATE,"D2/") ROWCOUNT = Ans LdRowCount = LoadRowCount WRITESEQ "Date: ":INPUTDATE ON SeqFilePtr ELSE CALL DSLog...
by pongal
Tue Apr 05, 2005 1:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how do we create a control file in after job subroutine
Replies: 7
Views: 1712

i put the above code in routine and it's working fine i mean creating a sequential file and writing the contents.
but output of the file is not clearly writing name "Date" before date value
File format
04/05/05 (Date name is missing)
RecordCount:443
by pongal
Tue Apr 05, 2005 11:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how do we create a control file in after job subroutine
Replies: 7
Views: 1712

Thanks chulett Is this correct syntax i am putting down my code here OPENSEQ '/apps/global/Extract.txt' TO SeqFilePtr THEN NULL ELSE NULL WEOFSEQ SeqFilePtr ; ROWCOUNT = DSGetLinkInfo(DSJ.ME,StageToCheck,LinkToCheck,DSJ.LINKROWCOUNT) INPUTDATE = OConv(@DATE,"D2/") WRITESEQ "Date :&quo...
by pongal
Tue Apr 05, 2005 10:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how do we create a control file in after job subroutine
Replies: 7
Views: 1712

Should we write the code in after job subroutine itself like without using shell script file .sh
creating a file
adding contents Date and rowcount
by pongal
Tue Apr 05, 2005 7:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how do we create a control file in after job subroutine
Replies: 7
Views: 1712

how do we create a control file in after job subroutine

Hi,
How do we create a control file in after job subroutine through shell scripting

The file format should look like this(suppose file name extract.ctl)
Date: 04/05/05
Record Count: xxxx

Thanks in advance....
by pongal
Thu Mar 31, 2005 2:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Is there any DB2 SQL Builtin Conversion from EBCDIC - ASCII
Replies: 3
Views: 2362

Is there any DB2 SQL Builtin Conversion from EBCDIC - ASCII

Hi, I am extracting the data from DB2 Database table with the following query like... SELECT CMMPU,CMMKU,CMLDA FROM FIN017 WHERE ASCII(CMMPU) = 'HT'; here the field CMMPU data type is in Binary. it is giving an error ASCII Function is undefined name. could anyone give me exact conversion function fo...
by pongal
Mon Mar 28, 2005 12:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate control files in a datastage job?
Replies: 8
Views: 6849

Thanks roy...
I got the rowcount.. but performance is dam slow as we have 7.2 million records at source file. can we take any performance tuning?