Jump to content

Logo

* * * - - 1 votes

Solved : Problem adding a Scheduling Rule


1 reply to this topic

#1 sansoft

    Newbie

  • Members
  • 1 posts

Posted 17 September 2008 - 09:37 AM

Hello,

I would like to add a rule to an existing task on $U with the command uxupd

uxupd TSK EXP SES=SESSION1 UPR=UPROC1 MU=MU1 IMPL ADD RULE=("RULE1",09172008)

U_FMT_DATE = mm/dd/yyyy

But when executing the command, i'm getting the error below:
syntax error at line 2 : `(' unexpected

Can you please help me out?

Thanks

Edited by sansoft, 17 September 2008 - 07:36 PM.


#2 men

    Hero Member

  • Root Admin
  • PipPipPipPip
  • 4,389 posts
  • Gender:Male
  • Location:Europe

Posted 19 September 2008 - 01:42 PM

Hello and welcome sansoft,

the date you enter in your command should respect the format defined by U_FMT_DATE.

So change your command to

uxupd TSK EXP SES=SESSION1 UPR=UPROC1 MU=MU1 IMPL ADD RULE=("RULE1",09/17/2008)

I guess that uxupd TSK EXP SES=SESSION1 UPR=UPROC1 MU=MU1 IMPL ADD RULE=(RULE1,09/17/2008) should also work.

Note that on Unix and Windows it will be necessary for certain commands to protect the " by character \.

Michel





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users