You can use a JCL like the one attached. Do not copy as it is for the moment.
Adapt the jobcard and the datasetnames
as necessary for your environment. As you can see the second command does
execute a script which need a parameter.
Even this works.

I hope this helps you. If you have any more questions please feel free.

Michel

//JOBNAME JOB (0000000000,SYST),'ENGELS M',MSGLEVEL=(1,1),CLASS=I,
//                      MSGCLASS=T,NOTIFY=youruser
//*
//ADSMDEL  EXEC   PGM=IDCAMS
//SYSPRINT  DD  SYSOUT=T
//SYSIN     DD  *
 DELETE DFS.F00T240A.QSTGPOO1
 DELETE DFS.F00T240A.QSTGPOO2
/*
//ADSMADM  EXEC   PGM=IKJEFT01
//SYSTSPRT  DD  SYSOUT=T
//DSCLANG   DD  DISP=SHR,DSN=PYB.F00T240A.V3.HLPMSG(ANSMENU)
//DSCOPT    DD  DISP=SHR,DSN=PYB.F00T240A.JCL(TSOOPT)
//SYSTSIN   DD  *
 DSMADMC / -ID=TSOADM -PA=TSO -OUT='DFS.F00T240A.QSTGPOO1' -
 Q STGPOOL BUMIGPOOL F=D
 DSMADMC / -ID=TSOADM -PA=TSO -OUT='DFS.F00T240A.QSCROUT' -
 RUN Q_OBJ_BU_NODE SERVT116
//





"Cook, Dwight E" <[EMAIL PROTECTED]> on 03/20/2001 03:30:14 PM

Please respond to "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Michel Engels/BE/Devoteam)

Subject:  Re: jcl to run admin client in batch



Don't you have jcl to perform batch TSO session(s) ?
Just use that and have it issue a call to your  dsmadmc
argh... we moved off all our MVS adsm 3 or so years ago BUT I seem to recall
I was doing that...
Dwight

-----Original Message-----
From: Lee, Gary D. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:06 AM
To: [EMAIL PROTECTED]
Subject: 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

Reply via email to