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
 

 

To get the version details of a member

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
tecnokrat
Warnings : 1

Active User


Joined: 22 May 2009
Posts: 160
Location: Bangalore

PostPosted: Mon Aug 02, 2010 9:57 am    Post subject: To get the version details of a member
Reply with quote

Hi,
Im stuck with a problem in getting the version details of a member in a given PDS.

i used OUTRAP command in getting the members listed in a PDS but does this command also gives you the VERSION details of a member??

Please let me know if any other command does gives the version details of each member in a PDS.

And is there any way to get connected to the ENDEVOR so as i get all the details from the TSO command.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Aug 02, 2010 11:35 am    Post subject:
Reply with quote

If you maintain your ISPF statistics, take a look at the ISPF service LMMLIST, with the STATS parameter (ZLVERS contains the version).

O.
Back to top
View user's profile Send private message
tecnokrat
Warnings : 1

Active User


Joined: 22 May 2009
Posts: 160
Location: Bangalore

PostPosted: Mon Aug 02, 2010 2:37 pm    Post subject:
Reply with quote

Hi,

Thanks for the reply it solved to get my requirement of version
The below is the code used to get the version.
Code:
 "ISPEXEC LMINIT DATAID(DD1) DATASET('"DSN"') ENQ(SHR)"       
 IF RC>0 THEN SIGNAL ERROR                                     
 "ISPEXEC LMOPEN DATAID("DD1")"                               
 IF RC>0 THEN SIGNAL ERROR                                     
 "ISPEXEC LMMFIND DATAID("DD1") MEMBER("MEMNAME") STATS(YES)"
 RC2=RC                                                       
 "ISPEXEC LMCLOSE DATAID("DD1")"                               
 IF RC>0 THEN SIGNAL ERROR                                     
 "ISPEXEC LMFREE DATAID("DD1")"                               
 IF RC>0 THEN SIGNAL ERROR                                     
 IF RC2=0 THEN DO                                             
   X=ZLVERS'.'ZLMOD  ZLCDATE  ZLMDATE  ZLMTIME,               
     ZLCNORC ZLINORC ZLMNORC ZLUSER                           
  END


But one problem ,say if the DSN is replaced production dataset we are not availed the facilities of the version numbers and other details.

so will it be feasible to me to connect directly to the ENDEVOR and get the version details.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Aug 02, 2010 4:14 pm    Post subject:
Reply with quote

You will have to consult the Endevor documentation for such option. As far as I remember, Endevor provides a rich set of APIs for such requests.

O.
Back to top
View user's profile Send private message
tecnokrat
Warnings : 1

Active User


Joined: 22 May 2009
Posts: 160
Location: Bangalore

PostPosted: Tue Aug 03, 2010 10:10 am    Post subject:
Reply with quote

Hi,
I tried the below command in getting connected to Endevor but always i get a ABEND.

Code:

"ISPEXEC SELECT PGM(NDVRC1) PARM(BC1PXCAT)"

I'm unaware of the PARM ,like what values should go in ...

can somebdy plz help in this
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 03, 2010 11:38 am    Post subject:
Reply with quote

tecnokrat wrote:
I tried the below command in getting connected to Endevor but always i get a ABEND.

Lucky you. And that is about as much as we can reply at the moment.
Any chance you might want to share which abend you receive. Go on, give us a clue.

However, I would suggest that your site admin would be the first place to call for any help as they have set the application up and will know far far more about this than anyone else on the forum.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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