Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
JES examples z/OS Communications Server: IP User's Guide and Commands SC27-3662-00 |
|
The following example shows the JCL file USER121.JCL.CNTL(SMFALL)
being submitted to the JES. Before FTP commands are issued, only the
data set USER121.FTP.EXAMPLE exists on MVSXA2.
After executing the FTP commands, the following data sets
now exist on MVSXA2:
Note: In most situations, the INPUT status is too fast to be
captured by issuing DIR. However, if the ACTIVE or OUTPUT status of
the job is captured, the INPUT status has been passed successfully.
The following are examples displayed by the shown DIR command. DIR with JESJOBName=* JESOwner=* JESSTATUS=ALL
JESENTRYLimit=200 shows all jobs in the system.
DIR with JESJOBName=* JESOwner=USER1 JESSTATUS=ALL JESENTRYLimit=200 shows all jobs owned by USER1
DIR with JESJOBName=* JESOwner=USER14 JESSTATUS=ALL JESENTRYLimit=200 shows all jobs owned by USER14
DIR T* with JESJOBName=* JESOwner=USER1 JESSTATUS=ALL JESENTRYLimit=200 shows all TSO jobs.
DIR with JESJOBName=* JESOwner=* JESSTATUS=ALL JESENTRYLimit=5 shows
the first 5 jobs in the system
If JESINTERFACELevel is set to 2, the DIR or LIST command for a specific jobid allows you to display specific SYSOUT data sets. DIR JOB00061 with JESJOBName=*
JESOwner=* JESSTATUS=ALL JESENTRYLimit=5 displays SYSOUT
data sets from JOB00061.
If JESINTERFACELevel is set to 2, then the GET command
should produce results similar to those below (JESJOBName=*
JESOwner=* JESSTATUS=ALL JESENTRYLimit=200 displays SYSOUT
data sets from JOB00061).
If JESINTERFACELevel is set to 2 then the MGET subcommand should produce results similar to those below, which are identical to the GET of just the JOB00061. At the end of each SYSOUT data set of an MGET, the following
line is stored:
JESJOBName=* JESOwner=* JESSTATUS=ALL JESENTRYLimit=200 displays SYSOUT data sets from JOB00061.
If MGET is specified with an asterisk, it works the same
as in JESINTERFACELevel 1. MGET gets all jobs that match the JES filters.
Also, in the example below, there are two input jobs for user1, no
active jobs, and three output jobs. Care should be taken with the
JES filters because an MGET from the client actually appears to the
server as an NLST followed by several GETs. For example, if JESSTATUS
is set to ALL and there are many jobs returned in the NLST that are
in ACTIVE or INPUT status, then the MGET will not retrieve the number
of output files expected and there will be no message that "250 No tasks found for JESJOBName...". (JESJOBName=*
JESOwner=USER1 JESSTATUS=ALL JESENTRYLimit=1024.)
Note that the DIR showed jobs TSU00017 and JOB00022, but the MGET
is not able to retrieve them.
|
Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).
|