Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Rexx scripts to monitor PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1544
Location: Andromeda Galaxy

PostPosted: Fri Jun 26, 2009 4:50 pm    Post subject: Rexx scripts to monitor PDS
Reply with quote

Hi,

Our system has a library which has load modules

Is it possible to monitor a monitor this PDS through some rexx scripts then submit one job if the member was starting with abcd* was moved happened to those PDS.

If the member which was moved started with abdc* i need to submit a bind job having program as abcd* which is through some rexx script or any alternative.


I am familiar to rexx but this requirement looks complicated for me.If can anyone guide me how to go about it it will be helpful

Please let me know your comments.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Fri Jun 26, 2009 4:56 pm    Post subject: Reply to: Rexx scripts to monitor PDS
Reply with quote

NO

if Your development is done in a controlled environment ( SCLM, ENDEVOR, CHANGEMAN, ...)
and the setup has been done properly
the rebind should take place automatically at each build/promote

I can guarantee that for SCLM ( done it )
but I suppose that it should be true also for the other programs
( it' s a very basic function )
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1544
Location: Andromeda Galaxy

PostPosted: Fri Jun 26, 2009 5:38 pm    Post subject:
Reply with quote

Actually we use ENDEVOR and as we move the element we dont use

BYPASS ELEMENT DELETE

But as we the move doesnt happen through us we cant avoid them being deleted from lower libraries

So all the program being moved gets deleted from lower libs.

so if we missed to do a rebind for the same in lower libs the job fails for
-805

So I thought which will help reduce these issues.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Fri Jun 26, 2009 5:50 pm    Post subject: Reply to: Rexx scripts to monitor PDS
Reply with quote

never happened to me with SCLM, I guess it is a setup issue

I' ll just show the logic with two levels only TEST and PROD

You have a program PROG1
when You build at the TEST level You obtain trhu compiler and lked
a DBRM and a LOAD_MODULE
and an additional step will bind to the test db2 environment
the control info in the dbrm an load module is in sync

when promoting to the higher level
all the involved components are moved from the
from the <TEST>.stuff to the <PROD>.stuff

source,load,dbrm
and a bind step is run to bind to the prod db2 environment
since the DBRM and the LOAD are not changed ( a relink does not chage the DB2 control info )

You can run the prod load modulee on the test db2 with no problem

it would be better to get a better understanding of the whole process and setup
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1544
Location: Andromeda Galaxy

PostPosted: Fri Jun 26, 2009 6:04 pm    Post subject:
Reply with quote

Thanks enrico sorichetti

When we move the element from the <TEST>.stuff to the <PROD>.stuff

The loadlib and dbrm gets deleted through endevour.

But I as you said its should be something to do with the setup..

I will try to figure it out and meanwhile if anyone knew the setup which we need to take care for bind in lower regions though ENDEVOR please let me know.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Fri Jun 26, 2009 6:06 pm    Post subject: Reply to: Rexx scripts to monitor PDS
Reply with quote

You misunderstood icon_biggrin.gif
if the setup has been done properly
there is no ned to rebind at the lower level

if it were so You would need to rebind at all levels of the development hierarchy
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1544
Location: Andromeda Galaxy

PostPosted: Fri Jun 26, 2009 6:13 pm    Post subject:
Reply with quote

Got it now icon_biggrin.gif

BYPASS ELEMENT DELETE

To Avoid that this is the only go icon_idea.gif icon_idea.gif icon_idea.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Fri Jun 26, 2009 6:17 pm    Post subject: Reply to: Rexx scripts to monitor PDS
Reply with quote

an issue would be if the load module was not copied but rebuilt from the sources ( creating a new dbrm )
in this case the whole environment would be out of sync
rebuilding from the sources at any level would invalidate the contokens at the lower levels

i would repeat again if the setup is proper You can delete the lower level on promotion with no issues

review the setup with the endevor support group
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1544
Location: Andromeda Galaxy

PostPosted: Fri Jun 26, 2009 6:58 pm    Post subject:
Reply with quote

Thanks enrico sorichetti icon_smile.gif

Will do that.....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us