View previous topic :: View next topic
|
Author |
Message |
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
tecnokrat Warnings : 1 Active User
Joined: 22 May 2009 Posts: 160 Location: Bangalore
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|