z/OS ISPF Edit and Edit Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SUBMIT—Submit Data for Batch Processing

z/OS ISPF Edit and Edit Macros
SC19-3621-00

The SUBMIT macro command submits the member or data set you are editing (or the part of the member or data set defined by the range of line pointers or the X or NX parameters) to be processed as a batch job.

Syntax

Read syntax diagramSkip visual syntax diagram
Macro command syntax

                    .-.ZFIRST--.ZLAST-.           
>>-ISREDIT--SUBMIT--+-----------------+--+----+----------------><
                    '-labela--labelb--'  +-X--+   
                                         '-NX-'   

labela, labelb
Labels identifying the start and end of the group of lines to be submitted.

For more information about using labels to identify a group of lines, see Labels and line ranges.

X
Submits only lines that are excluded from the display.
NX
Submits only lines that are not excluded from the display.

Description

The editor does not supply a job statement when you enter the SUBMIT command. You can supply job statements as part of the data being submitted. When you supply a job statement, only the job name is logged to the ISPF log data set to ensure the protection of sensitive data.

If the file being edited is described as ASCII or UTF-8 then the data submitted to the internal reader is converted to EBCDIC.

PDF uses TSO SUBMIT to submit the job.

Return codes

0
Normal completion
20
Severe error (submit failed)

Examples

To submit the first 20 lines of the data as a batch job:
ISREDIT SUBMIT 1 20
To submit all of the data as a batch job:
ISREDIT SUBMIT
To submit only the non-excluded lines as a batch job:
ISREDIT SUBMIT NX

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014