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

To get the version details of a member


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Mon Aug 02, 2010 11:35 am
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
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: 2358
Location: Israel

PostPosted: Mon Aug 02, 2010 4:14 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Tue Aug 03, 2010 11:38 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts JCL SORT to compress the student's de... DFSORT/ICETOOL 7
Search our Forums:

Back to Top