Peter,

 If you installed *SM on the OS/390 environment you should be able to run
DSMADMC in batch. If you did not see you Systems Programmer responsible for
the installation of *SM and inquire about this. If this program is
installed then here is some sample JCL for you:

//QUERY1  EXEC PGM=DSMADMC,
// PARM='-ID=USERID -PA=PASSWORD RUN NTV'                         RUN NTV
is the script
//*
//DSCOPT    DD DISP=SHR,DSN=SYSA1.DSM.OPT                    *SM Options
file
//DSCLANG   DD DISP=SHR,DSN=TIVSM.SANSMSG(ANSMENU)
//*
//*YSPRINT  DD SYSOUT=*
//SYSPRINT  DD DSN=TECBLN.NTV,DISP=(NEW,CATLG,DELETE),
//          DCB=(LRECL=133,BLKSIZE=133,RECFM=FBA),
//          SPACE=(TRK,(15,5),RLSE)
//

 Let me know if you have any questions on this.

Brian L. Nick
System Programmer - Storage Solutions
Phoenix Home Life Mutual Ins.
100 Bright Meadow Blvd
Enfield CT. 06082-1900

E-MAIL:  [EMAIL PROTECTED]
PHONE:   (860)403-2281




                    "Coles,
                    Peter"               To:     [EMAIL PROTECTED]
                    <[EMAIL PROTECTED]        cc:
                    >                    Subject:     Running and redirecting output 
from
                    Sent by:             script in the OS/390 environm ent
                    "ADSM: Dist
                    Stor Manager"
                    <[EMAIL PROTECTED]
                    RIST.EDU>


                    10/19/2000
                    07:16 PM
                    Please
                    respond to
                    "ADSM: Dist
                    Stor Manager"






For those of you out there using *SM in the MVS - OS/390 environment can
you
point me in the right direction as to batch processing either a script or
macro , then redirecting the output to dataset.

TIA,
Peter Coles
Pacific Gas and Electric Co.
[EMAIL PROTECTED]
805-545-4237

Reply via email to