• Aucun résultat trouvé

Using Submit

Dans le document HP AdvanceNet (Page 63-66)

Jobs are always submitted to the current host system. Unless the HOST command has been used to specify another host system, the current host system is always the default host system. It is a good practice to precede a SUBMIT command with a HOST command to make sure jobs are transmitted to the correct host system.

An ampersand character (&) can be used in the SUBMIT command as often as needed as a line continuation character. Place the & after a file name, or after NOTRANSLATE or TRANSPARENT parameters.

File Names

Actual and formal file designators used to specify infiles can be qualified names. Actual file designators used for printfile, punchfile, and form file may never be qualified names. If a printfile, punchfile, or formfile is a zero character, then output is routed to unsolicited output devices. Ifa printfile, punchfile, or formfile is a FORMID, an eight character string delimited by single quotation marks, Output Management of output takes place as indicated by a corresponding entry in MRJETABL. If a printfile, punchfile, or formfile begins with an exclamation mark, and is followed by a seven character file designator, then specific routing job output takes place.

Job Output

The PRINT=printfile and PUNCH=punohfile and FORMS=formfile parameters can specify the destination of printer, punch, and special forms output generated by the jobs submitted in one SUBMIT command. Ifany of these parameter are omitted, output is sent to the default output device unless JCL specifies otherwise. The default printer, Configuration File item 20, also serves as the default value for special forms printer output. The default punch, Configuration File item 28, serves as the default value

for special forms punch output. .

The PRINT, PUNCH, and FORMS parameters may be used only once in the SUBMIT command, regardless of the number of different forms called for in the host system JCL.

If the FORMS parameter is omitted but JCL of a job calls for special forms, the output is sent to the default device, printer or punch, given in the Configuration File. For example, if the default print device is a line printer, the output is printed on that machine in the format of the special form; that is, as if the form had been mounted on the printer.

NOTE

SUBMIT command destination parameters override JCL, which overrides MRJETABL andMRJECONh values.

If output from one or more of your jobs is treated by MRJE/3000 as unsolicited when you had correctly specified an output destination, check with the MRJE/3000 Manager or the system operator. The Job Log File, MRJEJOBh, may have been re-initialized since your jobs were sent to the host system.

Output directed to an HP 2680A Laser Printer can be printed with or without Environment Files. If Environment Files are used they can be named in the forms sub-parameter of the SYSOUT parameter of

SUBMIT

the DD statement in JCL, or specified in an MRJETABL entry. Refer to Section 2,Printing Output on an HP2680 Laser Printer and Specific Routing of Job Output to Pre-Defined Files for more information.

See Job Outputin Section 2, Planning MRJE/3000 Jobs.

I

NOTE

Do not use the PRINT, PUNCH, and FORMS parameters with an RSCS job entry system. These have no effect on output routing. All output is unsolicited and returned on Printer 1 with RSCS. Appendix E, EX IT PROCEDURE describes how to control output when RSCS is used.

Job Input

The READER parameter can be used to select a configured pseudo reader other than the MRJE/3000 default reader for job input.

NOTE

Do not confuse a pseudo reader with a physical card reader attached to an HP3000.

Normally the default reader is spooled, so jobs can be submitted without concern for whether the communications link with the host system has been established. If the user wishes to submit jobs without spooling (hot), an unspooled pseudo reader must be used and the communications line to the current host must be open. A reader other than the default pseudo reader is specified in the SUBMIT command through the READER parameter. If the default pseudo reader is not spooled, the READER parameter need not be used for hot job submission.

NOTE

Whenever jobs are submitted through an unspooled pseudo reader, the communications line to the host system must be open in order for the SUBMIT command to execute successfully.

Two options are allowed for infiles and FD files, NOTRANSLATE and TRANSPARENT. When the NOTRANSLATE option is used with an infile or an FD file, the data to be sent to the host system is not translated according to Configuration File item 38. This option allows for the transmission of data already translated, or which should not be translated. Packed decimal data, for example, should not be translated. When the TRANSPARENT option is used with an in file only the first JOB card in that infHe is identified, and all subsequent ones are ignored by MRJE.

SUBMIT

NOTE

You must be a Manager to use the TRANSPARENT option with aninfile.

When the TRANSPARENT option is specified with an FD card, then all JOB cards are ignored by MRJE.

Error-free JCL must always be included whenever the TRANSPARENT option is for the host system to treat the JOB cards as data. Use the proper DD card. One reason for submitting a JOB to a host system as data is to provide for conditional execution of a job.

As MRJE/3000 processes a SUBMIT command, it checks all input files and those FD files for which the TRANSPARENT parameter was not included. Whenever MRJE/3000 encounters a JOB card, it assigns a unique job number and enters the number in the Job Log File for the current host machine. The job numbers are returned to the User in $STDLIST so they can be noted for future reference to individual jobs.

When input originates from $STDIN or $STDINX, the end of every file must be marked with an MRJEOD record. This record must contain the characters ~~,J.l~~:~in the first six columns. Itis read by MRJE, but it is not sent to to the host system.

SUBMIT

Example

In this example, two jobs are submitted to the default host sytem:

#~I~.~~I~mm:':~~~mm~:~:~~~~~

JOB#=5 JOBNAME=JOB1 RECORDS READ=7 RECORDS WRITTEN=7

Dans le document HP AdvanceNet (Page 63-66)

Documents relatifs