View previous topic :: View next topic |
Author |
Message |
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Wed Jul 27, 2005 2:51 am Post subject: Retreive older version from Panvalet |
|
|
Is it possible to retreive older version from Panvalet.
Regards,
Diba. |
|
Back to top |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Wed Jul 27, 2005 7:53 am Post subject: |
|
|
If the previous version was archived to the protection file, it can be restored using the ++RESTORE parameter of PAN#2 |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Thu Jul 28, 2005 4:09 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Jul 28, 2005 8:28 am Post subject: |
|
|
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 |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu Jul 28, 2005 8:53 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Jul 28, 2005 9:06 am Post subject: |
|
|
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 |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Fri Jul 29, 2005 2:07 am Post subject: |
|
|
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 |
|
|
|
|