Skip to main content

Add Structured word to Field description in Data View Record


Technote (troubleshooting)


Problem(Abstract)

Trying to add a structured word (sword) to a description field in a Data View Record (DVR) then generating the HTML using WAI produces unpredictable results.

Cause

Reason - Labels cannot contain data from a field unless you edit the HTML after the HTML is generated using the generate option on Web Access for Information Management (WAI).

Resolving the problem

It is possible to SEDIT the '$.S0CA9' and change it back to '$.S0C09'

Put the following two lines in a file (call it fixhtml.sh or something similar):

sed -e "s/'$.S0CA9'/'$.S0C09'/g;" /source_path/BLQxxxxx.html
>/source_path/temp.html
cp /source_path/temp.html /source_path/BLQxxxxx.html

Change the source_path to the html directory and the BLQxxxxx.html to the HTML file that needs to be fixed.

Then run that shell script after you generate the html. You do that by using ISHELL.
Use Tools --> Run 2. Run shell command(SH), type /path/fixhtml.sh and press enter.

By copying those two lines and changing the strings or file names you can post fix any of these types of things.


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Web Access for Information Management


Software version:
1.2


Operating system(s):
z/OS


Reference #:
1264651


Modified date:
2013-04-22

Translate my page

Content navigation