DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
r29g18
Participant



Joined: 23 Apr 2012
Posts: 9

Points: 84

Post Posted: Wed Apr 25, 2012 11:15 pm Reply with quote    Back to top    

DataStage® Release: 7x
Job Type: Parallel
OS: Unix
Additional info: Complex flat file configuration required
Hi There, I have a problem while reading multiple record types using Complex Flat file. My input file is coming from Mainframes in EBCDIC (Binary) format and it has three record types in it; Header, Detail and Trailer. I have defined three record definitions in CFF stage along with the Record Id specifications ( for each record type, the first column represents the record type).I have configured the CFF stage as below.

File Options: Record Type - Fixed Block
Record Options: Byte Order -Big endian; Data format- binary ; Character set: EBCDIC.

With the above settings in the CFF stage I am not able to read the file. But
When I tried to read the same file in server job then CFF stage giving me the expected output, but the job is getting aborted when try to read the file (Header,Detail along with the Trailer) using CFF stage in parallel job .

Can anyone help me in resolving this issue.

Thanks in advance!

_________________
Ria
The only way of finding the limits of the possible is by going beyond them into the impossible
r29g18
Participant



Joined: 23 Apr 2012
Posts: 9

Points: 84

Post Posted: Thu Apr 26, 2012 11:27 am Reply with quote    Back to top    

Any advice is appreciated

Thanks

_________________
Ria
The only way of finding the limits of the possible is by going beyond them into the impossible
Rate this response:  
Not yet rated
Aruna Gutti



Group memberships:
Premium Members

Joined: 21 Sep 2007
Posts: 146
Location: Boston
Points: 998

Post Posted: Thu Apr 26, 2012 11:35 am Reply with quote    Back to top    

Ria,

How are you trying to read the file in parallel job? Is it through view data? Did you checked the record layout?

It is very easy work with CFF stage in a server job. Because a server job doesn't complain about a data type and I also read some where CFF stage was initially a server stage later brought into parallel pallette.

Please post what error you are getting so taht we can try to help you.

Aruna.
Rate this response:  
Not yet rated
r29g18
Participant



Joined: 23 Apr 2012
Posts: 9

Points: 84

Post Posted: Thu Apr 26, 2012 12:25 pm Reply with quote    Back to top    

Hi Aruna

Thanks for quick response..Smile
Yes iam trying to read file through view data but its throwing an error i.e

>##E TCOS 000003 13:23:23(001) <main_program> Syntax error: Error in "import" operator: Error in operator arg: In field "SDW": Expected ";", got: "-", line 323
>Expected operator name, got: ")", line 346; text: import;

>)
>Error in "jobmon_ident" operator: Error in output redirection: Error in output parameters: Error in modify adapter: Expected ';' or ','; got: "-", line 360
>
>##E TCOS 000029 13:23:23(002)

and i have cross checked record layout.Iam able to read that file in server job not in parallel.
I have one doubt my datastage version is 7x not 8x is this reason of that.

Thanks in advance....

_________________
Ria
The only way of finding the limits of the possible is by going beyond them into the impossible
Rate this response:  
Not yet rated
r29g18
Participant



Joined: 23 Apr 2012
Posts: 9

Points: 84

Post Posted: Thu Apr 26, 2012 12:40 pm Reply with quote    Back to top    

Any advice and suggestion is appreciated

Thanks

_________________
Ria
The only way of finding the limits of the possible is by going beyond them into the impossible
Rate this response:  
Not yet rated
Aruna Gutti



Group memberships:
Premium Members

Joined: 21 Sep 2007
Posts: 146
Location: Boston
Points: 998

Post Posted: Thu Apr 26, 2012 1:16 pm Reply with quote    Back to top    

I am not sure whether Version 7 parallel CFF stage support reading multiple records. I only worked on multiple record formats in version 8. For our version 7 we used server jobs for CFF multiple record layouts.
Rate this response:  
Not yet rated
r29g18
Participant



Joined: 23 Apr 2012
Posts: 9

Points: 84

Post Posted: Thu Apr 26, 2012 9:51 pm Reply with quote    Back to top    

Any suggestion that whether Version 7 parallel CFF stage support reading multiple records or not ?

Thanks in advance

_________________
Ria
The only way of finding the limits of the possible is by going beyond them into the impossible
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 36605
Location: Denver, CO
Points: 186585

Post Posted: Thu Apr 26, 2012 11:10 pm Reply with quote    Back to top    

Not sure... you could always ask your official support provider and let us know what you find out.

_________________
-craig

It's a scheme of devices to get at low prices all goods from cough mixtures to cables
Which tickled the sailors by treating retailers as though they were all veg-e-tables
Rate this response:  
Not yet rated
r29g18
Participant



Joined: 23 Apr 2012
Posts: 9

Points: 84

Post Posted: Thu Apr 26, 2012 11:34 pm Reply with quote    Back to top    

Can anyone throw light why this error is coming while reading file throw view data

>##E TCOS 000003 13:23:23(001) <main_program> Syntax error: Error in "import" operator: Error in operator arg: In field "SDW": Expected ";", got: "-", line 323
>Expected operator name, got: ")", line 346; text: import;

>)
>Error in "jobmon_ident" operator: Error in output redirection: Error in output parameters: Error in modify adapter: Expected ';' or ','; got: "-", line 360
>
>##E TCOS 000029 13:23:23(002)


Thanks

_________________
Ria
The only way of finding the limits of the possible is by going beyond them into the impossible
Rate this response:  
Not yet rated
r29g18
Participant



Joined: 23 Apr 2012
Posts: 9

Points: 84

Post Posted: Fri Apr 27, 2012 10:50 am Reply with quote    Back to top    

Any suggestions how to proceed further ??

_________________
Ria
The only way of finding the limits of the possible is by going beyond them into the impossible
Rate this response:  
Not yet rated
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 1255
Location: USA Kentucky
Points: 8955

Post Posted: Fri Apr 27, 2012 11:03 am Reply with quote    Back to top    

To quote Craig...

chulett wrote:
Not sure... you could always ask your official support provider and let us know what you find out.


I second that.

_________________
 
Eric
_________________

I do want to express myself, okay. And I don't need 37 pieces of flair to do it.
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours