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

To get changman package id


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Tue Feb 26, 2008 11:59 am
Reply with quote

Hi,

I need to get the the application neumonic and package number of the current changeman package component in an ISPF macro. I tried with ISPF variable package. But it does not seems to be correct one.

So when I go and edit a component from chgman 6 stage and 2 package option, change man will be opening the member in temporary dataset. From this edit session, when I invoke the ISPF macro, need to get the full package id. Is there any way for getting the same?

Thanking you in advance,
Prajesh
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Feb 26, 2008 8:19 pm
Reply with quote

Not sure what exactly you are doing - Are you writing ISPF macros to get package name?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Feb 26, 2008 8:25 pm
Reply with quote

if you are attempting to use the temp dataset name, this is available thru member or dataset command - ck the manual.

otherwise are you attempting to 'scrub' info from the display?

and like devzee, not sure what you are doing? what will you do with this 'info'?
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Wed Feb 27, 2008 9:50 am
Reply with quote

I have actually created an ISPF macro to open components with cursor point resultion. I was planning to extend the same for components in the same chgman package apart from standard libraries, by opening the memeber from chagman pds. But for this I need to get the package number and appl name to resolve the chgman PDS name. I was wondering whether there is any ISPF variable that contains the current package id as the chgman panels remebers the same once we type in an enter edit mode.

Hope this clarifies my intention.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Feb 27, 2008 10:51 am
Reply with quote

I dont know if there is any ISPF variable from which you can get the current package name.

An alternative: When you browse or edit the component the application name, package name are displayed along with component correct ? Not sure how it's configured at your site, if the component is like
Quote:
hlq1.hlw2.appmnemonic.somepackagenumber.type(component)

then you can easily get app mnemonic and package number from this
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Wed Feb 27, 2008 11:07 am
Reply with quote

Devzee,

Its configured in a diffrent way here. When we take the component from chgman. the naming convention here is like:
hq1.@racfid.DC(random number).T(random number).SRC.

I have the logic set for these components when we take these comonents from ISPF through chgman PDS as you have suggested.

Thanks,
Prajesh
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Feb 27, 2008 11:23 am
Reply with quote

If ur site is configured to create temporary datasets for editing then my approach will not work.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Rebind issue - Package DB2 2
No new posts Why myself doing Package Bind always ... DB2 5
No new posts JCL to delete component in a package Compuware & Other Tools 14
No new posts What's plan, package, bind ? DB2 2
No new posts Cobol DB2 package accessing differen... DB2 1
Search our Forums:

Back to Top