• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Copying UBE from PRISTINE to CRP

jhartnett

Member
List,

How can I copy a UBE from the PRISTINE environment/patchcode into the CRP
environment? I don't see any objects in the PRIST pathcode when I'm logged
into the PRIST environment.

We are NT 4.0, SQL Server 7.0, B7331.

Thanks in advance,

John Hartnett
J&J Snack Foods Corp
Pennsauken, NJ 08109
 

Larry_Jones

Legendary Poster
John,

here's a way to fake it out from a workstation that has the Pristine environment installed:

1. Login to Oneworld using CRP733 or DEV733 environment.

2. Run the Object Librarian (OL)

3. Using the QBE Line "Find" the object you want to copy from the Pristine Path Code.

4. Hilite the Item's Row and "Select" or double-click the object

5. In the grid that appears on the Application Design form, which now appears, enter the following values in the last (blank) line of the Grid:
Location = Name of Deployment Server
PathCode = PRISTB733
Status Code = 3
SAR = PRISTINE
User = <your id>
Mod Comment = Pristine Copy
Merge Opt = 1
Select "OK"

6. Select or double-click the object again.

7. On the Design grid select the new row and check it in to CRP or DEV.

That should do it.

Cheers,

Larry Jones
ljones@wagstaff.com
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE
 

Adrian_Chimirel

Legendary Poster
Just one small question Larry,
After 5. where you created the OL record related to the Pristine Env/Pathcode,
Don't you have to Check-out the UBE, before being able to Check-it-into any other Env/Pathcode?
Thank you very much.

Adrian Chimirel
Programmer Analyst
LIVE: B732.1 SP12.2, Oracle 806
SANDBOX: XE SP13, 8i
RS/6000, Citrix, 200+ clients
 

Adrian_Chimirel

Legendary Poster
Re: RE: Copying UBE from PRISTINE to CRP

Sorry but I'm lost: ... who is in the jdeb7.mdb?
Pristine? The UBE? The Object Librarian tables?


Adrian Chimirel
Programmer Analyst
LIVE: B732.1 SP12.2, Oracle 806
SANDBOX: XE SP13, 8i
RS/6000, Citrix, 200+ clients
 

Larry_Jones

Legendary Poster
Adrian,

no, you do not want to try to check in the pristine object at that point. By entering a new entry who status is 3 you are telling OL that you have the object checked out.

Regards,

Larry Jones
ljones@wagstaff.com
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE
 

Zoltan_Gyimesi

Legendary Poster
It's just a bit addition to Larry's method.

It is not necessary to have a machine with installed PRISTINE path code and works with any path code if you follow the modfied method below (I referenced Larry's numbering):

5.) Status Code = 1
7.) Skip this step
+8.) Check Out the UBE to the local machine
+9.) Select the checked out line (Location = your machine)
+10.) Check In the UBE to CRP.

and let me a little correction to Larry's original method if you will follow this:
5.) Location = your local machine name (instead of deployment server)

Hope, could help.
Zoltán

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 

Larry_Jones

Legendary Poster
pardon me, in the previous post where I said "you do not want to try to check in " I meant to say "you do not want to try to check out".

Thx,

Larry Jones
ljones@wagstaff.com
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE
 

Zoltan_Gyimesi

Legendary Poster
There is some main difference between "Check In" and "Check Out + Check In" method.

In first case you will check in the spec residing on your local machine and works only when all of the spec is on the machine what is generally true for UBE but I amn't sure that it is true for all object type, think of JITI! Your local spec could be modified.

In the second case you don't have to have a PRISTINE machine you can work with any installed pathcode (except for BSFNs which needs full package and installed C++). You will get (check out) the really pristine version from the server and will it check in to CRP (or any) path code without modification.

I prefer this second method.

We used the first Fake Check Out method (with my previously described modification) when somebody had accidently override a developed object in the Cenral location and we still have the machine with developed object but the Check Out entry already cleared (Erase Check Out).

Zoltán

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 

Adrian_Chimirel

Legendary Poster
Larry, Zoltán,

Sorry for my abrupt intervention; I didn't mean to confuse anybody. Thank God Zoltán spelled it out for me/us.
I was referring to the second method, totally ignoring the first one (Larry, that's why I dared to question your reply; it's the ONLY way to find out MORE).

Thank you.

Adrian Chimirel
Programmer Analyst
LIVE: B732.1 SP12.2, Oracle 806
SANDBOX: XE SP13, 8i
RS/6000, Citrix, 200+ clients
 

Larry_Jones

Legendary Poster
Yep, its almost always good to ask why. I'm glad Zoltan showed me/us a better way. Unfortunately I think we won't be able to use this little trick anymore in XE/OMW :(




Larry Jones
ljones@wagstaff.com
OneWorld B733.1, SP 11.3
HPUX 11, Oracle SE 8.1.6
SandBox: OneWorld XE
 

Zoltan_Gyimesi

Legendary Poster
Larry,
You are right, we aren't able to use this tricky method to Get / Check Out PRISTINE objects.
... BUT ...
There is a Project Status (45) in OMW of XE where the source of Get /Check-Out action is the JDB7333 (PRISTINE) Path Code, so don't be afraid.
Further, we can make new Project Statuses and set up Activity Rules for moving Objects from any location to any other one.
Hope, this cool you down :)
Zoltán

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 

Adrian_Chimirel

Legendary Poster
Now, if we're talking about Xe, the easiest way should be the OMW's Row exit button Get; it allows you to get a copy of your object from ... any Pathcode you want, without having to deal with Project Statuses/Activity Rules, am I right?
So don't you cool it down, unless you want it :)

Adrian Chimirel
Programmer Analyst
LIVE: B732.1 SP12.2, Oracle 806
SANDBOX: XE SP13, 8i
RS/6000, Citrix, 200+ clients
 

Zoltan_Gyimesi

Legendary Poster
Hi Adrian,
Of course, I meant Get, Check-Out, Restore actions (with different purpose) in OMW to get a copy from central location to the workstation.
Currently I amn't enough educated with using and setting up OMW, so I do not know other way how to control the FROM location of the mentioned actions then the Activity Rules of the current Project Status.
You have mentioned: "to get a copy of your object from ... any Pathcode you want, without having to deal with Project Statuses/Activity Rules".
I suppose, you know other way to Select/Determine the FROM Loaction of mentioned actions.
I very please, share your knowledge in this issue with us.
Thank in advance,
Zoltán

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 

Adrian_Chimirel

Legendary Poster
Hi Zoltán,
I'm in "SHARE" mode now; do not disturb, please.
1 - In OMW, when you select/highlight an object attached to a project,
2 - the exit Row button "Get" becomes enabled;
3 - when you click on it, the "Overwrite/Delete Specs Confirmation" msgWindow pops up, asking you if you want to proceed to
4 - overwriting local specifications.
5 - If you click Yes,
6 - the "Path Code Search & Select" form shows, allowing you to ... search and ... select the FROM (source) Path Code, whose object's specifications will overwrite the local ones.
Oooof, I'm done ... a tough Monday morning, is it not? You're satisfied, I hope? If not, don't hesitate, shoot!

Adrian Chimirel
Programmer Analyst
LIVE: B732.1 SP12.2, Oracle 806
SANDBOX: XE SP13, 8i
RS/6000, Citrix, 200+ clients
 

Zoltan_Gyimesi

Legendary Poster
Hi Adrian,
At first thank you for your answer.
Please, let me a new question in this issue.

When I click Yes (in our installation) on the "Overwrite/Delete Specs Confirmation" msgWindow then the action begins immediatly
without showing a "Path Code Search & Select" form.
I suppose, this possibility could depend on something setting, User Role or Activitity Rule and/or Project Status but I wasn't able to guess it.

Do you know how can we setup OMW to enable Path Code selection at Get Action?
What is your project status and user role when you can select path code?

Thanks again.
Zoltán

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 

Adrian_Chimirel

Legendary Poster
Zoltán,
It seems to me that you are clicking ... the center toolbar "Get" button, isn't it?
Try the left hand toolbar - the ROW exit "Get" button!

Adrian Chimirel
Programmer Analyst
LIVE: B732.1 SP12.2, Oracle 806
SANDBOX: XE SP13, 8i
RS/6000, Citrix, 200+ clients
 

Zoltan_Gyimesi

Legendary Poster
Hi Adrian,
YOU ARE RIGHT.
It was the problem. When I call Get fuction as Row Exit then I get the Path Code selection list.
Lot of Thanks!
Tell the truth, I have never thought that Get function works different way when I call it from Row Exit (or the left hand Tool Bar) or when I call it from the center Tool Bar. What a variety!

Until I haven't read your post, I have made a little experience to figure out, how can I get the selection list.
1.) I made a new Project Status
2.) I made two Activity Rule entry for Check-Out/Get action, one with DV7333 path code as From Location and an other with JD7333 From Location.
3.) ... and made all other necessary administrative tasks to put my status to work.
4.) I called GET from the Middle - and I haven't get a selection list again.

Now, there is a very interesting question: Where do I get the specification from???? From DV7333 or From JD7333???? It is interesting, isn't it?

About the original issue again.
If somebody wants only to get pristine object specification onto the local machine then the Row Exit Get is great but when somebody want to move (Check-Out, Check-In, Transfer) pristine object from pristine path code to an other one then unfortunately it needs to play a bit with Project Statuses and/or Activity Rules. Am I right?

Thanks again,
Zoltán

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)
 

Adrian_Chimirel

Legendary Poster
Hello Zoltán,
First thing first, I will try to answer the very interesting question(s): look into the logging (click the "Logging" Row exit)! It is a really nice tool, and it sorts your Actions in Descending Updated order, already.

And now about the original issue question: there's one word that says it all. Faking. Imagine you Check-Out your object from say DV7333; next thing you do is use Row exit Get, select JD7333 Path Code and, finally, you are free to Check it -In ... DEV, are you not? Am I simplifying our lives too much?
As always, one is glad to be of help,


Adrian Chimirel
Programmer Analyst
LIVE: B732.1 SP12.2, Oracle 806
SANDBOX: XE SP13, 8i
RS/6000, Citrix, 200+ clients
 
Top