Appending 2 Files

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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It seems to me that the simplest solution is to have a job stream made up of jobs in a sequence, rather than containers in a job. The second job specifies "append to file" in its Sequential File stage.
Assuming you have DataStage 5.x or 6.x, your work thus far is not lost; you can convert your containers to shared containers then use them (one in each) in the new jobs.

Edited by - ray.wurlod on 12/19/2002 15:55:46
sankar18
Participant
Posts: 34
Joined: Mon Dec 16, 2002 1:18 am

Post by sankar18 »

Hi Cklesis,

It works fine with NT.
It is working with before-subroutine Execdos aslo.
You try with full path while copy

copy c:a.txt+c.txt c:ac.txt /b/y

T Sankar
sankar18
Participant
Posts: 34
Joined: Mon Dec 16, 2002 1:18 am

Post by sankar18 »

Hi Cklesis,

It works fine with NT.
It is working with before-subroutine Execdos aslo.
You try with full path while copy

copy c:a.txt+c.txt c:ac.txt /b/y

T Sankar
sankar18
Participant
Posts: 34
Joined: Mon Dec 16, 2002 1:18 am

Post by sankar18 »

Hi Cklesis,

It works fine with NT.
It is working with before-subroutine Execdos aslo.
You try with full path while copy

copy c:a.txt+c.txt c:ac.txt /b/y

T Sankar
Post Reply