View previous topic :: View next topic
|
Author |
Message |
suzeet
New User
Joined: 16 May 2005 Posts: 54
|
|
|
|
I have a requirement like below.
Suppose we have four environments e.g; Stage, Prod, QA & Model. I have an Element ABCD and elemnt type is COBOL.
Is it possible to know, IN which environment ABCD is prsent and it's status(Signed out or not) by running endevor in batch (NDVRC1) |
|
Back to top |
|
|
a027412
New User
Joined: 05 Jul 2007 Posts: 40 Location: Minneapolis, MN
|
|
|
|
I think this could be done this way. With the help of NED report option, print all the locations of ABCD program and using SORT/MERGE we can identify where the program is actually present.
Code: |
//BSTRPTS DD SYSOUT=*
//BSTINP DD *
REPORT 01 .
ENVIRONMENT <Env Name> .
SYSTEM <System Name> .
SUBSYSTEM <SubSys Name> .
ELEMENT ABCD .
TYPE COBOL .
//BSTPDS DD DUMMY
//SMFDATA DD DUMMY
//UNLINPT DD DUMMY
|
|
|
Back to top |
|
|
|