Report Management: Add or delete recipients by command
When you install Robot/REPORTS, it automatically populates its database of recipients with all the user profiles defined on your system. After that, you need to define new recipients (or delete recipients who leave) individually by working with the Recipient and the Recipient Bundling Options panels. Now, with Robot/REPORTS 7.30 (or higher), you also can add and delete recipients using commands!
When to use these commands
Many companies run a CL program to set up new employees on the System i. By using the new Add Recipient command (REPADDREC), you can add the new employee to Robot/REPORTS at the same time.
Similarly, when an employee leaves, companies often run a clean-up program to remove the user profile from the System i. Now they can add the Delete Recipient command (REPDLTREC) to the program to remove the employee record from the Robot/REPORTS database.
These commands also are useful when you need to add or delete a group of recipients, such as a special project team.
Using the REPADDREC command
The REPADDREC command includes much of the information you normally enter on the Recipient and Recipient Bundling Options panels. Here are some tips for entering the parameters:
- The User Profile parameter can be *NONE if the user does not sign on to the System i and receives printed output only.
- For local output on the System i, enter an output queue and library.
- For remote output on a different System i, enter the remote system name and *YES for “Is system an iSeries†to preserve print attributes for the report.
- If you print a packet index, Robot/REPORTS generates a cover page listing all the reports in the packet and page number information.
- If you request page numbers, Robot/REPORTS numbers each page in the packet in the lower left-hand corner to make it easier to find reports in the packet. All of the pages in the packet have a report page number and a packet page number.
- If you request separator pages, Robot/REPORTS inserts a blank separator page between each report in the packet.
Using the REPDLTREC command
The REPDLTREC command deletes a recipient from the Robot/REPORTS database. You can delete a recipient by entering the recipient name or the user profile. You must tell Robot/REPORTS what to do if the recipient is set up to receive a report segment. If you enter *YES to “Delete even if distribution exists,†Robot/REPORTS removes the recipient. If you enter *NO, Robot/REPORTS does not remove the recipient.
These new commands provide additional ways to work with Robot/REPORTS recipients. We hope you will find them useful.
Contributed by Marie Stangl, Maintenance Software Engineer





Subscribe to RSS
6533 Flying Cloud Drive, 