L-VALUE GZIP JAVELIN 4.9.159 and output variable not being used.
search cancel

L-VALUE GZIP JAVELIN 4.9.159 and output variable not being used.

book

Article ID: 220062

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

The tool doesn't like a string directly inserted into the output path of the Gzip Compress and when I use a variable for output it doesn't write the file to that path. Instead it writes it to original location with gz extension.

Environment

Release : 4.9.1 Javelin 4.9.159.0

Component : CA Test Data Manager - Javelin

Cause

Working as designed.

Resolution

The "output" prefix in OutputFilePath property name doesn't mean that it's desirable path to the output file but that this particular property will be set by the activity (or you can say that it'll be output of this activity). So this property indeed expects the variable name (and only variable name, nothing else) which receives the path of the output file. The original value of the variable is irrelevant - it'll be ignored and overwritten with the path to the output. As such it's not possible to control where the output file will be created with this activity - however it's possible to move the file with some other (following) activity.

The "output" prefix really means the output file path but the rest is still valid - it isn't meant to control where the output file WILL BE created but to receive the path where the output WAS created.

It's working by design - this property allows users to specify into which variable the output path will be stored, that's all. It doesn't allow users to specify the path where the output will be created.

The output is created in the same directory as input with .gz extension. Period. No copying, no variables, nothing. After it's created the variable specified in OutputFileName is updated with the path of the output file. THEN it's possible to use that variable (and its value) for another actions - for example for sending that file somewhere or copying it somewhere else.

Additional Information

GZip Compress File
Compresses the specified file using GZip compression.
Example: rrtosv.vwf