Error calling subroutine: DSR_SCHEDULE

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
rohitchattar
Premium Member
Premium Member
Posts: 24
Joined: Thu Jun 21, 2007 1:20 am

Error calling subroutine: DSR_SCHEDULE

Post by rohitchattar »

Hi,

I get following error for a new user added to a group and trying to schedule a job.

Error calling subroutine: DSR_SCHEDULE (Action=3); check DataStage is set up correctly in project XXXX
(Subroutine failed to complete successfully (30107))

Also reschedule icon is disabled.

One more thing noticed, I see jobs in crontab but director says not scheduled.

Can anyone help here?

1. How to let user schedule and not get above message?
2. How to get crontab entry imported to DS scheduler?

Rohit
Hemant_Kulkarni
Premium Member
Premium Member
Posts: 50
Joined: Tue Jan 02, 2007 1:40 am

Post by Hemant_Kulkarni »

Does the new user have permission to schedule jobs ?? Entries should be available in cron.allow and at.allow
rohitchattar
Premium Member
Premium Member
Posts: 24
Joined: Thu Jun 21, 2007 1:20 am

Post by rohitchattar »

What is this file? cron.allow and at.allow

I see cron entries but director show unscheduled.

Can i sync cron with scheduler?

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

Post by chulett »

The Director will only show a job as Scheduled if the currently logged in user is also the one that scheduled it. This because cron is user specific and each user can have their own crontab.

Your SA would need to manage the 'allow' files for you.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rohitchattar
Premium Member
Premium Member
Posts: 24
Joined: Thu Jun 21, 2007 1:20 am

Post by rohitchattar »

Hi,

I am able to schedule what that means is at and cron entries are added for that user.

The only problem is it's not getting added to Data Stage repository and therefore cannot see thru director.

But am able to see at unix level.

I feel some permission issue not for cron or at but for some directory of datastage.

Rohit
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

There is a shell script below the project with schedule in the name. Permissions on this script sometimes mess up this scheduling process. If I remember correctly you do not want the set uid bit set.

ls -la *sched*

-rwsrwsr-x

Should not be a s in any of these on this script.
Mamu Kim
rohitchattar
Premium Member
Premium Member
Posts: 24
Joined: Thu Jun 21, 2007 1:20 am

Post by rohitchattar »

Hi,

The permission on dsr_sched.sh is correct

-rwxrwxr-x 1 dsadm users 155 Nov 9 2004 dsr_sched.sh

I think it's not the script that schedules that has issue, it's the place where datastage stores the information about the schedule.

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

Post by chulett »

At this point, seems like a call to your Support provider is in order to resolve this.
-craig

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