Skip to content

Instantly share code, notes, and snippets.

@lbdyck
Last active April 5, 2024 15:40
Show Gist options
  • Save lbdyck/41a9c4b26031a40d1919cd67e04b37b4 to your computer and use it in GitHub Desktop.
Save lbdyck/41a9c4b26031a40d1919cd67e04b37b4 to your computer and use it in GitHub Desktop.
Show how to use a STEPLIB for the USS tsocmd
#!/bin/sh
# this short shell script will allow the shell user to invoke
# any TSO command that resides in a load library that is not
# in the STEPLIB or Link List.
#
# Change the hlq.load.library to your load library and enjoy
#
# Copy into a directory in your PATH to use as a shell command
# and issue chmod +x xxxxx (where xxxxx is the name you gave to
# this script.
# Define STEPLIB and then Invoke 'tsocmd with passed command string'
(export STEPLIB=hlq.load.library ; tsocmd "$@")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment