Hi can anyone please guide me how to open and dataastage generated .txt file to open in external C routine.
I am using C routine in Parallel job. I am unable to open the datastage generated .txt file in External C rouitne.
If i remove the .txt file from the C routine and hard code the values instaed of file then i get required output.
But my requirement is that i need to open the .txt file and check for the logic and give the output
How to call a file in external routine C
Moderators: chulett, rschirm, roy
You're asking here for help writing a C program to read a flat file? There are more appropriate places out there for this kind of question, seeing as how this really isn't a DataStage question or problem, but perhaps someone may take pity on you and throw you a bone.
Best to find a forum/resource dedicated to C/C++ or perhaps leverage a local resource. Can a colleague where you work not help?
Best to find a forum/resource dedicated to C/C++ or perhaps leverage a local resource. Can a colleague where you work not help?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: