UNITGEN1 - S722 L=10 getting generated into JCL
search cancel

UNITGEN1 - S722 L=10 getting generated into JCL

book

Article ID: 219455

calendar_today

Updated On:

Products

MICS Resource Management

Issue/Introduction

You edited the JCL for UNITGEN1 found in 'prefix.CNTL(UNITGEN1)' to have L=99 for more lines. However, when you re-submitted UNITGEN it overwrote the UNITGEN1 JCL member with one that said L=10 so it failed with a S722 again on lines because UNITGEN submits UNITGEN1. If you manually edited and submitted the UNITGEN1 in that library then it worked successfully.

My question is where do you have to go to edit the UNITGEN1 JCL more permanently to change its L=10 to L=99?

 

Environment

Release : 14 

Component : MICS BASE SET

Resolution

p.PARMS(USERJCL) contained the &JOBLINES variable

ex.

/@JOBPARM L=&JOBLINES 

JOBLINES does not get pulled in from JCLDEF.  It gets pulled in from p.PARMS(JCLINFO).

In JCLINFO, DEFAULT is specified and the default # of lines is 10 which is why it is getting included in the JCL.

You can update USERJCL and remove the variable and hardcode a value that will always be enough.