Has anyone used them in a DS job and passed them to the next event in the same job?
I can create them, load them, but in my next process they are gone. Any parameters/tricks, etc to get them to stay?
I am trying to use them to store imtermediate results and join a 'real' table with my intermediate results set in the temp table (instead of a hash file, which I cannot join with....)
GLOBAL TEMPORARY TABLES
Moderators: chulett, rschirm, roy
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
No, temporary tables follow the rules for temporary tables; they are dropped when the user's session that created them ends.
Subsequent DataStage jobs are separate sessions.
Subsequent DataStage jobs are separate sessions.
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.
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Then don't use a temporary table.
Use a "real" table, and drop it once all jobs that need to deal with it have finished.
Of course, you need different authorization to create "real" tables, which will probably require negotiation skills!
Use a "real" table, and drop it once all jobs that need to deal with it have finished.
Of course, you need different authorization to create "real" tables, which will probably require negotiation skills!
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.