ADSM-L

Re: Capturing Output from Admin Schedule Command

1996-11-20 16:01:52
Subject: Re: Capturing Output from Admin Schedule Command
From: Scott Cumbie <Scott_Cumbie AT USAIRLN.USAIR DOT COM>
Date: Wed, 20 Nov 1996 16:01:52 -0500
Here is a sample MVS batch jobstep that redirect the output from ADSM Query
commands:

//*_____________________________________________________________________
//ADSMQURY EXEC PGM=IKJEFT01,DYNAMNBR=20,TIME=(30,0)
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//DSCOPT   DD DSN=EM.DEPT.PARMLIB(ADSMTSO),DISP=SHR
//DSCLANG  DD DSN=SYS1.SANSMSG(ANSMENU),DISP=SHR
//SYSTSIN  DD *
ANSADM -ID=ADMINID -PAS=xxxxxxxx
//SYSIN    DD *
Q VOLUME * STGPOOL=ARCH_*       >> 'USERID.ADSM.TAPES'
Q VOLUME * STGPOOL=ARCHC_*      >> 'USERID.ADSM.TAPES'
Q VOLUME * STGPOOL=ARCHIVETAPE* >> 'USERID.ADSM.TAPES'
Q VOLUME * STGPOOL=BACK_*       >> 'USERID.ADSM.TAPES'
QUIT
/*


To: ADSM-L @ VM.MARIST.EDU (Multiple recipients of list ADSM-L) @ internet
cc:  (bcc: Scott Cumbie/IS/USAIR)
From: tpittson @ HIMAIL.HCC.COM ("Pittson Timothy Corp/US") @ Internet @
WORLDCOM @ USAIREXT Office Phone:

Date: 11-20-96 11:43:14 AM CST
Subject: Re: Capturing Output from Admin Schedule Command

Joe,
        I don't think you can do output redirection via an ADSM admin scheduled
event on MVS.  You can either run the command and scrape the output of
the MVS syslog or, preferably, set up a batch job to do this.

Tim Pittson
tpittson AT himail.hcc DOT com

>----------
>From:  Joseph Standaert[SMTP:joseph.standaert AT TELOPS.GTE DOT COM]
>Sent:  Wednesday, November 20, 1996 10:48 AM
>To:    Multiple recipients of list ADSM-L
>Subject:       Capturing Output from Admin Schedule Command
>
>I would like to have an administrative schedule defined, which
>periodically does space accounting for nodes and appends to MVS dataset,
>for billing purposes.  If I perform interactively, under Windows admin
>client, V2 MVS server, the command would be:
>
>Q OCC * * >> C:\ACCOUNT.TXT
>
>Can this be set up as scheduled admin command or macro and output to MVS
>dataset? I am assuming type=admin schedules are run as MVS batch admin
>sessions on MVS server?
>
>I have tried "Q OCC * * >> MVS.DSN" in a schedule (doesn't recognize " >>"
>option)
>I have tried adding OPT=-OUTF=MVS.DSN (doesn't recognize OPT=)
>
>Can this be done... or do I need regular MVS scheduled Batch-TSO job to
>execute as MVS TSO admin client?
>
>Thanks..
>
>Joe Standaert
>joestand AT gte DOT net
>813-978-4870
>-------------------------
>
<Prev in Thread] Current Thread [Next in Thread>