Define a STEPLIB to a TSO session for running DML/O in local mode
search cancel

Define a STEPLIB to a TSO session for running DML/O in local mode

book

Article ID: 32464

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

There is a sample TSO clist for invoking DML/O in local mode in the .CAGJSAMP(USDTSO) member of the install libraries. It indicates that the user session must have a STEPLIB defined for it pointing to the IDMS load library concatenation.

This article describes the process for accomplishing this.

Environment

Release: All supported releases.
Component: DML/O.

Resolution

There are two methods for doing this.

Method 1 - TSOLIB ACTIVATE

The following statement can be used in a clist to allocate a STEPLIB to the session:-

TSOLIB ACTIVATE DSNAME('idms.dba.loadlib' -
                       'idms.custom.loadlib' -
                       'idms.cagjload')

The above statement can be incorporated into the existing sample. However, the TSOLIB ACTIVATE command must be run from the TSO READY prompt (i.e. outside of ISPF). Therefore, if this solution is used, the clist must be invoked from the TSO READY prompt.

It is also possible to create a separate clist to just allocate the STEPLIB and invoke only that from the TSO READY prompt.

PROC 0
TSOLIB ACTIVATE DSNAME('idms.dba.loadlib' -
                       'idms.custom.loadlib' -
                       'idms.cagjload')

Then after running that separate clist from the TSO READY prompt, the normal sample clist can be invoked from ISPF option 6.

Method 2 - STEPLIB DATASET with SYSVIEW

If using SYSVIEW, the following statement can be used to allocate a STEPLIB.

STEPLIB DATASET('idms.dba.loadlib' -
                'idms.custom.loadlib' -
                'idms.cagjload')

This can be executed from either ISPF or the TSO READY prompt.

Additional Information

Post-Configuration Tasks - scroll to TSO Access.