Read from a file set

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
olgc
Participant
Posts: 145
Joined: Tue Nov 18, 2003 9:00 am

Read from a file set

Post by olgc »

A fileset is created by a parallel job with 12 writes running in 2 nodes, so 24 files are created. When another job reads from the same fileset, it does not read all 24 files, instead it seems it just reads one of them. Both write and read jobs have the same pathname of the control file for the file set, such as, ErrDW. What's wrong there? Why does read from fileset not read all 24 files?

Thanks,
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Are both jobs using the same configuration file ($APT_CONFIG_FILE)?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vamsi.4a6
Participant
Posts: 334
Joined: Sun Jan 22, 2012 7:06 am
Contact:

Post by vamsi.4a6 »

what is meant by with 12 writes?
Thanks and Regards
Vamsi krishna.v
http://datastage-vamsi.blogspot.in/
olgc
Participant
Posts: 145
Joined: Tue Nov 18, 2003 9:00 am

Post by olgc »

Yes, both have the following config file:

ParmSet_Common.$APT_CONFIG_FILE = .../Configurations/default.apt (From value file)
olgc
Participant
Posts: 145
Joined: Tue Nov 18, 2003 9:00 am

Post by olgc »

what is meant by with 12 writes?

The job writes to 12 filesets with the same control file pathname and setting.

This job tries to test whether fileset has the capacity of supporting multiple writes in one job or from different jobs like hash file in server edition. It seems fileset does not have the same capability.

Thanks,
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes and no. It is not the File Set itself that imposes this limit; it's the underlying file sytem. Each of the segment files that make up the File Set can only have one writer at a time.

The same is true for Data Sets, Sequential Files, and all other structures that rely directly upon files in the file system.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply