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
/*

Related Posts

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.