- Date: Nov 04, 2015
dccscan (UNIX)4 Nov, 2015
Looks at a specified directory for files to print.
dccscan directory_path cycle_time delay_time dcclp_options.
dccscan looks at a specified directory for files to print.
directory_path: Full pathname to an existing directory to scan for files.
cycle_time: cycle_time refers to the number of seconds between scans to see if a file is in the directory.
delay_time: Amount of time in seconds to delay after the file is no longer being written before spooling begins. This ensures that the application is finished writing the file before OM Plus spools the output job.
dcclp_options: text that will complete the rest of the dcclp command executed when a file is found.
dccscan /tmp/dir 30 5 “-d destination –h –s onopurge”: Scans /tmp/dir every 30 seconds. The delay_time is 5 seconds, which means the amount of time in seconds to delay writing the file before OM Plus spools the output job. The dcclp options for the scanned files are getting routed to a destination with a hold option (-h) and silence option (-s) the –o option set to no purge.