How do I create a week variable in Control M

5 pts.
Tags:
CONTROL-M
I am fairly new to Control M and need to create a variable which resolves the working week. i.e. KL-%%MONTH._W07_D%%$ODATE..gz The W07 needs to get automatically resolved.

Software/Hardware used:
Control M

Answer Wiki

Thanks. We'll let you know when a new response is added.

You need to give week parameters in WDAYS from 0 to 6 where 0 stands for Sunday, 1 stands for Monday….. 6 stands for saturday.

If you need to run the job on day 5 of 1st week of every month, you need to give parameter as D5W1 in WDAYS parameter.

Hope this clarifies your query.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • justinnen
    I believe you can use 'Set' tab for this. On the left side, you mention your variable name i.e W07, and on the right side you mention the Control M variable that will give you the week day.
    40 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following