February Q&A Column
All my SEQUEL reports are printing duplex. How do I change that?
You can turn off duplex printing by changing the SEQUEL/SQLPRT1 printer file. Use the following Change Print File (CHGPRTF) command:
CHGPRTF FILE(SEQUEL/SQLPRT1) DUPLEX(*NO)
I want to use Robot/ALERT to send e-mail messages, but my System i is not configured as an e-mail server. Is there a way around this?
Your System i doesn’t have to be an e-mail server for Robot/ALERT to send e-mail messages. If you use Robot/GUIDE for Automated Vendor setup, you simply specify the domain name or IP address of your SMTP e-mail server in the Outbound TCP/IP Host field. If you are using a two-way e-mail connection, specify the domain name or IP address of your POP3 e-mail server in the Inbound TCP/IP Host field.
I use Robot/SCHEDULE. When I set up a reactive job, it runs as soon as it gets the completion code for its prerequisite job. I would like the reactive job to wait a little while before it runs. How would I set this up?
You can attach OPAL code to the reactive job to do this. The OPAL must be submitted before the reactive job runs. Here’s an example that would delay the job for one minute. This code checks that the reactive job is not in a delayed status and then adds one minute until it will be submitted.
| Logic Operand | Variable | Operation | Operation Value |
|---|---|---|---|
| RTVJOB | 000000000084 | ||
| IF | RBTJOBNBR | NE | D |
| ADDMIN | 1 | ||
| END |





Subscribe to RSS
6533 Flying Cloud Drive, 