How to Write One row of dyanamic data from the query result

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
Raj6778
Premium Member
Premium Member
Posts: 6
Joined: Mon Oct 29, 2007 11:28 am

How to Write One row of dyanamic data from the query result

Post by Raj6778 »

I am trying to write 1 row of query data runtime as a headerline for sequential file, just one row, any suggestions

thx in advance
jdmiceli
Premium Member
Premium Member
Posts: 309
Joined: Wed Feb 22, 2006 10:03 am
Location: Urbandale, IA

Need more info

Post by jdmiceli »

Is the info you are looking for a count? A single dataset? Can it be defined as a user defined SQL? Does the SQL need to change each time?

These are the first questions that pop to my mind.

Provide some more background and details and we might be able to give you more.
Bestest!

John Miceli
System Specialist, MCP, MCDBA
Berkley Technology Services


"Good Morning. This is God. I will be handling all your problems today. I will not need your help. So have a great day!"
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Constrain your query so that it only returns one row. Problem solved.

For the rest of the data use a second job, that appends to the file.
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