Datastage project wise folder name

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sourabhverma
Participant
Posts: 74
Joined: Thu Jan 05, 2006 2:07 am

Datastage project wise folder name

Post by sourabhverma »

Hi,

I have written a DS sub-routine to get the job wise Category/Folder name & writting into a sequential file. following is the query I am using for this purpose:

SELECT JOBNO FMT '5L', NAME FMT '100L' AS JNAME,CATEGORY FMT '100L', JOBTYPE FMT '5L' FROM DS_JOBS WHERE NAME NOT LIKE '\\%';

I tried to run this Routine in 2-3 different datastage project, The folder names are coming absolutley correct for all the jobs of a project except one job.

For one of the jobname the folder name & jobtype are coming as :

FolderName = "JOBTYPE".
JobType = JOBTYPEIND

whereas the jobname & job number values are fine.

Can anybody give an insight on this.
Thanks,
Sourabh Verma
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As a guess, the project may have some manner of corruption in it and be a candidate for a REBUILD.
-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 »

What is the NAME of the aberrant job?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sourabhverma
Participant
Posts: 74
Joined: Thu Jan 05, 2006 2:07 am

Post by sourabhverma »

Thanks for the reply.
I ran the same sub-routine once again in the same project withou doing any changes and this time every thing was perfect, The jobnames which were having issues last time retrieved folder name correctly.


I am not sure what the issue is.
Thanks,
Sourabh Verma
Post Reply