Re: jcl to run admin client in batch
2001-03-20 11:32:57
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" <cookde AT BP DOT COM> on 03/20/2001 03:30:14 PM
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
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
|
|
|