═══ 1. Main Window ═══ This window is the window that first appears when AUTOS2 is invoked. Continued ═══ 1.1. Main Menu Items ═══ Most of these options can be performed using the GUI interface via the Picture Push Buttons. Files The Files option allow for the manipulation of the Schedules and Scripts. Schedules Schedules will contain the automation task required on a specific date at a specific time. Select The Select option allows for the selection of a Schedule which is required to be automated or edited. Edit The Edit option will invoke the User's editor of choice to manipulate the Schedule. The format of which is: field1,field2,field3,field4,field5,field6,field7,field8,field9,field10,field11 this is commonly known as a comma delimited line where: field1 is the From Date with a format of YYYY-MM-DD field2 is the To Date with a format of YYYY-MM-DD field3 is the From Time with a format of HH:MM:SS field4 is the To Time with a format of HH:MM:SS field5 is the Interval Time with a format of HH:MM:SS field6 contains 5 indicators representing the week within the month. A 1 will indicate a week that is to be automated on, a 0 that it is not. The first indicator is the first week and so on. field7 contains 7 indicators representing the days of the week. A 1 will indicate that the day is to be automated on, a 0 that it is not. The first indicator represents Sunday and so on. field8 contains 12 indicators representing the months of the year. A 1 will indicate that the month is to be automated on, a 0 that it is not. The first indicator represents January and so on. field9 contains the name of a DateGroup file. If the extension is missing then *.DTG is assumed. This file should contain a list of dates in the format YYYY-MM-DD and represent dates on which automation should not take place, for example holidays. field10 contains the name of a DateGroup file. If the extension is missing then *.DTG is assumed. This file should contain a list of dates in the format YYYY-MM-DD and represent dates on which automation will only take place, for example backups on the last day of the month. field11 contains the command to be issued. Recycle The Recycle option will halt automation and immediately start it again but with the currently selected Schedule. Scripts Scripts will contain a set of commands that will conduct a particular PM window dialogue. The format of each line is simply a single field containing the command to be executed, as per field11 for a Schedule. Select The Select option allows for the selection of a Script which is required to be run or edited. Edit The Edit option will invoke the User's editor of choice to manipulate the Script. Run The Run option will load the currently selected Script. Halt The Halt option will stop the currently runnning Script. Date Groups The Date Groups option will allow for the selection of, and invoke, the User's editor of choice to manipulate a Date Group File. Dates are held in the format "YYYY-MM-DD" for use on the day page of the Schedule Settings Notebook. Date Group Files should have an extension of ".DTG". Parameters The Parameters option will allow for the selection of, and invoke, the User's editor of choice to manipulate a Parameter File. Parameters can be held one per line in one of two formats. Value Format This is where only the value of the parameter is defined, that is it is not prefixed with "PARMn=" where n is a parameter number. The value of n is automatically assigned from the beginning of the parameter file, starting at one, and incremented after each Value formatted line. Assignment Format This line is of the format "PARMn=Value" where n is the assigned parameter number. This line does not effect the automatic numbering of the Value only format. These parameters can be loaded using the "Load Parameter" internal command and used for sending to Multi Line Entry Fields or pasting to a DOS/OS2 window. As an example you could load parameter file ABC.PRM with SQL being carefull to leave values to be substituted on a seperate line. These values will be assigned a PARM value depending on the line on which they appear. In a second parameter file XYZ.PRM you would assign these parameters a value for this run (i.e. a WHERE clause). Then by using the "Output Parameter" internal command the substituted SQL could be sent to a Query MLE window. Exit The Exit option will stop Automation and halt AUTOS2. Options The Options Menu item will allow for User settings. Editor Here the User can enter a command that will invoke an Editor of choice. By imbedding the word "EdName" the User can specify where the member to be edited must be placed on the command line. For example: Start E.EXE EdName Automation The Automation option will allow for Automation to be switched on if it is off, or switched off if it is on. On The On option will switch on automation. Off The Off option will switch off automation. Log The Log option will allow for the Logging to be switched on if it is off, or switched off if it is on. On The On option will switch on logging. Off The Off option will switch off logging. Show Hints The Show Hints option will allow for the Showing of a window's hint text to be switched on if it is off, or switched off if it is on. On The On option will switch on Hint text. Off The Off option will switch off Hint text. Setup The Setup option allows for the entry of INI file type entries. Allowable entries are: Editor=entry1 Where entry1 is the startup command for an Editor. Auto=entry2 Where entry2 can be Y or N being to required setting for Automation at startup. Log=entry3 Where entry3 can be Y or N being the required setting for Logging at startup. Startup_Schedule=entry4 Where entry4 is a preselected Schedule pathname. Startup_Script=entry5 Where entry5 is a preselected Script pathname. Help Help Information. Online... Online Help document for the Main Window. About... Product Information. ═══ 1.1.1. Picture Push Buttons ═══ The two Picture Push Buttons represent Schedules and Scripts with the Alarm Clock and Scroll respectively. These buttons also represent the entry into the GUI side of AUTOS2. Where most of the cumbersome Main Menu Items are replaced by mouse clicks. By LMB clicking on either one you will be presented with a new window showing all of the currently available entries, where each represents a file. Each Alarm Clock represents a Schedule (*.SCD) file and the Scroll represents a Script (*.SCR) file.