Browse Prior Art Database

Maintenance Reduction Through System Generation of Foreign Language Versions of Csects

IP.com Disclosure Number: IPCOM000047988D
Original Publication Date: 1983-Dec-01
Included in the Prior Art Database: 2005-Feb-08
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Nunn, CR: AUTHOR

Abstract

For the Menu Bypass function of the IBM Displaywriter, there are "Keywords" defined that are different for each language that the Displaywriter supports. These "Keywords" are coded in a table at the end of a CSECT (an assembler input file) that is included in the Displaywriter system. Since these "Keywords" are hard coded in the CSECT, normally there would be, for example, ten copies of that CSECT, one for each language. Thus, when a logic change is made to the Menu Bypass function, the same change would have to be made ten times. This would be time consuming and very prone to errors. The foregoing problems are overcome by updating only one copy of the CSECT (for example, the English version) and then using a system procedure to generate the other nine copies. To allow this, the "Keywords" are entered in a SCRIPT file.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 75% of the total text.

Page 1 of 1

Maintenance Reduction Through System Generation of Foreign Language Versions of Csects

For the Menu Bypass function of the IBM Displaywriter, there are "Keywords" defined that are different for each language that the Displaywriter supports. These "Keywords" are coded in a table at the end of a CSECT (an assembler input file) that is included in the Displaywriter system. Since these "Keywords" are hard coded in the CSECT, normally there would be, for example, ten copies of that CSECT, one for each language. Thus, when a logic change is made to the Menu Bypass function, the same change would have to be made ten times. This would be time consuming and very prone to errors. The foregoing problems are overcome by updating only one copy of the CSECT (for example, the English version) and then using a system procedure to generate the other nine copies. To allow this, the "Keywords" are entered in a SCRIPT file. This file has ten columns and as many rows as there are "Keywords". The first column contains the English version of a particular "Keyword", and the subsequent nine columns contain the foreign language versions of the same "Keyword". The system procedure (consisting of a CMS EXEC and a XEDIT macro) takes a copy of the English version of the CSECT, locates the English version of a "Keyword" (using the first column of each row in the SCRIPT file as a search argument) and replaces it with the version of the "Keyword" that is in the language desired. When all "Keywor...