Click me

JCL tips

Cool and very useful mainframes tips and tricks!!!

 Check out some useful JCL tips  

1.  To receive a notification as soon as the job gets executed, code NOTIFY=&SYSUID in the job card.


e.g //JOBNM JOB (ACCT,ARIN), CLASS=A,MSGCLASS=R,NOTIFY=&SYSUID

2.  To delete a member in use by other user.
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//INDS DD DSN=libname,DISP=SHR
//SYSIN DD *
ALLOC DDN(INFILE) SHR REUSE DSN('libname ')
DELETE libname(membername) FILE(PDS)

3. To create GDG generation base, type TSO GDGBLD. It will open a new panel where you can list your GDG base names and create it.

4. To check errors in JCL, submit the JCL with TYPRUN=SCAN parameter. You can also type JEM or JSCAN for error listing.

5. For long running jobs which get abended due to timeout error(S322 abend)
, provide TIME parameter as follows.

TIME=NOLIMIT

or
TIME=1440

Then the job will run till its execution completes.

6. Maximum number of in stream procedures allowed in a job =15.

7. Maximum number of catalog procedures allowed=255.


Check out more mainframe tips at http://mainframetipstricks.blogspot.com/

Check out our 100% free intraday share market tips at http://freesharemarkettips4u.blogspot.com/