Removing calendar dates from command line
search cancel

Removing calendar dates from command line

book

Article ID: 222183

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys)

Issue/Introduction

Is there any way to remove single date from calendar without using "autocal_asc" manually (through menu tree) actions?

 

 

Environment

Release : 11.3.6,12.x

 

Resolution

- To Delete Single Dates in Calendar through command line please look at below lines

Example:

- Delete Dates from a Standard Calendar Using the Redirection Operator
This example deletes 02/04/2016 and 03/04/2016 dates from the calendar named holiday_2016. In the text file named dates.txt, specify the calendar name, the D option, and the dates to be deleted from the calendar as follows: 

holiday_2016
D
02/04/2016
03/04/2016

- Issue the autocal_asc command with the redirection operator and the text file name as follows:

- autocal_asc < dates.txt