CTSSYNC parameter validation

Idea created by greg.borselli on Oct 25, 2016
    Under review
    Score2
    • RandySuntrust
    • steve.jones5.5

    Modify CTSSYNC to validate input parameters.  Currently, when executing the CTSSYNC program, input is not validated for valid commands, if the program encounters a first value of SYNC, PURGE etc, it assumes the second value is a volser.  If one of these parameters is not first, the program assumes the value is a volser and process that way, for example:

     

    Valid parameter:

        SYNC,EA0003-EA0004  is a valid input parameter (with or without commas)

    Invalid parameter:

        SYNCH,EA0003-EA0004 is invalid input parameter so program processes SYNCH as a volser, returns RC08    and following output :

    ERROR(S)        SYNC    SYNCH   EA0003          ATL SYNCRONIZE BYPASSED                   VOLUME NOT DEFINED TO THE DATABASE
     ERROR(S)        SYNC    SYNCH   EA0004          ATL SYNCRONIZE BYPASSED                   VOLUME NOT DEFINED TO THE DATABASE

     

    I would like the program to validate the input parameter and produce a message indicating a more specific condition.  This can be done but would probably require some concessions on our part, namely:

        1) would require a first parameter whereas now you could input EA0003-EA0004 and it will default to SYNC,EA0003-EA0004

        2) might require parameters to be separated by commas.  Currently it is acceptable to have separation values of comma or space

     

     

     

    Update:

    This item is currently under review and will be scheduled at a later date.

    Thanks

    Mark Warren

    mark.warren@ca.com