Create a Shared container with a hash file for parallel
Moderators: chulett, rschirm, roy
Create a Shared container with a hash file for parallel
I need to use a hashfile which is a output from a serverjob as a shared container in parallel. My questions is
1) how can I create a container with only the hashfile ?
2) can I write the hashfile to a seq file and use it as a lookup file set ?, do I need to take any precautions when I am writing hash to seq ?
1) how can I create a container with only the hashfile ?
2) can I write the hashfile to a seq file and use it as a lookup file set ?, do I need to take any precautions when I am writing hash to seq ?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It's "hashed" file, not hash file.
1) You can create a server shared container and use that in a parallel job, provided that the restrictions described in Chapter 2 of the Parallel Job Developer's Guide about incorporating server components are observed.
2) Yes, but the job that dumps the hashed file into a sequential file will run sequentially, and therefore may as well be a server job. You can not use a sequential file as a Lookup File Set, as they have different internal structures. But you can use a sequential file to feed a reference link; in either case the data are first loaded into a virtual Data Set. Lookups are performed against the virtual Data Set (except in the case of sparse lookups, which are only possible against database tables, e.g. DB2 and Oracle).
1) You can create a server shared container and use that in a parallel job, provided that the restrictions described in Chapter 2 of the Parallel Job Developer's Guide about incorporating server components are observed.
2) Yes, but the job that dumps the hashed file into a sequential file will run sequentially, and therefore may as well be a server job. You can not use a sequential file as a Lookup File Set, as they have different internal structures. But you can use a sequential file to feed a reference link; in either case the data are first loaded into a virtual Data Set. Lookups are performed against the virtual Data Set (except in the case of sparse lookups, which are only possible against database tables, e.g. DB2 and Oracle).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
You refuse to give up don't youray.wurlod wrote:It's "hashed" file, not hash file.
![Wink :wink:](./images/smilies/icon_wink.gif)
Last edited by DSguru2B on Thu Dec 21, 2006 2:50 pm, edited 1 time in total.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 1255
- Joined: Wed Feb 02, 2005 11:54 am
- Location: United States of America