convert-plugin-jobs.py

What this script is for:
Converting TWS plugins (XML and JOBTYPE) to their corresponding Control-m equivalent

What the script does:
The script process all jobs, and when a supported plugin is found, the job is converted
to its equivalent Control-M job type, if supported. Otherwise a message is issued and
manual convertion is needed. The converted job will use parameters that are embedded
in the original TWS script, which the conversion tool stored in the job as an
embedded JCL. 

Script usage:

usage: convert-plugin-jobs.py  [-h] [-i] [-o] [-log]

convert-plugin-jobs.py -i <inputfile> -o <outputfile> [-log]

options:
  -h, --help  show this help message and exit
  -i          Input XML from the TWS conversion tool on mainframe 
  -o          Location for output job definition xml 
  -log        Log level - 0 = Info - 1 = Error - 2 = Debug - default 0 (Info). 
              Log file is created in the directory where the script resides