To capture link count in a sequential file

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
satishm
Participant
Posts: 22
Joined: Wed Aug 20, 2008 6:37 am

To capture link count in a sequential file

Post by satishm »

Hi Friends,
Can someone suggest me a command/syntax to capture a link count fetched by the DSGetLinkinfo routine in a sequential file ?

Regards,
Satish.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Unclear... you need to read a file from a routine that has a link count written to it, or you've got the link count and now want to write it out? For the latter, you can echo it to a file or go through the whole OPENSEQ, WRITESEQ, CLOSESEQ shenanigans.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Or do you want an operating system level command? If so you're out of luck unless you create DataStage components (maybe a job) that you can invoke using dsjob.
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