Rakesh Kumar
Rakesh Kumar

Reputation: 5

How do I find SYSOUT in spool?

After submitting this job I am unable to find SYSOUT in spool.

The JCL follows:

//IBMUSERP JOB NOTIFY=&SYSUID
//STEP2 EXEC PGM=PERFORM1
//STEPLIB DD DSN=IBMUSER.RKSH.LOAD,DISP=SHR 
//SYSPRINT DD SYSOUT=*              
//SYSOUT DD SYSOUT=*                        
//SYSIN DD *
/*                                       
//

Upvotes: 1

Views: 2839

Answers (3)

phunsoft
phunsoft

Reputation: 2735

I just recognized you don't have JOB statement parameters, except from NOTIFY=. Your environment probably requires you to at least add the CLASS= parameter to tell the system in what jobclass to run your job. Maybe other parameters are requested too.

Usually, jobs are killed before execution if the minimum required JOB parameters are not specified.

I suggest you submit again, then go to SDSF and have a look at the system log or operlog by typing log in SDSF's command line, then search for messages related to you jobname.

Alternatively, supply at least the CLASS= parameter, and see if the job is run then.

Upvotes: 0

Hema Sree
Hema Sree

Reputation: 1

If you are using TSO-ISPF then go to ISPF main menu and open SDSF. Enter st(job status) to open spool. find the job by 's userid' or 's job name'. select the job and you can check Sysout, Sysprint.

Upvotes: 0

Hogstrom
Hogstrom

Reputation: 3761

I'm going to provide some general guidance as your question is going to get an "it depends" answer.

It looks like your most likely on a ZD&T system since you are using IBMUSER as your dataset prefix.

I used an IDCAMS utility to do my tests as I know it produces output. I would try this first to verify your system is working correctly.

//DEFCAT1 JOB (ACCT),NOTIFY=&SYSUID.,REGION=0M        
//STEP1    EXEC   PGM=IDCAMS                          
//SYSPRINT DD     SYSOUT=*                            
//SYSIN    DD     *                                   
     LISTC ENT(IBMUSER)                               
/*                                                    

If the above works and you can find the output your program PERFORM1 may not be working correctly and is not generating any output. Perhaps you can provide a minimum working sample to ensure that your program is working correctly.

Submitting a similar job but using a JOB card with a MSGCLASS=H (which is the default I've been using) worked fine and the output appears in SDSF. Make sure you have your prefix set correctly and use a wildcard. Something like PRE IBMUSER* for your example.

Where the output goes depends on how JES is setup on your system. Your JOB card does not have a MSGCLASS but uses SYSOUT=* which indicates to use the job's default MSGCLASS. That is defined in your JESPARM statements

Check your system log to make sure your output is not being 'printed' to a device.

Use the following commands:

LOG to view the system log
ST to see the job status
H to find held output that doesn't have a destination
O to find output that is ready to print but is waiting for a device.

Upvotes: 3

Related Questions