Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ChangeMan package already exist ? + Rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: ChangeMan package already exist ? + Rexx
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

Senior Member


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

PostPosted: Tue Apr 06, 2010 8:16 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Apr 06, 2010 8:19 pm    Post subject:
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    Post subject:
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: 94
Location: India

PostPosted: Wed Apr 07, 2010 9:58 am    Post subject: Reply to: ChangeMan package already exist ? + Rexx
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    Post subject:
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: 94
Location: India

PostPosted: Wed Apr 07, 2010 12:37 pm    Post subject: Reply to: ChangeMan package already exist ? + Rexx
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    Post subject:
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

Senior Member


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

PostPosted: Thu Apr 22, 2010 2:54 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us