Page 1 of 2

TYPRUN='SCAN' not Invoked

PostPosted: Fri Jul 13, 2012 9:26 am
by jaggz
Hi,

I am not able to see the Scanned Report for any JCL when I code with TYPRUN='SCAN'. Is it something the SCAN feature is missing in Z/OS ? If so, are there any equivalent features available ?

Jaggz

Re: TYPRUN='SCAN' not Invoked

PostPosted: Fri Jul 13, 2012 10:25 am
by NicC
I do not understand what you mean by 'scanned report'. All TYPRUN=SCAN does is allow your JCL to be interpreted but not executed - just sent to the output queue. TYPRUN=HOLD sends it to the input queue, in hold status, after interpretation. What were you expecting? If you have no output on the output queue then you either have a JCL error in the jobcard or you have specified a MSGCLASS that prohibits the 'printing' of JCL or you have not submitted the job.

Re: TYPRUN='SCAN' not Invoked

PostPosted: Fri Jul 13, 2012 12:29 pm
by BillyBoyo
I think you are thinking you are using a "JCL Checker" program: you are not.

If that is not what you are thinking, please explain more clearly and in more detail.

Re: TYPRUN='SCAN' not Invoked

PostPosted: Sat Jul 14, 2012 7:38 pm
by Anuj Dhawan
What DD statement do you look at in the spool? Are you at correct one?

Re: TYPRUN='SCAN' not Invoked

PostPosted: Sat Jul 14, 2012 11:21 pm
by dick scherrer
Hello,

If a TYPRUN=SCAN is run, there should be no DD statements in the spool - only the JES sysouts.

And these need to be posted here. If there are no JES sysouts, he job was flushed - probably because of an invalid JOB statement.

Re: TYPRUN='SCAN' not Invoked

PostPosted: Sun Jul 15, 2012 8:00 am
by jaggz
Dear Dick,

Thanks for the clarification.

Re: TYPRUN='SCAN' not Invoked

PostPosted: Sun Jul 15, 2012 8:04 am
by dick scherrer
You're welcome.

Did you fnd the "scan" information?

Re: TYPRUN='SCAN' not Invoked

PostPosted: Sun Jul 15, 2012 12:08 pm
by Anuj Dhawan
If you execute a Job with TYPRUN=SCAN, you'll get the following DDName listed. As Dick say they are "JES" sysouts, I referred them as "DD-Names" as shown below:

   Display  Filter  View  Print  Options  Help                                 
 -------------------------------------------------------------------------------
 SDSF JOB DATA SET DISPLAY - JOB JOBNAME(JOB28196)    LINE 1-2 (2)           
 COMMAND INPUT ===>                                            SCROLL ===> CSR 
 PREFIX=JOBNAME  DEST=LOCAL  OWNER=*  SYSNAME=                                 
 NP   DDNAME   StepName ProcStep DSID Owner    C Dest               Rec-Cnt Page
      JESMSGLG JES2                 2 Anuj  Y LOCAL                    8     
      JESJCL   JES2                 3 Anuj  Y LOCAL                   11     
one will have what you are looking for.

Re: TYPRUN='SCAN' not Invoked

PostPosted: Sun Jul 15, 2012 2:10 pm
by expat
Recall something similar many moons ago and using MSGLEVEL=(1,1) on the jobcard resolved the issue

Re: TYPRUN='SCAN' not Invoked

PostPosted: Sun Jul 15, 2012 2:56 pm
by NicC
Yup, all points that covered in my original reply - not bad for 6 in the morning before feeding the pigs.

EDIT - on the other hand 10:00am after feeding the pigs I had to edit this reply!