satyenderd Beginner
Joined: 26 Aug 2005 Posts: 144 Topics: 73
|
Posted: Fri Aug 01, 2008 7:28 pm Post subject: Error in capturing the thru -DISPLAY COMMAND |
|
|
Hi all,
Herein I have to take the info about the command
-DISPLAY DB(DBLCSP1) SPACENAM(*)USE
OR
-DISPLAY DB(DBLCSP1) USE
to find out which user is accessing which table in this database.
I wrote a jcl which is accepting -DISPLAY THREAD(*)
but not this command.
-DISPLAY DB(DBLCSP1) SPACENAM(*)USE
This is the JCl i am using:
//STEP1 EXEC PGM=IKJEFT01
//STEPLIB DD DISP=SHR,DSN=DB2TN.SHR.DSNLOAD
//*SYSEXEC DD DISP=SHR,DSN=PKG.BMC.V2040.EXEC
//ABNLIGNR DD DUMMY
//SYSTERM DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD DSN=T0J0AJ7.PDB2.COMMAND.OUTPUT,
// DISP=(NEW,CATLG,CATLG),
// UNIT=SYSDA,
// SPACE=(TRK,(1,1),RLSE),
// DCB=(RECFM=FB,LRECL=133)
//SYSTSIN DD *
DSN SYSTEM(PDB2)
-DISPLAY DB(DBLCSP1) USE
/*
Please let me, cant i use this command like this.
Please correct me.
Thanks in advance. _________________ Satya |
|