ReadList

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
juliyas
Participant
Posts: 14
Joined: Wed Feb 09, 2005 10:32 am

ReadList

Post by juliyas »

Hi all,

Somebody used the READLIST function?
Is it get only the keys or a full record?

thanks,
Juliya
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Read BASIC command READLIST will take the contents of a SELECT list and put it into a variable. SELECT lists usually contain a list of HASH file keys.

So once you have your SELECT list contents in a variable you will have to open the hash file, loop through the entries in the list and do an explicit READ on each record.
juliyas
Participant
Posts: 14
Joined: Wed Feb 09, 2005 10:32 am

Post by juliyas »

thanks
Post Reply