View previous topic :: View next topic
|
Author |
Message |
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
Hi,
Is there any way to know that a package is already exist or not?
I want to use Rexx for same. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
For me it's a strange requirement - when you create a new package through changeman, as an end-user, you don't really have any means to choose a "package-number" of your choice - it gets assigned automatically. If you tell us what originated this request, there might be some alternatives. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
On the other hand, in changeman usually we have "Query" option wchih can also be used to query packages along with other couple of things:
Code: |
.
.
.
L Log - Browse the activity log
N Notify - Browse the Global Notification File
O OFMlist - Online Forms package list
Q Query - Query packages, components and relationships
R Revert - Revert a package to DEV status
.
. |
Look for
Quote: |
Q Query - Query packages, components and relationships |
you might like to try that option. |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
Thanks for your response,
I am working on automation of ChangeMan compilation.
For Staging i need to enter a package number in a Panel.
So for validation purpsoe, i need to check that package should be already exist. |
|
Back to top |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
If you still want to do it by REXX you can check whether the datasets created by changeman( Something similar to this - "HLQ."||APPNAME||".#"||PACKNO ) for that package exists. By the return code you can decide whether the package exists or not. |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
Thanks Ranjith for information.
But i come to know that "HLQ."||APPNAME||".#"||PACKNO dataset contain package which are staged.
My exact requiremnet is package has been created but not staged.
Where i can get the package that are created but not staged? |
|
Back to top |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
Sunil
I dont think we can get the exclusive information about packages created but not staged. However option 6.1 in changeman provides package information through batch job. You can check that batch file/sysout output and try if you can use it for your automation purpose. |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
I come to know that package information is stored in Package master file.
That can be accessed only through changeMan Srevices.
Can anybody guide me how to use Serena changeMan Services through Rexx?
Thanx in Advance. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Suggest you get in touch with ChangeMan-Admin at your shop, this is not something which comes in the realm of an Application Developer. |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
Thanx for rply, i will check with chageMan Team. |
|
Back to top |
|
|
|