- To obtain jobnames of a specific job type, some scripting around autorep is needed. Below is an example for Unix (Windows platform would require appropriate scripting/parsing)
autorep -J ALL -q | grep -i "job_type: FW" | grep insert_job | awk '{print $2}'
# above shows job names of type File Watcher
autorep -J ALL -q | grep -i "job_type: CMD" | grep insert_job | awk '{print $2}'
#this is for Command job names
- If Autosys Web Server (AEWS) is being used, a GET call like this would get details of all File Watcher jobs in Autosys:
https://AutosysWebServerURL:9443/AEWS/job?filter=jobtype==fw
Output for this would be someting like:
<jobs>
<job>
<boxName>ABC_BOX</boxName>
<name>ABC_DLY_FW</name>
<jobType>FW</jobType>
<machine>localhost</machine>
<self href="https://AutosysWebServerURL:9443/AEWS/job/ABC_DLY_FW" rel="self"/>
<status>6</status>
</job>
<self href="https://1AutosysWebServerURL:9443/AEWS/job?filter=jobtype==fw" rel="self"/>
</jobs>