MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error in capturing the thru -DISPLAY COMMAND

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
satyenderd
Beginner


Joined: 26 Aug 2005
Posts: 144
Topics: 73

PostPosted: Fri Aug 01, 2008 7:28 pm    Post subject: Error in capturing the thru -DISPLAY COMMAND Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group