Example of TSO CLIST Allocation Outside ISPF

Create a CLIST to allocate the ISPF data sets outside of ISPF and integrate the IBM® Connect:Direct® libraries. The bold lines in the following example are for IBM Connect:Direct.

ALLOC F(DMMSGFIL) DA(’$CD.MSG’)      SHR REU
ALLOC F(DMPUBLIB) DA(’$CD.SDGAPROC’) SHR REU
ALLOC F(SYSPROC)  DA('$CD.SDGAISPC’ -
                  'USR.ISPCLIB' -
                  'ISP.SISPCLIB’)    SHR REU
ALLOC F(ISPLLIB) DA(’$CD.SDGALINK’ -
                  'USR.ISPLLIB')     SHR REU
ALLOC F(ISPMLIB) DA(’$CD.SDGAMENU’ -
                   'USR.ISPMLIB’ -
                   'ISP.SISPMENU’)    SHR REU
ALLOC F(ISPPLIB) DA(’$CD.SDGAPENU’ -
                   'USR.ISPPLIB’ -
                   'ISP.SISPPENU’)    SHR REU
ALLOC F(ISPSLIB) DA(’$CD.SDGASENU’ -
                   'USR.ISPSLIB’ -
                   'ISP.SISPSLIB’ -
                   'ISP.SISPSENU’)    SHR REU
ALLOC F(ISPTABL) DA(’USR.ISPTABL’)     SHR REU
ALLOC F(ISPTLIB) DA(’USR.ISPTABL’ -
                   'ISP.SISPTENU’)    SHR REU
ALLOC F(ISPPROF) DA(’USR.ISPPROF’)     SHR REU
...
PDF
TSOLIB can be used in a CLIST outside ISPF instead of ALLOCATE FI(ISPLLIB):
TSOLIB ACTIVATE DATASET(’$CD.SDGALINK’)