IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ChangeMan package already exist ? + Rexx


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Tue Apr 06, 2010 6:55 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Apr 06, 2010 8:16 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Apr 06, 2010 8:19 pm
Reply with quote

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
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Wed Apr 07, 2010 9:14 am
Reply with quote

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
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Wed Apr 07, 2010 9:58 am
Reply with quote

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
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Wed Apr 07, 2010 11:33 am
Reply with quote

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
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Wed Apr 07, 2010 12:37 pm
Reply with quote

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
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Wed Apr 21, 2010 7:04 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Thu Apr 22, 2010 2:54 pm
Reply with quote

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
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Thu Apr 22, 2010 2:58 pm
Reply with quote

Thanx for rply, i will check with chageMan Team.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top