Search found 112 matches

by chetan.c
Thu Feb 02, 2012 1:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read a network request and response file
Replies: 37
Views: 9524

Hi Kandy, Thanks for the response. The number of lines are not constant and also since there are a large number of files ,i will have multiple StatusCodeText,RequestHeaderSize and other fields names.. For the XML part i tried by looking for the charecter "<" and picking the entire XML till...
by chetan.c
Thu Feb 02, 2012 1:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read a network request and response file
Replies: 37
Views: 9524

hi Shekar,

Thanks for response.
If its possible to read entirely in Datastage then would like to g o ahead with it else will try out you approach too.


Thanks.
by chetan.c
Thu Feb 02, 2012 1:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read a network request and response file
Replies: 37
Views: 9524

Hi Ray, The file as we saw conatins XML content as well. The target table contains columns for whihc data has to be extracted from XML content and the other data. Please see the extract from the file. StatusCode=200 StatusCodeText=OK RequestHeaderSize=301 RequestDataSize=2122 RequestSize=2423 Respon...
by chetan.c
Wed Feb 01, 2012 12:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read a network request and response file
Replies: 37
Views: 9524

Hi Craig,

Do you want any more information or the entire file?

Please help me to read this file.


Thanks.
by chetan.c
Tue Jan 31, 2012 1:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read from begging of a charecter till EOF
Replies: 1
Views: 963

Read from begging of a charecter till EOF

Hi,

In a file if i have data like this.

Col1
It costs me $100 for books.


How to read from "$" till the end of file?.

Thanks,
Chetan
by chetan.c
Wed Jan 25, 2012 5:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read a network request and response file
Replies: 37
Views: 9524

A sample from the file [env] REQ_BUFFER_ENCODING=UTF-8 REQ_BUFFER_ORIG_ENCODING=UTF-8 RESP_BODY_ENCODING=UTF-8 REQ_BUFFER_ENCODING This should be my column name. UTF-8 -----Data under that coulmn Similarly for all other fileds. Also there is an XML portion in the file. Kindly guide me to read this f...
by chetan.c
Tue Jan 24, 2012 4:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Read a network request and response file
Replies: 37
Views: 9524

Read a network request and response file

Hi, I have a file which is like this. How to read this file. [iamie] TLTSID=EC2172542B72102BB5AE2D89C82DEAEC TLTHID=EC2172542B72102BB5AE2D89C82DEAEC CaptureType=1 CaptureVersion=3330 [appdata] [env] REQ_BUFFER_ENCODING=UTF-8 REQ_BUFFER_ORIG_ENCODING=UTF-8 RESP_BODY_ENCODING=UTF-8 [privacy] response|...