Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Returning constants chopping off zeroes and not returning results expected

Returning constants chopping off zeroes and not returning results expected

Problem:

When entering 001 as a literal, the tool is returning 1, 01, and 001 that aren't in " " - want results to be for "001" not 1, 01, and 001.

Resolution:

By using the attached scripts and then entering the proper literal pattern ONLY that pattern will be returned, it will not be truncated by chopping off the leading zeroes.

Put the tool in TPS\CONFIG\ENTERPRISE\SCRIPTS

Shut down REvolve Enterprise Edition if it's running, Restart Revolve Enterprise Edition

Go to Project

Go to Enterprise/Analysis Tools

Go to Options/Tool Palette Editor

highlight tool from LEFT SIDE, press INCLUDE, and it should now be in RIGHT SIDE

New tool should show up as "New Literal Tool"

If option "Display prompt before changing set contents" is set, then double click on tool - enter properties; if that option is not set, then right click on tool, properties.  then double click it to run.

Attachments:

literaltool.rqc

Old KB# 4584

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 17:20
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.