View previous topic :: View next topic
|
Author |
Message |
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
We use ENDEVER as version control tool. I want to retrieve all source modules to my test PDS.
Actually problem is we can browse ENDVER's source lib through 3.4 like copylib (we browse NDV00F.PRODMLQ.COPYLIB to see all copybooks added to endever)
Is there any utility or option in endever which will retrieve all PGMs in my test pds ? |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
If your shop allows just check with the option of endevour. While reteriving any element it ask where to retreive the element. At that time you can give you test lib. In some shop it ge's reterive to the default library, where as in some shop you need to provide the same. If you can betetr picture what actully options avalaible in your shop i think we can help u in more better way. |
|
Back to top |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
Thanks kanak,
We have option to checkout the source to personal PDS,
Problem is the number of jobs.....
I want to check out all production source programs to personal PDS.Doing it manually is vertually impossible so i am searching for some kind of utility or option that will check out all SRC to PDS i specify!! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Hi!
In any source control environment "checking out" a source usually means ( apart copying sometimes the source to some other location ) raise in the control files a flag telling everybody that the source is being modified, in order to serialize the modifications.
My feeling is that if You want ( and are allowed ) to browse the sources there is no need to check them out
On the other side checking out all the sources will certainly prevent all the developers of Your organization from doing their job !
regards |
|
Back to top |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
Thanks enrico-sorichetti for the information...........
But my task is ..........
I have some 30-40 src programs which use some logic for date calculation. For some reason i want to make some small change in the logic. Every program will have similar kind of change.
(e.g. Change WS-RE-DATE to WS-NEW-REF-DATE ... like that !!)
I have a REXX utility to which i will have to provide the PDS that contains SRC and have to specify the change to be made.
The utility will actually browse through the SRC's and will make the changes.
For this first i need to checkout all my 30-40 elements ,make changes and again check in .....
So i was looking for some trick which will do this Bulk Checkout/Checkin ... (atleast check out !!) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
If you're going to change them all anyway, why not make the date routine a seperate called module. That way you'll only need to change it once next time. |
|
Back to top |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
Yup ... that is good option .... but my single line change will make that logic to work for next century .... so i don't think client will opt for the subroutine thing ..... and anyways ..... i will have to change all programs that is for sure ......
So is there anyway to do it Bulk ? ..... this is the only question ?? |
|
Back to top |
|
|
ashwinreddy
Active User
Joined: 16 Sep 2004 Posts: 106 Location: Hyderabad
|
|
|
|
Hi,
I think you can retrieve all PGMs in your test pds,
1) First create a Retrive SCL(A) for one PGM.
2) Edit that Scl member A and repeat that code for the number of PGMS you want to retrieve.
3) Change the Program name in each scl to corresponding PGM name.
And remember to change the class parameter in the Endevor Job card.
Cheers
Ashwin |
|
Back to top |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
Thanks Ashwin,
That sounds tobe THE solution, Will try that !! Thanks !!! |
|
Back to top |
|
|
|