June Q&A Column
Is there a command that I can use in my own programs (outside of Robot/SCHEDULE) that would put a Robot/SCHEDULE job on hold or run a job immediately?
Yes, the Robot Batch Update command (RBTBCHUPD) can pass the appropriate override code to Robot/SCHEDULE to put job on hold or run a job immediately. To update an existing job, use the Robot job number to refer to the job. Leading zeroes in the job number can be omitted. For more information on the
RBTBCHUPD command, refer to the Robot/SCHEDULE User Guide.
How would I use ESEND to burst a spooled file? I want to distribute the pages based on e-mail addresses in the heading of the report.
First, use the ESEND Report Rules command (ERPTRULES) to create a rule set that defines how the spooled file should be burst (see example, below) Make a note of the rule set name so you can enter it as the RULESET parameter on the ESEND Distribution (EDISTRIB) command. Use EDISTRIB to process the spooled file and distribute the parts to the various e-mail addresses.
This example shows how you could set up an ESEND rule to look for the e-mail address on each page of your report (enter the appropriate line number and the position on the line).






Subscribe to RSS
6533 Flying Cloud Drive, 