Skip to main content

Problem:

Need to send in sample, but the whole of the source is too much, how can it be cut down in size and ensure that the problem is best represented?

Resolution:

For Revolve, there is a function (attached to this KB) called Zipit.  This function enables the user to zip up a small project or particular component and it's imports of a project without having to hunt and find the import files that need to be added to a zip file to show the problem to others.

First step -

  copy and paste the zipit.rqc into %driveletter%:\\Revolve 7.0\\CONFIG\\REQL

Second step -

  Verify that Winzip 8.0 is installed and on the path.  If not, upgrade the product

   Run the wzcline.exe (enclosed in the zip file) to enable using command line functionality of Winzip.

   Verify that the path is set correctly on the machine:

Path should have %driveletter%\\program files\\winzip in the beginning of the path

Third step -

Go to Revolve -

Open the project to zip up the source.

If only 1 program or jcl is needed to replicate the problem, all imports will be added automatically with the function -

Right mouse on the component/select

Tools/Shell (if Shell isn't there, go to Utilities/Options/User  and check REQL shell ON)

Type the following command:

zipit(selected,"c:\\testzip.zip")

If the entire project is needed then set scope to all:

Tools/Shell (if Shell isn't there, go to Utilities/Options/User and check REQL shell ON)

                    Type the following command:

                     

scope:=all;

zipit(scope,"c:\\testzip.zip")

                  

Attachments:

zipit.zip

Old KB# 1086

#EnterpriseAnalyzer
#SupportTip