Originally posted by: IBM WTX
Hi TarunB,
Thanks for your reply. For the burst mode I need to change my design, which I dont want to do at this stage. Beside this customer has one Outbound flat file which is being transalted to XML and then uploaded to Centeral Repository. In other words one flat file input and one xml output. If I change the design to burst mode or some pre processed map then there will be multiple output coz I am using PUT in my final card. Which customer dont want or I have to consolidats these burst or pre processed small files outputs into a single output file.
After making some changes for Page size 512 and Page count 16, I tried to process around 18MB flat file with 3,30,000 records successfully. But large file over that still giving me problem. I have the following setting in my Router Map
=RUN( "S:\SADAD_LINK\MAPS\" + MapName Field:.:FileInfo , "-IE1S" + NUMBERTOTEXT(SIZE(FileName Field:.:FileInfo)) + " " + FileName Field:.:FileInfo
+ " -IE2S"+NUMBERTOTEXT(SIZE(PACKAGE(InFile) )) +" " + PACKAGE(InFile)
+ " -IE3S"+NUMBERTOTEXT(SIZE(PACKAGE( CfgRec Record RouterCfg:.:FileInfo) )) +" " + PACKAGE(CfgRec Record RouterCfg:.:FileInfo)
+" -OF1 S:\SADAD_LINK\ERR\" + FileName Field:.:FileInfo+ "." + DATETOTEXT(CURRENTDATETIME("{CCYYMMDD}{HH12MMSS3-3AM/PM}" ) ) + ".ERR" )
Over here I will try Handle In as you sugessted and see the results. My called map whis is translating the flat file into XML has the following argements for Out put sink map.
=IF(PRESENT(XML) ,
PUT("FILE",
OutDir Field:Route+ SUBSTITUTE(TextOnly Other:TextOnly File:FileName, "CA","CAXML.BUPLRQ")
+"."
DATETOTEXT(CURRENTDATETIME("{CCYYMMDD}{HH12MMSS3-3AM/PM}" ) )".Xml"
,PACKAGE( XML)))
If you have any comment on above argument I will apreciate, mean while I will try handle in and get back to you. Thanks for your vlaued input.
Regards
Umer
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange