NOT ABLE TO VIEW JOB SCHEDULES

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

vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

NOT ABLE TO VIEW JOB SCHEDULES

Post by vintipa »

Hi Experts,

Few users are able to schedule the jobs but cannot view the schedule in the director.
That is, the job runs correctly once it is scheduled at any time, but when the View Schedule button is clicked, the jobs does not show the job schedule. It says (Not Scheduled).

It happens to few users but not all.

Kindly let meknow the reason and remedy to this.

regards,
vinay.
Vinay
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Since DataStage uses the UNIX cron facility, I would look at the cron access rights, which can be a bit confusing at times.
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

Can you please illustrate on this !!! i want to knwo what i should be checking

so that i'll check in this regard.

regards,
Vinay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need to understand that the cron-based Schedule is per user, so if user A schedules something, only they will see it in the schedule. Any other user will see it as 'Not Scheduled'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

Ya but here the User A who has scheduled the Job is himself not able to view his Schedules...
Vinay
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I think it is possible to have a crontab setup so that the user under whose ID the jobs are to run are not visible. Can you try to login in UNIX with that user's id and try "crontab -l"?
Last edited by ArndW on Wed Oct 28, 2009 7:59 am, edited 1 time in total.
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

this is the output i get :

$ crontab -l
0481-103 Cannot open a file in the /var/spool/cron/crontabs directory.
A file or directory in the path name does not exist.

any idia ?
Vinay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You need to take that error to your SysAdmin so they can check things out and correct whatever the issue is.
-craig

"You can never have too many knives" -- Logan Nine Fingers
mgendy
Premium Member
Premium Member
Posts: 44
Joined: Thu Sep 10, 2009 5:30 am
Contact:

Post by mgendy »

vintipa wrote:this is the output i get :

$ crontab -l
0481-103 Cannot open a file in the /var/spool/cron/crontabs directory.
A file or directory in the path name does not exist.

any idia ?

The System parameter crontab refers to invalid path , the file is missing , so the default privillages is that each user see his schedules , but i wonder how a user A couldn't see his schedules ? it is really strange , check with your system administrator , and kindly feed us back to know this strang behavior

Gendy
Mohmmed Elgendy
Senior System Analyst
Data IntegrationTeam
Etisalat Egypt
+20 1118511161
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

Yes i am checcking this with the system administrators. at Unix level he has corrected all the permissions. But i guess there is some issue at Datastage level...

Actually i have created new projects and given "datastage developer" access to the group that contains this user.
rest all unix groups have "None" access
Vinay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, there's no "DataStage level" for schedules, it's all on the UNIX side.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

No but i wonder about this strange situation:
----------------------------------------------------------------------------------
user A is able to schedule jobs and view his schedule in a project P1.
But the same user A is not able to view his own schedules in project P2.

both P1 and P2 are in the same unix server.
----------------------------------------------------------------------------------

How can u explain this condition!!!
unix problem or datastage/ project settings problem?
Vinay
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

What does your project's "Schedule" tab in the Administrator tool say for both projects?
vintipa
Participant
Posts: 136
Joined: Wed May 07, 2008 11:26 am
Location: Sydney, Australia
Contact:

Post by vintipa »

The Schedule Tab is faded out.
in other words the tab is diabled.

what can this mean ?
Vinay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It means you're not logged in as 'dsadm'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply