Re: OS390 Administrative Command Line in Batch?
2000-02-02 03:50:48
Subject: |
Re: OS390 Administrative Command Line in Batch? |
From: |
"Doherty, John (ANFIS)" <jdohe1 AT ANFIS.CO DOT UK> |
Date: |
Wed, 2 Feb 2000 08:50:48 -0000 |
We use the following command, this routes your command to one of the
sysprint statements and you could direct this to a file. Does this help.
ID and PA is userid and password. I have set up a reporter id for this
function.
//STEP010 EXEC PGM=IKJEFT01,REGION=4M
//DSCLANG DD DSN=ADSM.AANSMSG(ANSMENU),DISP=SHR
//DSCOPT DD DSN=SYS1.PARMLIB(ANSSMPO2),DISP=SHR
//SYSPROC DD DSN=SYS2.CLIST,DISP=SHR
//SYSHELP DD DSN=SYS1.HELP,DISP=SHR
//SYSLBC DD DSN=SYS1.BRODCAST,DISP=SHR
//SYSPRINT DD SYSOUT=U
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSMADMC -ID=REPORTER -PA=REPORTER -
"QUERY ACTLOG BEGINDATE=01/17/2000 ENDDATE=01/17/2000" -
"BEGINTIME=10:00 ENDTIME=19:00 MSGNO=2756"
/*
> ----------
> From: Talafous, John G.[SMTP:Talafous AT TIMKEN DOT COM]
> Reply To: ADSM: Dist Stor Manager
> Sent: 01 February 2000 16:34
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: OS390 Administrative Command Line in Batch?
>
> I am digging through manuals and experimenting. I am trying to redirect
> the
> output of some DSMADMC commands and SQL queries to an OS390 file. Has
> anyone
> had experience with this? Do you have JCL you can share to get me going?
>
> TIA,
> John G. Talafous Sr. Tech. Prog/Anal
> The Timken Company Phone: (330)-471-3390
> P.O. Box 6927 Fax : (330)-471-4034
> 1835 Dueber Ave. S.W.
> Canton, Ohio USA 44706-0927
> talafous AT timken DOT com http://www.timken.com/
>
|
|
|