How to Run SPUFI in Batch JCL

We are all very familiar that we can work with SPUFI on-line(DB2I). There is an another option in DB2 we can execute SPUFI in batch mode.

I am giving JCL here:Source IBM: Refer here for more…

//RUNTEP2 EXEC PGM=IKJEFT01,DYNAMNBR=20
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
  DSN SYSTEM(DSN)
   RUN PROGRAM(DSNTEP2) PLAN(DSNTEP81) -
     LIB  ('****.RUNLIB.LOAD')
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
SELECT * FROM SYSIBM.SYSTABLESPACE
/*