Search found 11 matches

by pravat_dw
Tue Jan 18, 2011 6:08 am
Forum: General
Topic: Reading mainframe variable length file
Replies: 5
Views: 2773

Reading Mainframe variable length file

Yes I have used the CFF stage,used the copy book and able to read few columns but there is one occurs clause,(its a complex file with multiple redefines and occurs) from which am not able to read the file.

Thanks,
Pravat
by pravat_dw
Mon Jan 17, 2011 1:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading mainframe variable length file EBCDIC format
Replies: 1
Views: 2103

Reading mainframe variable length file EBCDIC format

Hi,

I am getting variable length mainframe file with occurs clause in EBCDIC format.
Could please suggest me how I can read this file in DS.

Thanks,
pravat
by pravat_dw
Sun Jan 16, 2011 10:09 pm
Forum: General
Topic: Reading mainframe variable length file
Replies: 5
Views: 2773

Reading mainframe variable length file

Hi,

I am getting variable length mainframe file with occurs clause in EBCDIC format.
Could please suggest me how I can read this file in DS.

Thanks,
pravat
by pravat_dw
Tue Aug 03, 2010 12:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading xml from a Pipe delimeter file
Replies: 9
Views: 4546

Well that explains why Field() can't find field #5 at least - it's not on the same line. You need a more comprehenive way to parse these data, perhaps do the parsing in a Transfomer stage that segreg ... Are you saying I need to use xml transformer stage. Could you please tell in little more detail...
by pravat_dw
Mon Aug 02, 2010 11:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading xml from a Pipe delimeter file
Replies: 9
Views: 4546

Sample file

H|sales|01082010
D|ee|tty|yuu|45rtgtg7|
xml file
D|ee|tty|yuu|45rtgtg8|
xml file
D|ee|tty|yuu|45rtgt99|
xml file
D|ee|tty|yuu|45rtgtoo4|
xml file
T|total no of records|4

Thanks
Saha
by pravat_dw
Mon Aug 02, 2010 11:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading xml from a Pipe delimeter file
Replies: 9
Views: 4546

In line D there is a | delimeter after the 4th (key field) then empty space is there and the xml file is in a new line,at the end of the xml file there is | delimeter.
after this agin D with the similar format a new set of record with xml file is there.

Thanks
Saha
by pravat_dw
Mon Aug 02, 2010 10:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading xml from a Pipe delimeter file
Replies: 9
Views: 4546

Thanks Craig. By using the 4th field I have to validate the set of one row of records. I have to do a lkp with reference table if this is there in ref tab then only I have to read the xml which is there in 5th field. I have tried to read the whole file as | delimeted file but I am not able to read t...
by pravat_dw
Mon Aug 02, 2010 3:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading xml from a Pipe delimeter file
Replies: 9
Views: 4546

Reading xml from a Pipe delimeter file

Hi, My input file is a Pipe delimeter file. H|sales|01082010 D|ee|tty|yuu|45rtgtg7| xml file T|total no of records|5 my input file format is like above. in detail reord 4th field is the key colmun and based on this I have to read the xml.as per the input file 5th field is the xml file. I have tried ...
by pravat_dw
Thu Jul 05, 2007 3:14 am
Forum: General
Topic: Caught ORCHESTRATE exception
Replies: 3
Views: 2660

Caught ORCHESTRATE exception

Hi,
I m getting following error message and job is getting aborted.

main_program: Fatal Error: Caught ORCHESTRATE exception in main program: APT_Archive::BadData: From: Loading memory archive.

Can any one help me out.
Thanks
Pravat
by pravat_dw
Tue Jul 03, 2007 1:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning with PWD environment!
Replies: 6
Views: 3584

value of the PWD environment variable

kumar_s wrote:Create a environmental variable PWD and add the path which points to your project directory. "/etld/etl/ascential/Ascential/DataStage/Projects/MARINA".
Or you can alternatively specify '.', which is ...
I have created the environmental variable, but still getting the same error.
by pravat_dw
Tue Jul 03, 2007 1:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: PWD environment variable error
Replies: 1
Views: 1117

PWD environment variable error

Hi, I am getting following error while running the job main_program: Warning: the value of the PWD environment variable (/apps/etl/dsadminscripts) does not appear to be a synonym for the current working directory (/apps/Ascential/Projects/edw). The current working directory will be used, but if your...