Scanning in Batch Mode
To scan in batch mode, running the scan in the background and generating a report when it is done, select 11. Scan in Batch from the Antivirus main menu (STRAV). The Scan by AntiVirus (SCANAV) screen appears with values for batch scans.
Scan by Antivirus (SCANAV) Type choices, press Enter. IFS Object or *GROUP . . . . . . + for more values Scan subdir . . . . . . . . . . *YES *YES, *NO New files only . . . . . . . . . *YES *YES, *NO Wait for results (*NO=Batch) . . > *NO *YES, *NO Bottom F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys |
The body of the screen contains the following fields:
IFS Object or *GROUP
The file or directory to be scanned.
To scan multiple objects, enter a plus sign ("+") in the + for more fields subfield. A secondary screen opens in which you can enter up to ten files or directories.
Scan subdir
Whether to scan subdirectories of the IFS directory to be scanned. Possible values are:
- *YES: Scan subdirectories
- *NO: Do not scan subdirectories
New files only
Whether to scan all files in the directory or only those that had been created or changed since the previous scan. Possible values are:
- *YES: Only scan new files
- *NO: Scan all files
Wait for results (*NO=Batch)
Whether to display results on the screen in real-time or to deliver them as a report when the scan is complete.
- *YES: Display results in real-time
- *NO: Display or print results as a report when the scan is complete (Batch mode)
Once you have entered these values, further fields appear on the screen:
Scan by Antivirus (SCANAV) Type choices, press Enter. IFS Object or *GROUP . . . . . . > '/dir1' > DIR2 + for more values > DIR3 Scan subdir . . . . . . . . . . *YES *YES, *NO New files only . . . . . . . . . *YES *YES, *NO Wait for results (*NO=Batch) . . > *NO *YES, *NO Job name . . . . . . . . . . . . SCANAV Name, *JOBD Job description . . . . . . . . *USRPRF Name, *USRPRF Library . . . . . . . . . . . Name, *LIBL, *CURLIB Job queue . . . . . . . . . . . *JOBD Name, *JOBD Library . . . . . . . . . . . Name, *LIBL, *CURLIB Schedule date . . . . . . . . . *CURRENT Date, *CURRENT, *MONTHSTR... Schedule time . . . . . . . . . *CURRENT Time, *CURRENT More... F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel F13=How to use this display F24=More keys |
Job name
The name of the job. The default is SCANAV. Possible values are:
- Any string that is valid for job names
- *JOBD
Job description
The default is *USPRF. Possible values are:
- Any string that is valid for job descriptions
- *USRPRF
Library
Possible values are:
- The name of any library to which the user can write
- *LIBL
- *CURLIB
Job queue
The default is *JOBD. Possible values are:
- Any job queue available to the user
- *JOBD
Library
Possible values are:
- The name of any library to which the user can write
- *LIBL
- *CURLIB
Schedule date
The date on which the job is to run. The default is *CURRENT. Possible values are:
- Any valid date string
- *CURRENT: Today
- *MONTHSTR: The start of the next month
- *MONTHEND: The end of the current month
- *MON
- *TUE
- *WED
- *THU
- *FRI
- *SAT
- *SUN
Schedule time
The time at which the job is to run. The default is *CURRENT. Possible values are:
- Any valid time string.
- *CURRENT: The current time.
Send Email To Recipient(s)
The email addresses of people to whom the job will send email when it is finished]. The default is *NONE.
To display the results of a batch scan, select 41. Display Log from the Antivirus main menu. The log file appears in a file display window:
Browse : /SMZVDTA/log/av.log Record : 1 of 5235 by 18 Column : 1 461 by 131 Control : ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2....+....3. ************Beginning of data************** Scan command: /SMZVDTA/bin/IcapScan --icap-host="1.1.1.79" --icap-port="01344" --icap-Server="srv_clamav" --icap-timout="00020" --ic ---------------------------------------------------------------------------- 2020-09-03-18:29:47 : Above summary started at 2020-09-03-18:29:44 - End scanning all /test2 ---------------------------------------------------------------------------- System Name: RLDEV OS Version: V7R4 S/N: 00780008C500 AV 07.35 20-09-02 2020-09-03-18:30:34 - Start scanning all /test2 ---------------------------------------------------------------------------- Scan command: /SMZVDTA/bin/IcapScan --icap-host="1.1.1.79" --icap-port="01344" --icap-Server="srv_clamav" --icap-timout="00020" --ic Scanning /test2/3.txt /test2/3.txt: OK Scanning /test2/4.txt /test2/4.txt: OK Scanning /test2/5.txt /test2/5.txt: OK Scanning /test2/README2 /test2/README2: OK F3=Exit F10=Display Hex F12=Cancel F15=Services F16=Repeat find F19=Left F20=Right |