MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Retreive older version from Panvalet

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Wed Jul 27, 2005 2:51 am    Post subject: Retreive older version from Panvalet Reply with quote

Is it possible to retreive older version from Panvalet.

Regards,
Diba.
Back to top
View user's profile Send private message Send e-mail
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Jul 27, 2005 7:53 am    Post subject: Reply with quote

If the previous version was archived to the protection file, it can be restored using the ++RESTORE parameter of PAN#2
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Thu Jul 28, 2005 4:09 am    Post subject: Reply with quote

Let me explain again -

I have created and edited a member, say DIBA, in panvalet ten times. Now I see the level number for this is 10. So I would like to retreive the member corresponding to level 5 from panvalet to my personal dataset.

Thanks,
Diba.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Thu Jul 28, 2005 8:28 am    Post subject: Reply with quote

Dibakar,

You could specify the version parameter, as by default PAN#2 automatically selects the lowest version (1) of the named member or the newest version.

For example, to restore version 4 of yourpgm, the following is required:
Code:

 ++RESTORE yourpgm,,4                                                 


Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Jul 28, 2005 8:53 am    Post subject: Reply with quote

Kolusu,

I think that Dibakar wants to recover back to a previous level number in a member that he is currently making changes to. The member has not been archived to a protection file so a ++RESTORE is not an option.

I have checked the manuals but cannot find a way of doing this.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Thu Jul 28, 2005 9:06 am    Post subject: Reply with quote

Quote:

I think that Dibakar wants to recover back to a previous level number in a member that he is currently making changes to. The member has not been archived to a protection file so a ++RESTORE is not an option


Oops I get it now. Thanks for the clarification bithead. The only way I can think of using the version number after col 72 provided that dibakar's sytem has this feature turned on. Panavalet marks all the changes with the version number.

so he can run a sort to pick all the lines with version number.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Fri Jul 29, 2005 2:07 am    Post subject: Reply with quote

Thanks Bithead and Kolusu.

Quote:

The only way I can think of using the version number after col 72 provided that dibakar's sytem has this feature turned on.


Kolusu,

I tried this and it almost worked. Before I proceed let me paste my panvalet file here -

Code:

=PROF>    ....PAN (FIXED - 80)....RECOVERY ON....NUMBER OFF.......................
=PROF>    ....CAPS ON....HEX OFF....NULLS ON STD....TABS OFF......................
=PROF>    ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS OFF.............
=PROF>    ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON................
=COLS>    -1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
000001                                                                    07/29/05
000002    IS LINE IS INSERTED TO TEST LEVEL NUMBER                        DIBA0999
000003    IS LINE IS INSERTED TO TEST LEVEL NUMBER AGAIN                  T  LV017
000004    IS LINE IS INSERTED TO TEST LEVEL NUMBER AGAIN AGAIN                   


Initially my program only had the first line.

I added the second line but I got the program name where I was looking for level.

I added the third line with 'NUMBER ON' and I got level number in it.

I added forth line with 'NUMBER OFF' but now the level number column is blank. And the level number on the previous line increased automatically.

Quote:

so he can run a sort to pick all the lines with version number.


But then I will probably loose the modified lines.

Thanks,
Diba
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group