IBM User's Guide, Thirteenth Edition


8 MVS Batch Job Submission and Retrieval


Job submission to MVS batch processing

MVS batch jobs can be submitted from TSO using the SUBMIT command (section 6.3), from CMS using the RJE command (see section 4.24.2), from the VMS VAXcluster using the HSUBMIT command (section 8.11.2 and/or the VAXcluster User's Guide 8.12). MVS batch jobs are assigned a default output destination of RMT0; however, the default is overridden by coding any appropriate value for the destination parameter on the ROUTE statement.

MVS job scheduling and processing

Job class structure

Jobs submitted to MVS batch are categorized into classes. The classes are designated A, B, C, and T. For jobs using tapes, the CLASS=T parameter must be coded on the JOB statement. Batch jobs that do not use tapes are placed by the system into class A, B, or C, depending on the CPU time requested by that job. CPU time is either requested explicitly by using the TIME parameter on the JOB statement, or set by default to 10 seconds. Class A jobs are standard batch jobs requesting one minute or less of CPU time; B jobs are those requesting between one and 30 minutes of CPU time; and C jobs are those requesting 30 minutes or more CPU time. For standard batch jobs, time requested or assigned by default overrides, if necessary, the CLASS parameter on the JOB statement. In other words, a job requesting 30 minutes of CPU time cannot place itself in the A class by coding CLASS=A. As a job enters the system, it is given a class and an execution selection priority within that class based on the CPU time requested. The class and priority are used in the scheduling of the job. This allows different types of jobs to be mixed and controlled effectively in a multiprogramming environment. However, any job requesting 30 minutes or more of CPU time (i.e., a class C job) will be held automatically and then released as resources become available. Within a class, jobs with the smallest CPU requirements are given the priority (priority 14). Jobs with the largest CPU time requirements are given the lowest priority (priority 0). Jobs with intermediate CPU requirements are given an appropriate intermediate priority. Jobs are selected, according to priorities, from these classes for execution by system initiators. Each initiator is set to choose jobs from one or more of the classes. For example, one initiator might be set to AB, meaning that it will choose a job from class A of the highest priority if one is available, if not, it chooses a job from class B. Different initiators are set to search different classes, i.e., one may be set to BCA, another to TC, another to CA, etc. These initiators are changed from time to time depending on system load.

Setup jobs

A setup job is one that requires action by the operations staff before it can be executed. For example:

1. A job that uses a tape for input and/or output requires that the operator mount the tape.

2. Jobs with TYPRUN=HOLD coded on the JOB statement are held by the system and scheduled by the operations staff according to the resource requirements of the job. These requirements should be given on the MESSAGE statement. See section 7.2.4 for an explanation of types of jobs that should include a MESSAGE statement and TYPRUN=HOLD on the JOB statement. Jobs requiring setups are scheduled within their respective class according to priority and resource availability. The priority for a setup job is assigned in the same manner as for non-setup jobs, i.e., by the CPU time requested. Setup and non-setup jobs compete equally by priority for selection for execution. However, setup jobs may be delayed by the lack of system resources, such as an available tape drive.


Job restart procedures

Warm starts and cold starts

Warm start and cold start refer to procedures used by UTCC to resume job processing after an interruption. A warm start is the resumption of processing from the point at which processing was interrupted. It requires that information about the status of the system be saved before processing is terminated. A cold start is the resumption of processing without access to saved status information. A JES2 cold start, for example, erases all information about the jobs which were in the input queue at the time of interruption and discards everything in the output queue. A cold start, therefore, requires the resubmission of all jobs which were in the system at the time of interruption. For a warm start, jobs which were awaiting execution or output remain in the queue. Jobs which were printing at the time of interruption resume printing at the last page printed. Depending on the value coded in the RESTART parameter of the JES2 JOBPARM statement, jobs which were in execution at the time of interruption are either queued for re-execution or queued to print the output produced before the interruption. The default value for RESTART is N, i.e., the job is not queued for re-execution. At UTCC, most system restarts are warm starts. They are used to restart the system after a failure or after normal system shutdown. Cold starts are sometimes required by major system changes such as a new version of JES2. In such cases, the queues are emptied before the new version is installed. Hardware and/or software failures in the disk subsystem which contains the JES2 queue can result in an unusable queue, forcing a cold start.

Special scheduling requests

UTCC recommends that users schedule computer processing work which involves deadlines, special forms handling, large amounts of output, or special runs. Scheduling and operational questions should be referred to the supervisor of SMC operations, SMC M1, 974-6883. The required lead time for scheduling requests varies with the request, and the supervisor should be given as much advance notice as possible. Several weeks' notice may be necessary in some cases, while in others, four hours may be sufficient. Special requests for work during times when UTCC is officially closed, e.g., holidays or announced shutdown periods, must be made at least a week prior to the closing. After that time, requests must be made to the Director of the Computing Center. Users who request special scheduling will need to supply the following information:

1. Job identification
a. Jobname
b. Production/debugging status
c. Job/jobstream distinction
d. Name and phone number of persons responsible for job

2. Job characteristics a. Estimated time (CPU and elapsed) b. Number of tape drives to be used at one time c. Other resources

3. Extraordinary requirements a. Special forms b. Large printed outputs c. Microfiche processing d. Publication-quality output

4. Completion deadline

5. Restrictions on jobs running concurrently

6. Other pertinent aspects of the job

Users should complete peripheral procedures such as acquiring an alien tape label before submitting their jobs.

Lost input/output

A user who thinks that a job has been lost should contact the operations staff at SMC M1, 974-6771 for assistance in locating the job.

Job status

Information about the status of jobs may be obtained from the operations staff at SMC M1, 974-6771, or by issuing the STAT command in CMS (see section 4.24.2.2) or the SDSF command in TSO (see section 6.3.1).

Output from MVS batch jobs

Output from an MVS batch job consists of job processing information from the MVS and JES2 systems and output from the execution of one or more programs or procedures. Job processing information is always written to a sysout data set. According to information on the associated statements, the output from a program or procedure is written to one of the following:

1. a temporary tape or MVS disk data set that is released at the end of the job's execution
2. a permanent tape or MVS disk data set
3. a temporary disk data set that is plotted on the CalComp plotter (standard plots)
4. a temporary tape data set that is plotted on the CalComp plotter (nonstandard plots)
5. a system output (sysout) data set on a special disk pack, called the spool pack, where it is
` held for access from CMS or TSO and then purged or released for printing on a hardcopy device; or
` transmitted to CMS, VAX/VMS, UTKUX1, or TSO; or
` sent directly to the appropriate hardcopy device. Output from a job can be assigned in two ways: by specifying a specific device such as tape or disk using the UNIT parameter of the DD statement or by specifying an output class using the SYSOUT parameter of the DD statement. Chapter 10 describes the use of tape data sets; Chapter 11 describes the use of disk data sets. At UTCC output classes are used for output going to the line printer or the laser printer. The formats of the SYSOUT parameter are given below.

SYSOUT=class

SYSOUT=(class,,form-name)

SYSOUT=*

where "class" may be A, H, D or *. SYSOUT=A specifies the line printer. SYSOUT=H or SYSOUT=D specifies that line printer output is to be held for review with the STAT command in CMS (see section 4.24.2.2) or the SDSF command in TSO (see section 6.3.1). The default is SYSOUT=A; however, UTCC recommends using SYSOUT=* when possible. SYSOUT=* will cause the data set to default to the class coded in the MSGCLASS parameter on the MVS JOB statement (see section 7.2.1). The "form-name" is the four-digit forms number of the form to be used when printing the data set (see section 9.1.1.1 for list of forms available).

Sysout units

Each distinct combination of output control parameters (destination, form number, sysout class, printer alignment, and character set) produces a separate sysout unit for a job. Also, multiple copies may produce separate sysout units in some cases. The various output units for a job are produced independently, based on availability of output devices.

Standard output units

A sysout unit may take one of several forms, but the typical form is standard printed output. Standard printed output is the portion of a job which is produced using the output characteristics which are specified on the OUTPUT JCL statement (see section 7.2.9) or on the JES2 JOBPARM statement (see section 7.2.3). The major sections contained within a standard printed unit are described below and listed in the order of appearance in the output listing.

A. Leading separator page
B. JES2 news (optional)
C. JES2 job log (optional)
D. JCL converter output
E. Job scheduler output
F. Program sysout (if any)
G. Trailing separator page

Separator pages The separator pages produced for each standard output unit mark the beginning and end of each job and contain job processing and distribution information. The jobname, station-id, delivery-id, and delivery-name are taken from information specified on the JOB, JOBPARM and ROUTE statements in the MVS JCL.

JES2 news Information which is of special importance to current users is printed in the JES2 news. The JES2 news appears only in the print unit containing the output with attributes specified on the JES2 JOBPARM statement. Output with other attributes such as special forms does not contain the JES2 news. If no notices are current or if the NONEWS parameter is coded on the UTPARM statement, there is no JES2 news. Several kinds of notices may appear in the JES2 news. Some of them are:

` Notices of the availability of new services and/or equipment
` Warnings of (planned) shutdowns at other than the usual times
` Changes of schedules
` Notification of any unexpected, critical restrictions due to system bugs and the removal of such restrictions.

JES2 job log The JES2 job log is a printed copy of all communications between the system and the operator which pertain to the execution of the job. This is made available to the user unless suppressed by the NOLOG parameter on the JOBPARM statement. The heading of the job log gives the system identification and network node. Take for example the following heading:

JES2 JOB LOG -- SYSTEM E190 -- NODE UTKMVS1

In the four-character sequence E190, the first position (E) identifies the operating system (MVS/ESA), the second position the CPU number (#1), and the last two positions the CPU identification (IBM 3090). "UTKMVS1" is the network node name for this CPU. Each item in the job log is prefixed by a time stamp giving the time of day when the message was generated, the word "JOB," and the MVS job number. (Note: The time stamps are expressed in military time, i.e., 00:00:00 is midnight.) The text is always presented in the same sequence in which it was written and can consist of one or more kinds of messages as described below:

` RACF (Resource Access Control Facility)-generated messages can be identified by the presence of an "ICH" prefix before the message number. At least one RACF message will be printed with every job, telling the last time your userid accessed the MVS system. RACF will also suggest you change your password if it is more than 30 days old.

` JES2-generated messages to the operator will have a dollar sign before the message identification. Two such messages are always present, one indicating the start of execution and the other indicating its end. Other such messages may explain why the job was cancelled, e.g., excessive printed output.

` Messages generated by the operating system during the execution of the job. These can be recognized by the presence of a message number before the actual text. Explanations of these messages may be found in MVS/ESA System Messages, Volumes 1 and 2 , GC28-1812 and GC28-1813. For an explanation of messages whose numbers are of the form IECTMSx or UNTxxx, see Appendix A.

` Messages generated by the job itself. Since these messages are under the programmer's control, they do not have fixed form and must be and interpreted by the programmer.

` Operator responses to WTOR (Write To Operator with Reply) messages are also included in the job log.

` Messages from the operator to the programmer begin with the words "MSG FROM OPER:". The operator sending the message will usually initial it. The job log should be checked if any exceptional conditions occurred during execution because the log may reveal the reason for the incorrect operation of a job. The job log may also show the inefficient use of a device such as several mount-dismount cycles for the same tape during a job. The last section of the job log contains the JES2 job statistics. This section gives the following data:

` Job execution date
` Number of cards read
` Number of print records generated in JES2 queues by the job (represents only one job level copy of the output)
` Number of punch records generated in JES2 queues by the job (represents only one job level copy of the output)
` Number of bytes of data (print and punch) generated in the JES2 queues by the job (represents only one job level copy of the output)
` Number of minutes of elapsed execution time The job log appears only in the standard print unit.

JCL converter output The JCL statements--with the exception of the JOB, JES2, comment, and procedure statements--are printed exactly as read by the system. The JOB statement is modified by the insertion of the word "JOB" and the JES2 job number in columns 73-80. Also, the RACF password is not printed. The JES2 and comment statements are modified by replacing the slash(es) beginning the statement with asterisks. When a cataloged procedure (see chapter 12) is expanded, the JCL statements within are modified by replacing the "//" with "XX". In-stream procedure statements have the "//" replaced with "++". A procedure statement that has been overridden by the user will have the "//" replaced with "X/". An in-stream procedure that has been overridden by the user will have the "//" replaced with "+/". Each JCL statement is given a number in the left margin, which will be used in the following section to reference statements to which messages are applied.

Job scheduler output If MSGLEVEL=(1,1) is coded on the JOB statement, job scheduler output is printed in the following order:

PROCLIB substitution messages (IEF653I messages)
RACF messages repeated from the job log
Messages concerning each job step including
      Allocation messages for this step (IEF237I messages)
      Condition code for this step (IEF142I)
      Deallocation messages for this step (IEF285I messages)
      EXCPs by DDNAME (UNT531I messages)
      Step Statistics (UNT501I-UNT510I messages)
            Starting and ending wallclock time (hh:mm:ss) 
            Elapsed time (hh:mm:ss) 
            Region requested (in Kilobytes)
            Region used -- not billed to user
            Region limit -- region requested + 64K
            System area used -- not billed to user
            TCB time in seconds -- CPU time billed to user
            SRB time in seconds -- CPU time not billed to user
            CPU time -- TCB time multiplied by rate
            VF time -- vector facility time used
            Kilobyte-hours -- computed according to formula in UTCC Schedule of Charges
            KBHOURS -- not billed to user
            DCT -- device connect time by device type and total
            EXCPs by device type and total
            EXCP cost by device type and total
Job statistics (UNT521I-UNT530I messages) -- totals for all steps
The default value for MSGLEVEL is MSGLEVEL=(2,0), which causes only the RACF messages and the step and job statistics to be printed. The system messages for each step are generally prefixed by a message number corresponding to a message in MVS/ESA System Messages, Volumes 1 and 2 , GC28-1812 and GC28-1813. These messages describe the results of symbolic parameter substitution, error conditions, and the fixup (if any) taken. For example, the system may make substitutions for illegal disposition parameters. The text for the messages prefixed by a message number of the form IECTMSx, or UNTxxxI are described in Appendix A. The allocation and deallocation messages describe the handling of the data sets used by the job step. The allocation messages map the DD statements onto the available I/O devices, and the deallocation messages describe the made of the data sets at the end of the step. If a DD statement is concatenated with a previous DD statement, the allocation message for the concatenated DD statement will show a DD name of blanks; if more than one unit is assigned to a single DD statement, an allocation line will be generated for each unit so assigned. In the step accounting data, the elapsed (wall clock) time for a job step represents the period between the beginning of the actual execution of the job step and the completion of all termination processing for it. This information does not affect the billing since the job may be delayed by any of several external reasons not under the control of the programmer. Two CPU times are reported: TCB (Task Control Block) and SRB (System Request Block) CPU time. The TCB time represents the total amount of time spent by the CPU in the execution of the job step, including the vector facility time, if used. If the vector facility is being used, the VF time is reported below the TCB time. The SRB time is the time spent on behalf of the step by the system. The "REGION USED" figure is the amount of storage actually used during execution of the job step. The "SYS AREA USED" is the storage used by the system in behalf of the step. Because the TCB time is under the control of the programmer, along with the number of EXCPs, they are the basis for billing. There is no charge for SRB time, "REGION USED" or "SYS AREA USED." Kilobyte-hours are determined according to the formula in the UTCC Schedule of Charges, U01-0562, available through the PRTDOC facility. The next line shows the number of tape and disk EXCPs charged to the user. Each EXCP represents a request for the reading or writing of a block of data on a tape or disk. Since excessive use of tape and disk can adversely affect system performance, this figure is listed to allow users to determine which jobs are performing extra I/O functions. The next line lists DCT, device connect time, which is I/O time spent actually transferring data. Figures are given for device type and total. At the end of the scheduler output, a similar set of data is printed displaying the data for the entire job, starting and ending wall clock times and the total CPU time. The interpretation of this line is the same as for the step accounting data line. The displayed computing costs are estimates of the value of computing services rather than the exact costs billed to the user's department. The estimates are based on the standard 3-code (sponsored research) schedule of charges. The actual charges billed by the automatic transfer of funds to UTCC each month are those represented by the departmental project summaries and accompanying audit trails. The actual charges may differ from the estimates because they are not adjusted for reductions from indirect funding. Users are not billed for charges assumed by UTK for unsponsored research and classwork.

Program output Output from the various steps of a job is printed in the order in which the steps were executed. Within a step, the output for each DD SYSOUT statement is segregated from the output for the other DD statements. That is, output for each DD statement is printed as a distinct entity, regardless of the order in which output instructions are executed by the program. If one or more DD statements contain the COPIES parameter, the multiple copies are printed consecutively.

Special print units

Special printed output is the portion of a job which is produced using output characteristics which are specified on a DD statement rather than on a JOBPARM statement. A special print unit contains only separator pages and program output. The order of program output is as described in section 8.7.1.1. The separator pages for special print units are normally the same as the separator pages for standard print units. However, an abbreviated is produced when the form used is not 11" x 14-1/2" paper.

Sequence with multiple copies

Whenever a job produces multiple output units, each output unit is contained within its own separator pages. The multiple output units for a job may be interspersed on a printer with output units for other users. Each output unit is returned to the user as a separate entity. When multiple copies are specified on a DD statement, the multiple copies are produced one behind the other as a part of the same output unit. Specifying multiple copies on the JOBPARM statement produces a separate output unit for each copy. The order in which output is produced when there are both JOBPARM copies and DD copies depends upon whether or not the DD statement specifies the same output attributes as the JES2 JOBPARM statement. Consider the following two examples:

//SAMPLE   JOB ,SMITH,GROUP=J999991,USER=P999998,
//         PASSWORD=?
/*JOBPARM  COPIES=2
//S1       EXEC procname
//DD1      DD   SYSOUT=*
//DD2      DD   SYSOUT=*,COPIES=3

In this case, the output would appear as follows:


                           separator (header)
    on                     JES2 news, JCL, etc.
    standard               output for DD1
    greenbar               first output for DD2
                           second output for DD2
                           third output for DD2
                           separator (trailer)


The above sequence would appear two separate times on standard forms since two copies were specified on the JOBPARM statement. Thus, a total of six would be produced for DD2. Now consider another example:

//SAMPLE   JOB ,JONES,GROUP=J999991,USER=P999998,
//         PASSWORD=?
/*JOBPARM  COPIES=2
//S1       EXEC procname
//DD1      DD   SYSOUT=*,COPIES=3
//DD2      DD   SYSOUT=(*,,0426),COPIES=2

In this case, the output would appear as follows:


                           separator (header)
    on                     JES2 news, JCL, etc.
    standard               first output for DD1
    greenbar               second output for DD1
                           third output for DD1
                           separator (trailer)



    on                     separator (header)
    0426                   first output for DD2
    forms                  second output for DD2
                           separator (trailer)


Each of the above sequences would be produced twice, since two copies were specified on the JOBPARM statement. Thus, a total of six copies of DD1 would be produced on standard forms and a total of four copies would be produced for DD2 on 0426 forms. When a single job is broken into multiple print units for printing due to various special forms, it is not possible in general to know which print unit will print first. Typically, the standard output will appear first. However, this may not always be the case. Whenever the execution of a single job creates multiple print units, the separate print units are returned to the user as separate entities; no attempt is made to wait for all output for a job to return the output in a single bundle. Users should be aware of this fact and carefully consider the characteristics of their jobs before declaring a missing portion of output to be "lost."

Output for exceptional conditions

The output produced for a job can differ from the format described above for any of several reasons described below. If the job was failed while being read into the system, the only output will be the separator pages, a partial JCL listing, and an error message describing the error which caused the failure. The error is usually on the JOB statement or a JES2 control statement, and to aid in locating the problem, the system prints a numbered error message indicating the nature of the error. A key to these error messages is located in Appendix A. If a recognizable JOB statement is not present, no output is produced. Barring system failure, users will always get some output if the JOB statement is recognized by the system. JOB statements satisfying the following conditions will be recognized:

1) columns 1 and 2 contain slashes (//)

2) a forward scan from column 3 detects a blank before column 68

3) a forward scan from that blank encounters a non-blank character before column 69

4) that non-blank character is the start of the character string "JOB"

5) at least one blank follows the character string "JOB" If no statement in a user's job meets all of the above requirements, there will be no output of any kind for the job. If any statement does meet them, there will always be some printed output. If the system fails during the printing of a job, the printing is automatically resumed when the system is restarted. In this case, the leading separator page for the second output will show 'CONT' instead of 'START' for the job, and printing will resume up to five pages prior to the last line printed before the failure. The user is not charged for the extra lines written as a result of this repeated output. If the user has specified LINECT=0 on the JOBPARM statement and has no page skips in the output, printing will restart up to 300 lines prior to the last line printed before the failure. The user is not charged for the repeated output in this case either. JES2 attempts to produce all hardcopy output for jobs in execution at the time of a system failure. However, certain errors are so catastrophic that no recovery of output is possible. For example, JES2 cannot recover from severe disk errors on the disk pack used for spooling. The recovery of hardcopy output after system failure is limited to lines or statements which have actually been written to the spool pack; any lines or statements still in buffers in main memory are lost. As many as ten to thirty lines of output may be lost in most cases.


Output destination for printed output

Output for jobs which specify RMTn on the JES2 ROUTE PRINT statement will be returned to RMTn for printing unless special processing or forms are required (see section 7.2.2.2). In those cases, the output for RMTn will be produced elsewhere and returned to the remote station via the UTCC delivery service or the U. S. Mail. When computer printed output is returned to the area indicated on the JES2 ROUTE statement, it is placed in the bins or delivered to the location specified in the ROOM parameter of the JES2 JOBPARM statement (see section 7.2.3). The bins are arranged in alphabetical order with the output being placed in the appropriate bin according to the first letter of the name field on the JOB statement. Due to limited space, users are requested not to use the bins for storage. Output left for more than three (3) working days will be discarded. Output printed at RMT0 (Stokely Management Center) will be returned to the delivery location specified in the ROOM parameter of the JES2 JOBPARM statement. Output which specifies neither a valid ROUTE destination nor a ROOM destination supported by the UTCC delivery service (section 1.4.13) will be returned to the bins at Remote 0. For additional information about processing hardcopy output at UTCC, see chapter 9.

MVS sysout transmission to a timesharing system

The JES2 system output (sysout) transmission facility allows the transmission of MVS batch sysout directly to UTCC's VM/CMS, VAX/VMS, and UTKUX1 systems, as well as to some other, non-UTCC timesharing systems (see section 8.10.2 for a list). Sysout transmission supports the transfer of up to 20,000 print data records less than or equal to 150 characters in length and card image records less than or equal to 80 characters in length. Sysout data can be transmitted with or without user-provided carriage control at the beginning of each data (See section 8.10.4 for further discussion of limits on network sysout transmission.) Refer to MVS/ESA JCL Reference for more information about the NJE feature of MVS/JES2.

MVS JCL requirements for sysout transmission

MVS sysout data transmission to VM/CMS, VAX/VMS or UTKUX1 is requested via one or more of the following JCL statements. "Nodename" is the node or host system to which the data is to be transmitted. "Userid" identifies the timesharing user who is to receive the data.

` /*ROUTE PRINT nodename.userid

The /*ROUTE PRINT statement affects all the job's output.

` //ddname OUTPUT DEST=nodename.userid

` //ddname DD SYSOUT=x, // DEST=(nodename,userid)

The DEST parameter on the OUTPUT and DD statements affects only specific sysout data sets (see sections 7.2.9 and 7.2.10).

Note the use of a comma to separate the nodename and userid in the DEST= keyword on the DD statement above rather than a period as in the other statements. A SYSOUT class on the DD statement should be chosen as appropriate for the data type (A or H for print data; B or I for card-image data). The MVS/JES2 system separates sysout data into hardcopy sysout and network sysout for queueing and routing purposes. Hardcopy sysout data is routed for generation on printers connected to the local system or node (such as RMT0 or RMT8). Network sysout data is routed for transmission to another computer or node. Hardcopy and network records are counted against the LINES= and CARDS= keyword value limits established on the /*JOBPARM control statement.

Valid UTCC node names

Destination node names known to the JES2 sysout transmission facility are shown in the table below:

Node Name      Host System

UTKMVS1 IBM 3090: MVS/JES2 system (This host is the local node) UTKVM1 IBM 3081: VM/CMS system UTKVX VMS VAXcluster UTKUX1 Sun/SunOS (UNIX)

Also these non-UTCC sites:

UTCVM IBM 4381 at the Center for Excellence in Computing Applications, UT Chattanooga UTKCS1 UTK Computer Science Department VAX UTKCS2 UTK Computer Science Department VAX UTMEM1 UT Memphis VAX UTSIV1 UT Space Institute VAX at Tullahoma UTKSMA UTK SAMS VAX (production)

If an invalid node name is specified, the job will fail and MVS/JES2 will respond with a JCL error message. The userid specified in JCL destination values is not checked until the data arrives at the destination host system. Data routed to invalid userids will be discarded by the destination node. Refer to MVS/ESA JCL User's Guide for further information about the JCL statements that support NJE SYSOUT data transmission via the node name and userid value specifications.

Sysout data transmission units

Following MVS batch execution, all data destined for network sysout is immediately placed on the network sysout queue. The job's network sysout is grouped into network transmission units. One transmission unit is built for each network sysout data set that was created using the FREE=CLOSE parameter on the DD statement. A final transmission unit is built to contain the remainder of the job's network sysout. If a job stream does not contain any use of the FREE=CLOSE parameter, then the job's network sysout is grouped into a single transmission unit. Note that network transmission units are built by JES2 without any regard for sysout data attributes such as form number, FCB number, print train, output class, hold indicator, or data format (print or card image). When the data arrives at the destination node, the sysout data will be split into files based on output attributes.

UTCC network sysout limit

UTCC has implemented a limit of 20,000 on the number of sysout records that can be sent in a single network transmission unit. Sysout transmission supports transfer of print data records less than or equal to 150 characters in length and card image records less than or equal to 80 characters in length. Sysout data can be transmitted with or without user-provided carriage control at the beginning of each data record. The 20,000-record limit is designed to prevent flooding other nodes on the network with large amounts of sysout data. The limit is applied individually against each transmission unit. If a job contains only a single transmission unit, then that job can send only 20,000 records of network sysout. If a transmission unit contains more than 20,000 records, the first 20,000 will be sent over the network and the remainder of the sysout records in the transmission unit will be discarded. A message will be added to the end of the transmitted data to indicate how many sysout records in this transmission unit were discarded. There is no method available for a UTCC operator to lower or raise this 20,000 record network sysout limit.

JES2 News data set considerations

If there are current notices in the JES2 news facility, then the news data set will be added to the beginning of any network sysout transmission unit which includes the JES2 job log data set. The news data will, therefore, appear at the same place in a network sysout transmission as it does in hardcopy sysout. The news data set can be suppressed in network sysout by including the /*UTPARM NONEWS control statement in the job stream (see section 7.2.6). MVS/JES2 will automatically suppress the news data if the user has requested suppression of the JES2 job log using the NOLOG parameter on the /*JOBPARM control statement. Suppression of the job log is not recommended since this may prevent the user from seeing important system messages.

Access to the IBM MVS batch system from the VMS VAXcluster

Changing your MVS password from the VAXcluster

You can change your MVS password while logged on to the VAXcluster by entering the VAX command

MVSPASSWORD

You will be asked to enter the current MVS password. Then, enter a new password and re-enter it for verification. An MVS password must be 6 to 8 characters in length, consisting of alphanumeric and/or national (#$@) characters. The MVS Resource Access Control Facility (RACF) keeps a record in encrypted form of a user's last five passwords. When the password is changed, it cannot be changed to any of these last five values. For online help, enter the VAX command HELP MVSPASSWORD.

Executing an MVS batch job from the VMS VAXcluster

To submit an MVS batch job from the VAXcluster The HSUBMIT command allows VMS VAXcluster users to submit batch jobs to the MVS system. This command directs the specified file or files to be submitted for execution on MVS. If more than one file is submitted, the files are concatenated. The files to be submitted must contain unnumbered records with 80 or fewer characters per record; those longer will be truncated to 80 characters. All JCL must be in uppercase. The first record in the job must be a valid JOB statement. There should be only one JOB statement, because HSUBMIT can submit only one job at a time. The default file extension is JCL. For example,

HSUBMIT MYPROG

sends MYPROG.JCL to the IBM machines for execution, whereas

HSUBMIT MYPROG,MYDATA.IBM

concatenates MYPROG.JCL and MYDATA.IBM and submits them as one job. To have MVS batch output routed to the VAXcluster, see section 8.10.1.

To retrieve the MVS batch output from the VAXcluster The VAX RECEIVE command is used to process incoming network files from other users. For information about this command, type HELP RECEIVE on the VAX/VMS system. The number of files shown by the RECEIVE command for any given network sysout transmission unit depends on the number of sysout data sets within the transmission unit with differing sysout attributes (class, type, form number, destination, etc.). When the data arrives at the destination node, the sysout data within a single transmission unit will be separated into different files according to data attributes. The default VAX/VMS "file-spec" assigned to files received via network sysout transmission is of the form "jobname.OUT;n". The file name defaults to the name of the MVS batch job that created the sysout data. OUT is assigned as the file extension. The file version number (n) begins at 1 and is incremented by one for each file with the same MVS job name. (Note that the VAX/VMS system limits to three the number of versions of a file that can be kept simultaneously; consequently, a user who wants to RECEIVE more than three units of sysout data from the same MVS batch job must choose a file name other than the default "jobname.OUT" or else some of the units will be lost when the VAX/VMS system discards all but the last three.)


Executing an MVS batch job from UNIX

The netcopy command on UTKUX1 can be used to send a file containing job control language (JCL) to the IBM 3090 for execution on the MVS operating system. You must have a valid account on UTCC's UNIX system and on the IBM MVS system. The following command will submit the file to the IBM 3090 job queue.

netcopy job@utkmvs1 if=filename device=punch width=80

where "filename" is the name of the input file on UNIX. The file submitted must contain unnumbered records with 80 or fewer characters per record; those longer will be truncated to 80 characters. All JCL must be in uppercase. The first record in the file must be a valid JOB statement. To have the MVS batch output routed to your UNIX account, see section 8.10.1. You will be notified on UNIX that you have received a file and can use the rdr command to preview and receive the output file. For more information on netcopy or rdr, type man netcopy or man rdr. A job stream can be submitted from a SUN workstation using a remote shell command to UTKUX1. Because a remote shell command requires that you have authority to login to the remote host, you will need a UTKUX1 account to submit jobs using the netcopy command.

rsh utkux1 -l ux1userid /usr/local/bin/netcopy if=filename device=punch

"Filename" is the name of the UNIX input file, and "ux1userid" is the userid on UTKUX1.


[ Top of Page | Previous Page | Next Page | Table of Contents ]