Gary,
try this =>
//DSMADMC EXEC PGM=DSMADMC,
// PARM=('/-ID=&USER -PASSWORD=&PASSWORD -NOCONFIRM
// -ERRORLOGNAME=''&ERRORLOG''')
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//DSCLANG DD DSN=xxx,DISP=SHR
//DSCOPT DD DSN=yyy,DISP=SHR
//SYSIN DD *
your query
QUIT
/*
//
where
&USER is your TSM Admin
&PASSWORD is your Password
&ERRORLOG is the TSM Errorlog (Seq. Dataset) - I am not sure, if you need this !
xxx is your Language-Dataset (We have SYS1.DSM.SANSMSG(ANSMENU))
yyy is your Optionfile (We have DSM.ANSADSM.OPTIONS)
SYSPRINT is the Output
SYSIN is your Query, Select or whatever....
You will need a Steplib if DSMADMC is not in a specific Systemlibrary
Greetings
Gerhard Wolkerstorfer
[EMAIL PROTECTED] (Lee. Gary D.) am 20.03.2001 15:05:44
Bitte antworten an [EMAIL PROTECTED]
An: [EMAIL PROTECTED]
Kopie: (Blindkopie: Gerhard Wolkerstorfer/DEBIS/EDVG/AT)
Thema: jcl to run admin client in batch
tsm v3.7,
os/390 v2.8
I am trying to execute the admin client in a batch job to run various
scripts for reporting and creation of a pull list and return list to/from
our tape vaults.
I have loked through the admin guide, admin reference and quick start but no
joy. Anyone out there got a piece of jcl for accomplishing this?
TIA.
Gary Lee
Senior Operating Systems Analyst
Ball State University
phone 765-285-1310