Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Setting Up Background Job Information z/OS DFSMS Using the Interactive Storage Management Facility SC23-6856-00 |
|
ISMF stores Job Control Language (JCL) and execute statements in your profile. Each time you use a line operator or list command in normal mode that generates a background job, ISMF draws on this information to prime the job statement on the Job Submission Entry Panel. ISMF does not do any validity checking of the JCL statements. If you want to modify the job statements, you can specify this
information in either of two ways:
Specifying Job Statements from the ISMF Profile Option MenuAll the information that ISMF uses
to process your background jobs is available from the ISMF Profile
Option Menu (see Figure 1). With
the options that are available, you can access the following information:
Specifying JCL on the ISMF Job Statement Entry PanelUse the ISMF JOB STATEMENT option on the ISMF Profile Option Menu to establish a standard set of JCL statements for background jobs. Because this information is stored by ISMF in your profile, you only enter it once rather than each time you submit a job. To set up the job statements in your profile, enter option 2, ISMF JOB STATEMENT, on the ISMF Profile Option Menu (shown in Figure 1). ISMF displays your ISMF Job Statement Entry Panel, as shown in Figure 1. Figure 1. Specifying
Job Statement Information
You can choose the source of your job control statements by selecting either ISMF or ISPF job control statements. If you select option 1, ISMF uses ISPF job statements to prime the Job Submission Entry Panel when submitting background jobs. If you choose option 2, the set of ISMF job control statements listed in the ISMF Job Statement Information field is used. Source 1 using ISPF job statements is the default. The first time you invoke the Job Statement Entry Panel, ISMF provides a skeleton job statement for you to complete with ISMF JCL information. See Figure 1 for the format of the statement. ISPF job control statements are for display only and cannot be modified here. You can change them by using ISPF option 0. Your user ID followed by the letter A appears as
the job name. The A is an identifier for the current job. Each time
you submit a background job the letter is incremented. For example,
if the current job name is USER230A, the next job name will be USER230B.
If you choose to substitute a number for the alphabetic identifier,
0 through 9 is used for the cycle. If you want to use a job name other
than your user ID you can do so, but the following events will occur:
Restriction: Do not blank out the job name, because TSO does not generate a default job name. The words ACCOUNT and NAME indicate the proper positions for you to supply accounting information and your name. You can add up to six additional ISMF JCL statements to complete the Job Statement Entry Panel. These statements can be JOBLIB, JES2, JES3, or comment statements. Figure 2 shows an example of the JCL you can use to set up your profile for the ISMF version. Figure 2. Sample JCL on the Job Statement Entry Panel
Related Reading: For more information on JCL syntax and parameters on the JOB statement, refer to z/OS MVS JCL Reference. When you enter a list command or line operator and submit that job for background processing, the information from this profile panel is used to prime the Job Submission Entry Panel. See Specifying Job Statements when Submitting Jobs for more information on the Job Submission Entry Panels. Specifying an Execute Statement for a DFSMSdss Background JobTo set up the DFSMSdss execute statement in your profile, enter option 3, DFSMSdss EXECUTE STATEMENT, on the ISMF Profile Option Menu (Figure 1). ISMF displays the DFSMSdss Execute Statement Entry Panel shown in Figure 3. Figure 3. Skeleton
Provided for the DFSMSdss Execute Statement
The first time you invoke the DFSMSdss Execute Statement Entry Panel, ISMF provides a skeleton DFSMSdss EXEC statement for you to complete. The format of this statement is shown in Figure 3. You can tailor this statement for your own use. You can add parameters to the DFSMSdss execute statement and up to five additional job steps before the DFSMSdss EXEC step. Make certain that the region size parameter is appropriate for your job and change it as necessary. Figure 4 shows an example of how you can tailor the DFSMSdss execute statement to suit your needs. Figure 4. Completed DFSMSdss Execute Statement
The execute statement information in Figure 4 contains both an EXEC statement with
added parameters and a data definition (DD) statement. The first line
of the EXEC statement names the step (S1DFDSS), identifies DFSMSdss(PGM=ADRDSSU),
and specifies the region size (REGION=2048K):
The second line contains
parameter information:
In
the second line, UTILMSG=YES specifies that utility messages are to
be printed in the SYSPRINT listing. TYPRUN=SCAN specifies that the
JCL syntax for the job is checked and verified without actually executing
the DFSMSdss function. The last line contains a SYSPRINT statement
that specifies that the SYSOUT class is the same as the MSGCLASS on
the job statement:
When you enter a list command or line operator that is submitted to DFSMSdss for processing, ISMF uses the information on the DFSMSdss Execute Statement Entry Panel to construct the DFSMSdss job stream. See Specifying Job Statements when Submitting Jobs for more details on submitting jobs for processing. To learn more about the DFSMSdss execute statement, see z/OS DFSMSdss Storage Administration. Recommendation: Use the information from the DFSMSdss background job as a reference when you specify the ICKDSF, Data Set Print, and IDCAMS execute statements from the options listed on the ISMF Profile Option Menu (Figure 1). Specifying Job Statements when Submitting JobsThe Job Submission Entry Panel is primed with values from the Job Statement Entry Panel in your profile if you chose ISMF (option 2) as the job statement source. If you selected ISPF (option 1) from the Job Statement Entry Panel, the Job Submission Entry Panel is primed with values from the ISPF source job statements, which are displayed on the Job Statement Entry Panel for reference only. The panel title of the Job Submission Entry Panel indicates the command or line operator you have specified. You can accept job statements, whether they are ISPF or ISMF job statements, or modify them for your immediate needs. When you press ENTER, the job is submitted using the JCL with any changes made. Figure 5 is an example of the Job Submission Entry Panel you might see when you use the COPY command. Figure 5. Sample Job Submission Entry Panel
After you complete the COPY Entry Panels, ISMF displays the COPY Job Submission Entry Panel. ISMF uses the information supplied on this panel to submit the COPY job to DFSMSdss. The fields on the panel and your options for completing them are:
Job Submission for Line Operators and Commands Entered in Last-Use ModeIf you enter a line operator in last-use mode (for example, COPY=), ISMF does not display the Job Submission Entry Panel. The processing options stored in your profile are used instead. If you chose to submit the last job immediately, the new job is sent directly to the job queue. If you chose to save the job stream in a data set the last time you submitted a background job, the new job is also saved. However, the new job is added to the end of the data set regardless of the option you specified the last time you used the Job Submission Entry Panel. |
Copyright IBM Corporation 1990, 2014
|