PJDD(1)

PJDD(1)                  ZOAU Command Syntax                PJDD(1)


NAME

pjdd - Print the output for a given job id and ddname.


SYNOPSIS

pjdd [-hdv] <jobid> [<stepname>] [<procstep>] <ddname|dsid>

-d
    Print debug information.

-h
    Display syntax help.

-v
    Print verbose information.

DESCRIPTION

Print the output for a given job id and DD name.

<jobid>     is a job id.
<stepname>  is the job step of the DD name. OPTIONAL.
<procname>  is the proc step of the DD name. OPTIONAL.
<ddname>    is the DD name allocated to that job to print.
<dsid>      is the dataset id of the DD name.

pjdd can show the contents of SYSIN dd names, and in the case of
the EVENTLOG the output is parsed to show step information in
this format:
<step number> <step name> <program name> <substep number> <proc step> <exec name>

    <step number>       Step number (starting at 1).
    <step name>         Step name (from the EXEC card).
    <program name>      Program name (from PGM= parameter on EXEC card).
    <substep number>    Substep number (zero for non-z/OS UNIX steps).
    <proc step>         The name of the step that invoked the procedure.
    <exec name>         z/OS UNIX or MVS Program name.

    Note: blank fields are replaced with '-'.

Notes
    - <stepname>, <procstep> and <ddname> can be wildcards '*' or ''
        to match all cases.
    - Must provide <stepname> if <procname> is specified, even if
        passed as ''.
    - If EVENTLOG or 8 is specified as <ddname|dsid>,
        no other filter should be specified.

To find the stepname and DD name for a particular job id, ddls(1) can be used.


EXAMPLES

Print the expanded JCL running for job id STC02621

    pjdd stc02621 jes2 jesjcl

Output STEP2 of a STEPA for job id JOB09212

    pjdd JOB09212 STEPA STEP2 OUTDD

Output STEP2 of a STEPA for job id JOB09212

    pjdd JOB09212 '*' STEP2 OUTDD

Output SYSPRINT for job id JOB00767

    pjdd JOB00767 sysprint

Print all DD contents for JOB00767

    pjdd JOB00767 '*'

Print all DD contents for JOB00767 where stepname is CREATE

    pjdd JOB00767 create '*'

Print the DD with dsid 103 for job JOB00767

    pjdd JOB00767 103

Print contents of the EVENTLOG for job JOB00767

    pjdd JOB00767 EVENTLOG
    pjdd JOB00767 8


EXIT VALUES

0
    Success.

non-zero
    Error, see message for details.


SEE ALSO

ddls(1), jcan(1), jls(1), jsub(1)