Send Reports using JS (SNDRPTJS)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Send Reports using Job Scheduler (SNDRPTJS) command allows you to distribute reports to a specified report distribution ID as part of Advanced Job Scheduler's report distribution function. This command can be used outside of Advanced Job Scheduler in a user's control language program for distributing reports specified in the report distribution ID to the specified recipients.

Top

Parameters

Keyword Description Choices Notes
RPTDSTID Report distribution ID Name Required, Positional 1
JOB Job Single values: *
Other values: Qualified job name
Optional
Qualifier 1: Job Name
Qualifier 2: User Name
Qualifier 3: Number 000000-999999
Top

Report distribution ID (RPTDSTID)

Specifies the report distribution ID whose entries are used when distributing spooled files created by the specified job.

This is a required parameter.

name
Specify the name of the report distribution ID.
Top

Job (JOB)

Specifies the name of the user job whose spooled files are being distributed.

Single values

*
The current job is the job whose spooled files you want to distribute.

Qualifier 1: Job

name
Specify the name of the job that has spooled files you want to distribute.

Qualifier 2: User

name
Specify the name that identifies the user profile under which the job is run.

Qualifier 3: Number

000000-999999
Specify the job number assigned by the system.
Top

Examples

SNDRPTJS   RPTDSTID(GLEOM)

This command distributes a job using report distribution ID GLEOM.

Top

Error messages

Unknown
Top