jr3bjdel
- Organization of this page
Format 1
jr3bjdel [R/3-destination-information] [R/3-logon-information] [redirection-information] -jn job-name [-jc job-count] [-user SAP-user-name]
- Note
-
If the character string for the argument specification contains a space, enclose the argument with double quotation marks (").
Format 2
jr3bjdel -help
Description
Deletes a background job on the R/3 system.
The jr3bjdel command ends abnormally if an attempt is made to delete an active or ready job.
This command can act on a job that is in one of the following states:
-
Execution of the job has not started (the job is in the scheduled state).
-
The job that is specified to start execution is still waiting for execution (the job is in the released state).
-
The job has ended (either finished or terminated).
Arguments
R/3-destination-information
Specify the R/3 system where the job to be deleted exists. For details about the format of R/3 destination information, see (1) Common argument format for job control function commands.
R/3-logon-information
Specify logon information that is valid in the R/3 system where the job to be deleted exists. For details about the format of R/3 logon information, see (1) Common argument format for job control function commands.
redirection-information
Specify standard output and standard error output files for command execution. For details about the format of redirection information, see (1) Common argument format for job control function commands.
-jn job-name
Specify the job name of the job to be deleted. A character string of 1 to 32 bytes can be entered for the job name specification. If there are duplicate job names in the specified R/3 system, enter the job count with the -jc option to specify the job.
Note that you must specify the -jn option.
-jc job-count
To differentiate jobs having the same name, specify the job count. If the job count specification is omitted, all the jobs having the same name are deleted.
-user SAP-user-name
This argument deletes only the jobs that are specified by the -jn option and owned by the specified SAP user. A character string of 1 to 12 bytes can be entered for the SAP user name specification.
-help
This argument provides information on using the command.
Return values
- 0
-
All the specified jobs were successfully deleted.
- Integer of 1 or more
-
The specified jobs were not deleted successfully.
Usage examples
-
Deleting job R3JOB1 of user R3USER1
The conditions are as follows:
-
The sapnwrfc.ini file will be used (-d R3SERV1).
-
R/3 logon information will be specified (-c 001 -u R3USER1 -p2 HT0110).
-
The job count will be specified (-jc 15520501).
-
The standard output file and standard error output file will be created in the directory specified by the environment setup file (-so STDOUT1 -se STDERR1).
To delete job R3JOB1 of user R3USER1 under the above conditions, specify the jr3bjdel command line as follows:
jr3bjdel -d R3SERV1 -c 001 -u R3USER1 -p2 HT0110 -jn R3JOB1 -jc 15520501 -user R3USER1 -so STDOUT1 -se STDERR1
-